MarkHodgetts
Member
Posted 2 years ago #
I manually upgraded to version 3.1 and now get this message
Warning: require(/home/markhodg/public_html/wp-includes/class-wp.php) [function.require]: failed to open stream: No such file or directory in /home/markhodg/public_html/wp-settings.php on line 68
Fatal error: require() [function.require]: Failed opening required '/home/markhodg/public_html/wp-includes/class-wp.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/markhodg/public_html/wp-settings.php on line 68
I'm lost can anyone help
Try and deactivate plugins and see if that solves your problem
MarkHodgetts
Member
Posted 2 years ago #
How do I deactivate plugins when I can't log in to WordPress?
deactivating all plugins to see if this resolves the problem? If this works, re-activate the plugins one by one until you find the problematic plugin(s). -
Using Ftp rename plugins folder to say plugins-hold and create a blank plugins folder then try logging in
If you can log in you will see all plugins deactivated go back in ftp delete the blank plugins folder and rename plugins-hold back to plugins.
Activate and update one plugin at time to see which one is causing the problem
MarkHodgetts
Member
Posted 2 years ago #
Thanks tried that - still nothing
Are the plugins deactivated
Using ftp try and replace wp-includes folder
MarkHodgetts
Member
Posted 2 years ago #
In your root there is wp-settings.php try replace that file
MarkHodgetts
Member
Posted 2 years ago #
Are you still getting the same errors
MarkHodgetts
Member
Posted 2 years ago #
Its now fixed -replacing the wp-settings.php file seemed to do teh trick - thank you
You are welcome as long as the problem got solved.
MarkHodgetts
Member
Posted 2 years ago #
Actually what I thought was a fix was half a fix - my site is now live but when I log in I get this message
Fatal error: Cannot redeclare iis7_supports_permalinks() (previously declared in /home/markhodg/public_html/wp-includes/functions.php:3476) in /home/markhodg/public_html/wp-admin/includes/misc.php on line 403
So you are using a window server it is known that some window server do give problems using permalinks.
salmoliv
Member
Posted 2 years ago #
I've got the same problem.
Was working fine 2 days ago. I suppose my provider made some changes ...
How to change permalinks settings when we don't have access to the dashboard?
Thanks
ozgression
Member
Posted 2 years ago #
I have this problem too.
I tried renaming plugins folder, replacing wp-settings... didn't work. Any ideas??!!
happyches
Member
Posted 2 years ago #
To fix this error, I had to manually download 3.1 and replace the WP-Admin folder with the 3.1 version. Then I visited my site again and it upgraded my database and everything is working fine now :)