PHP 7.0 Error Message
URL to the page in question:
http://
-
When I upgraded to PHP 7.0 I got the error message:
Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; OptionsFramework_Backup has a deprecated constructor in /home/grovechurch/grovechurch.com/wp-content/themes/kerygma/inc/options-backup.php on line 34
Fortunately I was able to go back to a previous PHP version.
Good Morning Britton,
PHP 7 does have some exciting features and performance benefits that will help us all out. That particular error looks like a php developer notification. Typically you can disable those by editing the wp-config.php file that’s in the root folder of your WordPress directory and setting wp_debug there to false. That keeps notifications like that from printing out to the front end of the site. Generally developer notifications don’t indicate that something won’t function, just that there is something there that you’ll want to change.
That said, our recommended PHP version is 5.6 at this time. As PHP 7 gets into wider use and more plugins support it, I’ll go through the current themes and make changes so that they support it.
If you have any questions, let me know.
Take care,
Bill
- The topic ‘PHP 7.0 Error Message’ is closed to new replies.