• Resolved kwdavids


    This is from my error-log (with the real directories replaced with “mumble”):

    [01-Nov-2016 23:46:05 UTC] PHP Warning: require_once(/home/mumble/mumble/wp-includes/class-phpmailer.php): failed to open stream: No such file or directory in /home/mumble/mumble/wp-includes/pluggable.php on line 213
    [01-Nov-2016 23:46:05 UTC] PHP Fatal error: require_once(): Failed opening required ‘/home/mumble/mumble/wp-includes/class-phpmailer.php’ (include_path=’.:/opt/cpanel/ea-php56/root/usr/share/pear’) in /home/mumble/mumble/wp-includes/pluggable.php on line 213

    The get a HTTP 500 error entering a comment. The comment gets stored, and then the error. I don’t know any reason that an email would be sent as a result of the comment being entered.

    It’s been happening about 3 days and I haven’t made any change. I don’t know exactly when, but sometime recently my host updated their PHP installation from 5.4.30 to 5.6.27. I ran the PHP compatibility checker and it told me that three plug-ins had warnings for PHP 5.6: Broken Link Checker, SABRE and WooCommerce Helper. None of those seems to be related to entering comments.

    Plug-ins I have:

    Ajax Edit Comments
    Broken Link Checker
    Get Recent Comments
    jQuery Updater
    Limit Comments
    Limit Login Attempts
    PHP Compatibility Checker
    Quote Comments
    Revision Control
    Subscribe to “Double-Opt-In” Comments (not subscribed to any)
    Ultimate Category Excluder
    Use Google Libraries
    Widgets on Pages
    WooCommerce Helper
    Wordfence Security
    WP to Twitter
    Yoast SEO

    Theme is Woo Canvas.

    Everything I have is updated to the latest version.

Viewing 2 replies - 1 through 2 (of 2 total)
  • From the above errors, it looks like you’re missing a core WP file. Try re-uploading all files & folders – except the root wp-config.php & .htaccess files and the wp-content folder – from a fresh download of WordPress. Make sure that you delete the old copies of files & folders before uploading the new ones. Your site’s content is all stored in your database – with the exception of uploaded media files stored in the wp-content folder. So as long as you avoid that folder, you will be fine. All you are doing is uploading a fresh set of WordPress core files.

    Thread Starter kwdavids


    You’re correct that a file file was missing (actually there were at least 2 both related to sending mail). I haven’t done any recent site maintenance and I am concerned that the files went missing.

    What I did, before I saw your response, was to run the WordPress re-install. That seems to have cleared the problem.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Errors involving class-phpmailer.php and pluggable.php’ is closed to new replies.