PHP Fatal error
-
Greetings,
This is mostly an FYI …
When saving a new sermon post I was receiving this error in the Apache error logs. The browser just reported a 500.
PHP Fatal error: 'break' not in the 'loop' or 'switch' context in /var/www/olneybaptist.org/wp-content/plugins/sermon-manager-for-wordpress/includes/getid3/getid3.lib.php on line 285
This happened when hitting the “Publish” or “Update” button. The post would save, but the sermon file location would not be attached to it completely so the player wouldn’t show on the front end. I commented out the line in the file (which was just a ‘break;’) and it started working again.
Caveats:
- I’m not a PHP developer.`
- I’m using PHP 7, if that matters.
- I’m mostly reporting this so this doesn’t break for me again in the next update ??
Thanks,
Danielhttps://www.ads-software.com/plugins/sermon-manager-for-wordpress/
- The topic ‘PHP Fatal error’ is closed to new replies.