Possibly, you may have a partial upgrade.
From ww.wp.xz.cn, download a fresh copy of WordPress to your computer. It will be a .zip file.
Unzip it and through ftp or your hosting account File Manager, replace only the wp-includes directory (folder) by first deleting the present one and then uploading the new one.
I know it’s been a while NeoTechnomad. Thank you for your response. My internet was slow for the holidays, so I tried nothing, then I’ve been talking to my host site a lot. When I uploaded the new wp-includes to my folder, I then got another error message.
This one says
Fatal error: Class ‘WP_Widget’ not found in /home/katie50/public_html/truechildsafety.com/wp-includes/widgets/class-wp-widget-pages.php on line 17
My site is still down. I’m hoping my host company will help me out. Any ideas.
Hi,
Which php version on server (phpinfo) and which WordPress version you use please? (4.4?)
(EDIT) Whoops, didn`t see your post, Digico Paris
Answer him first, grandmaintherockies
When I uploaded the new wp-includes to my folder, I then got another error message.
This one says
Fatal error: Class ‘WP_Widget’ not found in /home/katie50/public_html/truechildsafety.com/wp-includes/widgets/class-wp-widget-pages.php on line 17
This error means at least one of the files in the wp-includes folder still didn’t make it onto the server: /wp-includes/widgets/class-wp-widget.php (which is where the WP_Widget class is defined).
No worries Neo,
Still having the issue girlie? Like neo said, was just the next door folder which didn’t make the travel.
It can be retried, nothing will be broken.
Also, if you have same issue as above, just backup, and erase the line in this file (given code is written line by line).
Please keep the discussion alive if issue solved, or not.
Digico, I’m not having this issue, I simply explained the cause for the error that grandmaintherockies last reported here.
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.
This error means at least one of the files in the wp-includes folder still didn’t make it onto the server: /wp-includes/widgets/class-wp-widget.php (which is where the WP_Widget class is defined).
I got Similar Error ,
It was defined already in that directory but stil The Class WP_Widget is recognized
Moderator
t-p
(@t-p)
@kishameta13,
It’s been 7 Months since the OP posted. If you are looking for topics that could benefit from your help, please try looking in https://ww.wp.xz.cn/support/view/no-replies instead of piling in on this one.