Support for PHP 7.2
-
Hi there, I just updated the version of PHP used by my web host, from PHP 7.1.15 to 7.2.3.
Afterwards, I noticed that I was getting the following error message when going to the Add New Sermon or Edit Sermon page:
Fatal error: Declaration of CMB2_Type_Text_Date::render() must be compatible with CMB2_Type_Text::render($args = Array) in /wp-content/plugins/sermon-manager-for-wordpress/includes/CMB2/includes/types/CMB2_Type_Text_Date.php on line 15
This error appeared inside the “Sermon Details” panel of the page, and all the other fields which ought to appear inside that panel (Eg. Date Preached, Service Type, Main Bible Passage, etc) were missing.
Reverting PHP back to version 7.1.15 resolved the issue.
I’m happy to keep PHP on 7.1 in the meantime, as I don’t have any specific need to be using PHP 7.2.3 other than keeping it current, but I wanted to let you know so that you could fix whatever might be causing this. 🙂
The topic ‘Support for PHP 7.2’ is closed to new replies.