[Hummingbird] 503 and 500 errors constantly

Hi There,

Hummingbird is constantly reporting 500 errors and sometimes 503 errors. I’ve gone through the usual steps and deleted some plugins and re-created the htaccess file but can’t work out why this site is a problem! Any ideas?

I’ve granted support access.

  • Prathamesh Palve
    • Staff

    Hello nifty

    hope you are doing good and thank you for giving us time to check this for you.

    I noticed that the HummingBird plugin has not been updated at present. Please make sure you back up your site and update the plugin as the first step.

    500 Internal Server Error is a very general HTTP status code that means something has gone wrong on the web site’s server but the server could not be more specific on what is the exact problem. The easiest way to figure out where the problem lies is to check your website’s error_log (many shared web hosts often do not enable full error logging, though). To find out more, you can enable WP_DEBUG and check for error logs. Open up your wp-config.php file, and locate the following line of code:

    define('WP_DEBUG', false);

    Replace the above code with the code given below.

    If you do not spot the above line of code, add the code below above the “That’s all, stop editing! Happy blogging. ” comment and then save the changes made.

    // Enable WP_DEBUG mode
    define('WP_DEBUG', true);
    // Enable Debug logging to the /wp-content/debug.log file
    define('WP_DEBUG_LOG', true);
    @ini_set( 'log_errors', 1 );
    // Disable display of errors and warnings
    define('WP_DEBUG_DISPLAY', false);
    @ini_set('display_errors', 0);

    You can now go ahead and try replicating the error. Once you replicate it, you would spot the errors in the debug.log file which can be found in wp-contents folder. Please download the file and rename it to debug.txt and send it to us by attaching it in your next reply.

    If the size of the text file exceeds the 5MB limit of our blog, please use a service like Dropbox and post the shareable link instead.

    Here is a reference on how to use the debugging features in WordPress: https://premium.wpmudev.org/blog/debugging-wordpress-how-to-use-wp_debug/

    503 is the HTTP code for Service Unavailable and means that the server is currently unable to handle the request due to a temporary overloading or maintenance of the server.

    Once the issue is replicated, and we receive the debug log file, it would be more clear on why this issue is being caused and also be able to help you with the further steps to resolve it.

    Looking forward to hearing from you.

    Regards,

    Prathamesh

  • nifty
    • The Incredible Code Injector

    Looks like file didn’t upload – here are the pasted contents

    [04-Dec-2018 20:22:43 UTC] PHP Notice: Undefined index: HTTP_USER_AGENT in /home/stepshea/public_html/wp-content/plugins/wp-defender/app/module/hardener/component/protect-information-service.php on line 24

    [05-Dec-2018 10:48:16 UTC] …/components/init.php:270 et_core_page_resource_get():

    Removing extra page resource file: /home/stepshea/public_html/wp-content/cache/et/global/et-divi-customizer-global-15440063540244.min.css

    [05-Dec-2018 14:34:21 UTC] …/components/init.php:270 et_core_page_resource_get():

    Removing extra page resource file: /home/stepshea/public_html/wp-content/cache/et/global/et-divi-customizer-global-15440174772976.min.css

    [05-Dec-2018 14:34:21 UTC] …/components/init.php:270 et_core_page_resource_get():

    Removing extra page resource file: /home/stepshea/public_html/wp-content/cache/et/global/et-divi-customizer-global-15440174774538.min.css

    [06-Dec-2018 09:01:24 UTC] WordPress database error Lost connection to MySQL server during query for query SELECT option_value FROM wp_options WHERE option_name = ‘can_compress_scripts’ LIMIT 1 made by require(‘wp-blog-header.php’:wink:, require_once(‘wp-includes/template-loader.php’:wink:, include(‘/themes/Divi/404.php’:wink:, get_header, locate_template, load_template, require_once(‘/themes/Divi/header.php’:wink:, wp_head, do_action(‘wp_head’:wink:, WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array, wp_print_head_scripts, print_head_scripts, script_concat_settings, get_site_option, get_network_option, get_option

    [06-Dec-2018 11:10:38 UTC] PHP Warning: An unexpected error occurred. Something may be wrong with WordPress.org or this server’s configuration. If you continue to have problems, please try the support forums. (WordPress could not establish a secure connection to WordPress.org. Please contact your server administrator.) in /home/stepshea/public_html/wp-includes/update.php on line 156

    [07-Dec-2018 16:27:40 UTC] PHP Notice: Undefined property: stdClass::$theme in /home/stepshea/public_html/wp-admin/includes/class-wp-automatic-updater.php on line 269

  • Prathamesh Palve
    • Staff

    Hello nifty

    Thank you for sending us the debug log here and giving us time to look into it.

    The first notice in the log [04-Dec-2018 20:22:43 UTC] PHP Notice: Undefined index: HTTP_USER_AGENT is not an error but notice for the developer to check the existence of that variable. It is not at all harmful for your website, and the plugin would work correctly with the notice.

    After this, I can spot an error which states ” [06-Dec-2018 09:01:24 UTC] WordPress database error Lost connection to MySQL server during query for query”. For this, you would need to contact your host to find out what is wrong with your database server.

    Lastly, I spot some notices and errors which relate to the Divi theme. I want to go forward and look into the system more deeply. Can you grant support access again and get the error_log file that gets generated on the server side? You can upload error_log file on service like Dropbox and paste the link to it here.

    Looking forward to hearing from you.

    Regards,

    Prathamesh

  • nifty
    • The Incredible Code Injector

    Hi Prathamesh

    I’ve granted support access again and have pasted below the only two entries showing in the error log from cpanel.

    Is this the correct log?

    [Sun Dec 16 11:46:40.452298 2018] [:error] [pid 20005] Execute of /home/stepshea/public_html/index.php stopped because of load 60.23

    [Sun Dec 16 11:46:40.450747 2018] [:error] [pid 20005] Execute of /home/stepshea/public_html/wp-admin/admin-ajax.php stopped because of load 60.23

  • Prathamesh Palve
    • Staff

    Hello nifty

    Thank you for granting the support access and getting the server-side error log.

    According to the log, it seems that your site is hitting the maximum CPU memory limit.

    You can try upgrading the PHP version to look if that resolves the issue. I see the current PHP version you are using is 5.3.29 which is supported by WordPress but reached the end of life over four years ago. Updating the PHP version may help as the newer php version can handle double the processes and users on a website. It also increases the security of the site.

    But before taking this step I recommend you make a complete backup of your site and then proceed to upgrade the PHP version.

    You can take a backup of your site using our Snapshot plugin.

    Here are the steps to install the plugin and take a backup of your site.

    https://premium.wpmudev.org/project/snapshot/#wpmud-hg-project-documentation

    Now to update the PHP version of your site, you can refer the steps from the following article:

    https://premium.wpmudev.org/blog/updating-php-version/

    I advise you to contact your hosting provider once to confirm if there are CPU memory limitations on the site which could be causing this issue if changing the PHP version does not work.

    You can also reply in this thread if you have any doubts or need any help further.

    Regards,

    Prathamesh

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.