Errors like this are logged. Check the error log on your server. If you can’t find the log, please contact your host.
Meantime, enable wp_debug and wp_debug_log and after an error, look at wp-content/debug.log to see if anything gets logged there. https://codex.ww.wp.xz.cn/Debugging_in_WordPress
You can also try this: Please attempt to disable all plugins, and use one of the default (Twenty*) themes. If the problem goes away, enable them one by one to identify the source of your troubles.
If you cannot access wp-admin, there are other ways to deactivate plugins.
Hello Gerald55,
Kindly Set WP_DEBUG to true in your wp-config.php file via SFTP or FTP, or a file manager in your hosting account’s control panel to see what type of errors are being outputted on the screen.
define( ‘WP_DEBUG’, true);
Thanks, this is what I get:
Notice: Undefined index: wp_db_temp_dir in /home/pattymaccpan/public_html/wordpress/wp-content/plugins/wp-db-backup/wp-db-backup.php on line 112
Fatal error: Uncaught Error: Call to a member function using_index_permalinks() on null in /home/pattymaccpan/public_html/wordpress/wp-includes/rest-api.php:344 Stack trace: #0 /home/pattymaccpan/public_html/wordpress/wp-includes/rest-api.php(404): get_rest_url(NULL, ‘/embedpress/v1/…’, ‘json’) #1 /home/pattymaccpan/public_html/wordpress/wp-content/plugins/embedpress/EmbedPress/Core.php(329): rest_url(’embedpress/v1/o…’) #2 /home/pattymaccpan/public_html/wordpress/wp-includes/class-wp-hook.php(286): EmbedPress\Core->addOEmbedProviders(Array) #3 /home/pattymaccpan/public_html/wordpress/wp-includes/plugin.php(203): WP_Hook->apply_filters(Array, Array) #4 /home/pattymaccpan/public_html/wordpress/wp-includes/class-oembed.php(221): apply_filters(‘oembed_provider…’, Array) #5 /home/pattymaccpan/public_html/wordpress/wp-includes/embed.php(115): WP_oEmbed->__construct() #6 /home/pattymaccpan/public_html/wordpress/wp-includes/embed.php(134): _wp_oembed_get_object() #7 /home/pattymaccpan/public_html/wordpress/wp-content/plugi in /home/pattymaccpan/public_html/wordpress/wp-includes/rest-api.php on line 344
For now, remove the plugin by deleting its directory wp-content/plugins/wp-db- backup via FTP or your hosting control panel.
You might then try reinstalling the plugin. If that causes the same problem (1) report it at https://ww.wp.xz.cn/support/plugin/wp-db-backup and (2) consider looking for a different backup plugin.
Moving forward… slowly though.
After deleting the wp-db-backup plugin, I have another error:
Fatal error: Uncaught Error: Call to a member function using_index_permalinks() on null in /home/pattymaccpan/public_html/wordpress/wp-includes/rest-api.php:344 Stack trace: #0 /home/pattymaccpan/public_html/wordpress/wp-includes/rest-api.php(404): get_rest_url(NULL, ‘/embedpress/v1/…’, ‘json’) #1 /home/pattymaccpan/public_html/wordpress/wp-content/plugins/embedpress/EmbedPress/Core.php(329): rest_url(’embedpress/v1/o…’) #2 /home/pattymaccpan/public_html/wordpress/wp-includes/class-wp-hook.php(286): EmbedPress\Core->addOEmbedProviders(Array) #3 /home/pattymaccpan/public_html/wordpress/wp-includes/plugin.php(203): WP_Hook->apply_filters(Array, Array) #4 /home/pattymaccpan/public_html/wordpress/wp-includes/class-oembed.php(221): apply_filters(‘oembed_provider…’, Array) #5 /home/pattymaccpan/public_html/wordpress/wp-includes/embed.php(115): WP_oEmbed->__construct() #6 /home/pattymaccpan/public_html/wordpress/wp-includes/embed.php(134): _wp_oembed_get_object() #7 /home/pattymaccpan/public_html/wordpress/wp-content/plugi in /home/pattymaccpan/public_html/wordpress/wp-includes/rest-api.php on line 344
I’m wondering if perhaps you’re missing a WP file. Try a manual reinstall of WP to ensure all files are there.
https://codex.ww.wp.xz.cn/Upgrading_WordPress#Manual_Update
You are making me nervous here…
I would not want to make a big error, so could you clarify the instructions for me (sorry if it seems silly):
The Codex says:
3 Deactivate plugins.
4 Delete the old wp-includes and wp-admin directories on your web host (through your FTP or shell access).
a) How can I deactivate the plugins directly on my host’s server ?
b) does deleting the directories mean eveything inside the two folders ?
Skip the deactivating plugins are it’s not really relevant to this.
Yes, delete the directories (and contained files and subdirs) wp-admin and wp-includes.
So far I am stuck.
The uploader found in my cPanel file manager only allows to upload individual files. Considering how many there is in the two folders, it would take forever (plus a risk of errors).
I thought that I would use another FTP solution and configured Cyberduck following the given instructions but it finds 0 files after a successfull connexion !
Still researching…
Please contact your host for help using FTP.
Hello Gerald55,
You will need to upload a new WordPress file.
Kindly access your server via SFTP or FTP, or a file manager in your hosting account’s control panel delete all the WP files apart from the wp-content folder and wp-config.php file.
Download a new version of WordPress file via ww.wp.xz.cn/download, extract the file, delete wp-content folder and upload the remaining files.
Thank you lumidee007 .
I tried doing that but now I bumped into another issue.
The GoDaddy file manager does not allow uploading several files at once and it is not foreable to upload all those files one by one.
I wanted to use their FTP client (which is Cyberduck) but their configuration tool does not work and they are not really willing to understand why.
I am obliged to rely on them to fix the problem, which will cost me some $, and hopefully it should be solved today.
Once I am up and running again, do you think possible to find out what really happened ? I would not like to have to go through this again during the next update…
Thanks Steven
Unfortunately, GoDaddy does not support Filezilla for Mac OS which I use. They only accept Cyberduck and their configuration tool does not work !
That’s BS. I use FileZilla all the time with GD.