• Resolved doinastanciu

    (@doinastanciu)


    I get this message:
    Fatal error: Cannot redeclare format_to_post() (previously declared in /homepages/6/d212213795/htdocs/wp-includes/formatting.php:1419) in /homepages/6/d212213795/htdocs/wp-includes/deprecated.php on line 3451

    and I don’t have access to my website. I don’t know much about websites so please be as specific as possible if you have a solution. Thank you

    This is my website elements-salonandspa.com and I host through 1 & 1

Viewing 6 replies - 1 through 6 (of 6 total)
  • Moderator t-p

    (@t-p)

    Have you tried:
    – Flushing any caching plugins you might be running, as well as server and/or browser caches. Also, any op cache or content network cache, as well as Cloudflare, clear those caches.
    – deactivating ALL (yes all) plugins temporarily to see if this resolves the problem (plugin functions can interfere). If this works, re-activate them individually (one-by-one) to find the problematic plugin(s).
    – If you can’t get into your admin dashboard, try resetting the plugins folder by FTP. Sometimes, an apparently inactive plugin can still cause problems. Also remember to deactivate any plugins in the mu-plugins folder (if you have created such folder). The easiest way is to rename that folder to mu-plugins-old.
    – switching to the unedited default Theme (Twenty Sixteen, etc.) for a moment using the WP dashboard to rule out any theme-specific issue (theme functions can interfere like plugins). If you don’t have access to your admin area, use FTP , or your web-host’s cPanel or whatever file management application your host provides. Navigate to /wp-content/themes/ and switch to the default theme by renaming your current theme’s folder by adding “-old” to the end of the folder name. Alternately, you can remove other themes except the default theme. That will force your site to use it.
    – If all the above steps do not resolve the issue, then try MANUALLY updating. Download a fresh copy of the WordPress .zip file to your computer, unzip it, and use that to copy up all files and folders EXCEPT the wp-config.php file and the /wp-content/ directory. You may need to delete the old wp-admin and wp-includes folders and files on your server before uploading the new ones. Read the Manual Update directions first.

    Thread Starter doinastanciu

    (@doinastanciu)

    I manually updated the wp-admin and wp-includes files. Then I deleted all the themes except one and renamed my theme to elements-old. I renamed my plugins to plugins-old and uploaded the plugins folder from the wp-content. This is the error I get now

    Fatal error: Class ‘WP_Widget’ not found in /homepages/6/d212213795/htdocs/wp-includes/widgets/class-wp-widget-pages.php on line 17

    and I still don’t have access to my admin page.

    Moderator t-p

    (@t-p)

    not found means that the files didn’t get fully updated.

    try MANUALLY updating/installing again. Download a fresh copy of the WordPress .zip file to your computer, unzip it, and use that to copy up all files and folders EXCEPT the wp-config.php file and the /wp-content/ directory. You may need to delete the old wp-admin and wp-includes folders and files on your server before uploading the new ones. Read the Manual Update directions first.
    – Memory: try increasing memory available for php.

    Thread Starter doinastanciu

    (@doinastanciu)

    Thank you, the manual installing worked. I was real nervous deleting directories, but I went slow and I have my website up and running. The reason I had the second error was because I didn’t overwrite the files in the /wp-content directory.

    Thread Starter doinastanciu

    (@doinastanciu)

    Thanks

    Moderator t-p

    (@t-p)

    you are welcome ??

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Fatal error’ is closed to new replies.