PHP Fatal Error mystery
-
On a website that I run for a local youth volunteer organization, I’ve been experiencing PHP Fatal Errors that shut down the site—not all the time, but once a week or so. My internet host, HostMonster, points to the error log, where Custom Content Shortcode is identified as the culprit. Here’s a typical entry,
[19-May-2015 12:17:19 UTC] PHP Warning: require_once(/home5/troopcre/public_html/wp-content/plugins/custom-content-shortcode/includes/modules/paged.php): failed to open stream: No such file or directory in /home5/troopcre/public_html/wp-content/plugins/custom-content-shortcode/custom-content-shortcode.php on line 118 [19-May-2015 12:17:19 UTC] PHP Fatal error: require_once(): Failed opening required '/home5/troopcre/public_html/wp-content/plugins/custom-content-shortcode/includes/modules/paged.php' (include_path='.:/usr/php/54/usr/lib64:/usr/php/54/usr/share/pear') in /home5/troopcre/public_html/wp-content/plugins/custom-content-shortcode/custom-content-shortcode.php on line 118
The actual log following a crash will typically contain 30 lines identical to the two shown above, with timestamps stretching back 2 hours or so.
The Tech Support guy will remotely turn off all my plugins, restoring admin access to the site, and advise me to update the Custom Content plugin. So I do, and then I’ll turn everything back on, and all is well—until the site crashes again a few weeks later. Note that while the site is up and running, I don’t see any new entries in the error log, even just after visiting pages that call the Custom Content plugin.
What’s peculiar is that I’m not having this problem on other websites I run for classes I teach, websites hosted on InMotionHosting. Those sites make very extensive use of Custom Content Shortcode, and they see a LOT of activity during the school year, yet nary a peep or problem.
Of course, I do run a different set of plugins on this HostMonster site, due in part to the volume of spam comments and registrations. If you’d like me to post the list of the other active plugins, let me know.
- The topic ‘PHP Fatal Error mystery’ is closed to new replies.