• A fatal error is occurring when saving a sermon.

    Fatal error: ‘break’ not in the ‘loop’ or ‘switch’ context …. /wp-content/plugins/sermon-manager-for-wordpress/includes/getid3/getid3.lib.php on line 285

    This appears to be due to an incompatibility with PHP7. Please update the plugin to fix this issue.

    Thank you.

    • This topic was modified 8 years, 1 month ago by Nicole Arnold. Reason: spelling correction, tag addition
Viewing 5 replies - 1 through 5 (of 5 total)
  • Any update on PHP7 compatibility? This is a great plugin that deserves to continue with the future of WordPress/PHP. Thank you!

    Thread Starter Nicole Arnold

    (@nlarnold1)

    Unfortunately there’s been no response from the plugin author. I’m rather surprised at the lack of testing for the new PHP7, and no concern for an identified fatal error.

    I simply corrected the code myself. Now, if there is an upgrade to the plugin and this issue isn’t addressed, the code will revert back to being broken, so the issue is still important for the author to acknowledge.

    Thanks, Nicole. Can you share your code fix?

    Thread Starter Nicole Arnold

    (@nlarnold1)

    I have to dig it out. I’ll get it for you. ??

    Thread Starter Nicole Arnold

    (@nlarnold1)

    I got it. In /includes/getid3/getid3.lib.php on line 285, change break; to return;. Enjoy!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘PHP7 Fatal Error Saving Sermon’ is closed to new replies.