PHP 7.0 Error Message

Support Area Forums Kerygma PHP 7.0 Error Message

Tagged: 

This topic contains 1 reply, has 2 voices, and was last updated by  Bill Robbins 1 year ago.

Viewing 2 posts - 1 through 2 (of 2 total)
URL to the page in question: http://
  • Author
    Posts
  • #38123

    Britton Johnson
    Participant

    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.

    #38127

    Bill Robbins
    Moderator

    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

Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘PHP 7.0 Error Message’ is closed to new replies.