• Resolved BusyBee65

    (@busybee65)


    I have upgraded (via dashboard) to 4.4.1 and now have no access to site or dashboard. I have the following message coming up. Can anyone please assist.

    “Fatal error: Class ‘WP_Widget’ not found in /websites/123reg/LinuxPackage21/be/au/ty/beautyandmassagewithameelie.co.uk/public_html/wp-includes/widgets/class-wp-widget-pages.php on line 17”

    Thank you

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

    (@t-p)

    – 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.
    Backup: If you haven’t already done, always backup everything (including your database) before doing any actions, just in case something really goes wrong.

    Thread Starter BusyBee65

    (@busybee65)

    Thanks Tara, I have already tried that also. Any other ideas?

    Moderator t-p

    (@t-p)

    Have you also 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 (no Dashboard access required). 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.

    Thread Starter BusyBee65

    (@busybee65)

    Nope none of the above worked either ??

    Moderator t-p

    (@t-p)

    – Please check the error logs on your server for a more specific error message and see why it’s failing. If you need help locating them, ask your hosting provider to help you with that
    – If you cannot find error logs or if you don’t find any helpful info in the error logs, try Enabling debugging and post the results.

    “Fatal error: Class ‘WP_Widget’ not found in /websites/123reg/LinuxPackage21/be/au/ty/beautyandmassagewithameelie.co.uk/public_html/wp-includes/widgets/class-wp-widget-pages.php on line 17”

    This error means that at least one of the core WordPress files (specifically, /wp-includes/class-wp-widget.php) is still missing from your server, so you need to upload the /wp-includes folder again.

    Thread Starter BusyBee65

    (@busybee65)

    Have re-uploaded wp-includes again and still no luck ??

    Moderator t-p

    (@t-p)

    Like I said in my very first reply above, download a fresh copy of the WordPress ZIP file and do a manual update. You’re missing the files that have the WP_Widget class. Updating to have all the correct WordPress files will put that class back for you.

    Some uploaders tend to be unreliable when overwriting files, so don’t forget to delete the original files before replacing them.

    Thread Starter BusyBee65

    (@busybee65)

    Tara I have done a manual update from a a fresh copy of the wordpress zip file and deleted the wp-admin and wp-includes before uploading them via FTP!!! I have done this now more than once!!! IT DOES NOT WORK!!!

    Moderator t-p

    (@t-p)

    – Have you had chance to discuss this issue with your hosting provider?

    Also:
    – Please check the error logs on your server for a more specific error message and see why it’s failing. If you need help locating them, ask your hosting provider to help you with that.
    – If you cannot find error logs or if you don’t find any helpful info in the error logs, try Enabling debugging and post the results.

    Thread Starter BusyBee65

    (@busybee65)

    Hosting provider are being completely unhelpful TBH and I am extremely frustrated ??

    Moderator t-p

    (@t-p)

    Then try Enabling debugging and post the results.

    Thread Starter BusyBee65

    (@busybee65)

    I have no idea how to do this. I am not a developer. I have no access to the dashboard. Can this be done via Filezilla?

    Moderator t-p

    (@t-p)

    Please review the link I provided above.

    If you can’t do the work yourself, you have the option of engaging a professional to assist you. If you want to follow that option and hire someone for this, then please try one of these sites:
    https://jobs.wordpress.net/
    or
    https://directory.codepoet.com/

    Thread Starter BusyBee65

    (@busybee65)

    I have found this support thread which seems to correspond to my issue. I have raised a query there to see if anyone there has any ideas.

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