Title: Support for PHP 7.2
Last modified: March 25, 2018

---

# Support for PHP 7.2

 *  Resolved [GermanKiwi](https://wordpress.org/support/users/germankiwi/)
 * (@germankiwi)
 * [8 years ago](https://wordpress.org/support/topic/support-for-php-7-2-3/)
 * 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. 🙂

Viewing 4 replies - 1 through 4 (of 4 total)

 *  [Nikola](https://wordpress.org/support/users/nikolam/)
 * (@nikolam)
 * [8 years ago](https://wordpress.org/support/topic/support-for-php-7-2-3/#post-10113597)
 * Hi,
 * Thanks for the report!
 * Can you please tell us what version of Sermon Manager are you using?
 *  Thread Starter [GermanKiwi](https://wordpress.org/support/users/germankiwi/)
 * (@germankiwi)
 * [8 years ago](https://wordpress.org/support/topic/support-for-php-7-2-3/#post-10113664)
 * Ah, sorry, I forgot to mention that! 🙂
 * I’m still using SM 2.8.6. Maybe that’s the reason! I did upgrade to SM 2.12.3
   a couple of weeks ago, but it broke the layout of my Sermons archive and singles
   pages, so I reverted back to 2.8.6 until I could find some time to troubleshoot
   it. (Not sure if it was caused by my theme or something else).
 *  [Nikola](https://wordpress.org/support/users/nikolam/)
 * (@nikolam)
 * [8 years ago](https://wordpress.org/support/topic/support-for-php-7-2-3/#post-10113699)
 * Hi!
 * Yup, that’s where the issue is.
 * You can safely update to SM 2.11.3, since new layouts were introduced in 2.12.
   x
 * Regarding layouts, you can try this quick fix:
    1. Open Sermon Manager Settings
   2. Tick “Theme Compatibility” checkbox and save settings
 * Otherwise, you’ll need to create a theme override.
 *  Thread Starter [GermanKiwi](https://wordpress.org/support/users/germankiwi/)
 * (@germankiwi)
 * [8 years ago](https://wordpress.org/support/topic/support-for-php-7-2-3/#post-10113707)
 * Ok thanks for the tip!
 * Yes, I think a theme override will be best – something I’ve been wanting to do
   for a while anyway, just to customise the layout of the sermon excerpts. In fact
   I just wrote a separate post here on that very topic! 😉

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Support for PHP 7.2’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/sermon-manager-for-wordpress_688896.
   svg)
 * [Sermon Manager](https://wordpress.org/plugins/sermon-manager-for-wordpress/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/sermon-manager-for-wordpress/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/sermon-manager-for-wordpress/)
 * [Active Topics](https://wordpress.org/support/plugin/sermon-manager-for-wordpress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/sermon-manager-for-wordpress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/sermon-manager-for-wordpress/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [GermanKiwi](https://wordpress.org/support/users/germankiwi/)
 * Last activity: [8 years ago](https://wordpress.org/support/topic/support-for-php-7-2-3/#post-10113707)
 * Status: resolved