500 internal server error while trying to Update Defender

Defender update causing 500 server error on all 16 sites.

Support access is granted. Same issue happens with all plugins deactivated. The memory set to 256.

Please advice,

  • Adam
    • Support Gorilla

    Hello James,

    I hope you’re well today and thank you for your question!

    I assume Nastia already did let you know that we were recently experiencing some issues on our end. That seem to be related and while most of the services are running fine it seems that some of Members are still suffering from that. In order to make sure though I’d like to check WordPress debugging from one of your sites where this happens.

    Could you please enable WP debugging? To do this, please add following lines to the “wp-content.php” file of your site:

    define('WP_DEBUG', true);
    define('WP_DEBUG_LOG', true);
    define('WP_DEBUG_DISPLAY', false);

    Make sure that these lines are located above the “/* That’s all, stop editing */” line and then:

    – try updating Defender again

    – access the site using FTP or cPanel’s “File Manager” tool

    – download the “debug.log” file from the “wp-content” folder

    – rename it to “debug.txt” and attach to your reply here.

    I hope that will tell me more on what is happening.

    Kind regards,

    Adam

  • James
    • Flash Drive

    Hello,

    I included the 3 debug log lines in the wp-config.php file – ran the defender update which completed successfully. Checked the wp-content folder in which no debug.log was created. Before updating, I zeroed out the sites error.log and also checked it which still remained at 0.

    After the update the site showed the Defender as being updated. I refreshed the browser (F5) and it produced the 500 Internal Error.

    I checked the wp-content folder and still no debug.log was created.

    I checked the sites log folder and the error.log contained 3 new lines. I waited 20 minutes and refreshed the browser again and it produced an additional error line. ERRORS BELOW:

    [Sat Apr 22 16:08:01.882042 2017] [:error] [pid 613] [client 12.345.67.89:50152] FastCGI: server “/var/www/clients/client1/web51/cgi-bin/php5-fcgi-*-443-site.us” stderr: PHP message: PHP Fatal error: Class ‘WD_Module_Manager’ not found in /var/www/clients/client1/web51/web/folder/wp-content/plugins/wp-defender/wp-defender.php on line 211, referer: https://site.us/folder/wp-admin/admin.php?page=wpmudev-plugins

    [Sat Apr 22 16:09:01.882786 2017] [:error] [pid 12789] [client 12.345.67.89:50156] FastCGI: server “/var/www/clients/client1/web51/cgi-bin/php5-fcgi-*-443-site.us” stderr: PHP message: PHP Fatal error: Class ‘WD_Module_Manager’ not found in /var/www/clients/client1/web51/web/folder/wp-content/plugins/wp-defender/wp-defender.php on line 211, referer: https://site.us/folder/wp-admin/admin.php?page=wpmudev-plugins

    [Sat Apr 22 16:09:09.246234 2017] [:error] [pid 611] [client 12.345.67.89:50157] FastCGI: server “/var/www/clients/client1/web51/cgi-bin/php5-fcgi-*-443-site.us” stderr: PHP message: PHP Fatal error: Class ‘WD_Module_Manager’ not found in /var/www/clients/client1/web51/web/folder/wp-content/plugins/wp-defender/wp-defender.php on line 211, referer: https://site.us/folder/wp-admin/

    [Sat Apr 22 16:35:23.880629 2017] [:error] [pid 613] [client 12.345.67.89:50227] FastCGI: server “/var/www/clients/client1/web51/cgi-bin/php5-fcgi-*-443-site.us” stderr: PHP message: PHP Fatal error: Class ‘WD_Module_Manager’ not found in /var/www/clients/client1/web51/web/folder/wp-content/plugins/wp-defender/wp-defender.php on line 211

    Thanks for your help.

  • Predrag Dubajic
    • Support

    Hi James,

    A bit of an update here, our developers are looking to go around this and we’re testing a patch in beta version.

    If you could give that a try and let us know if patch works for you it would be great :slight_smile:

    You can find the beta version attached below.

    Best regards,

    Predrag

  • James
    • Flash Drive

    Hello,

    I deleted defender 1.4.1

    Installed 1.4.2-betta – activated it and got in WordPress:

    Plugin could not be activated because it triggered a fatal error.

    Fatal error: Class ‘WD_Utils’ not found in /var/www/clients/client1/web51/web/folder/wp-content/plugins/wp-defender/wp-defender.php on line 370

    Thanks for your help.