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://wordpress.org/support/article/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.
Joy
(@joyously)
Put it back on PHP 5.6 and get the plugin PHP Compatibility Checker. It will scan your theme and plugins for PHP version issues.
You can either change the code in the plugin to solve the issue (report it to the plugin’s support forum) or find a replacement plugin.
Once you have all the issues addressed, you can update your WP version, and then your PHP version.
(You can use a plugin called WP Downgrade if you want to go to a specific WP version.)
thank you for your help.
I will follow your advice and will let you know.
i hope the upgrade from wordpress to 4.2.24 to 5.2.3 is not a problem?
Or is there also a compatability check i can do to upgrade wordpress to the latest version?
Joy
(@joyously)
No, it should not be a problem. Each release has a function in the upgrade.php file, so anything that needs to happen for that release gets handled. The functions run in the order of release, so it’s as if you actually went through each one, but didn’t have to do all the button clicking or downloading each version.
Just in case anybody needs to know in the future (as I needed to know today!), WordPress 4.2.24 will NOT run on PHP 7. You have to use 5.2.3 to get it to run.
It’s not a plugin problem. Version 4.2.24 of the WordPress core itself won’t run on PHP 7.
-
This reply was modified 4 years, 6 months ago by Jon York.
-
This reply was modified 4 years, 6 months ago by Jon York.