Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #1228741

    Hello,

    I recently started getting regular 503 errors on 3 different websites where I am using the Enfold theme. I discussed this with my host and each time the error occurs, the theme is generating 100+ requests. Can you provide any insights to why the theme would be creating so many requests? Since this is happening on 3 separate websites I’m concerned about a recent them update contributing to the issue.

    Thank you!

    #1229033

    Hi cbradley,

    Can you try to Enable both CSS file merging and compression and Javascript file merging and compression in Enfold > Performance? then check if it reduces the number of requests.

    Best regards,
    Nikko

    #1229153

    Hi Nikko,
    Both options are already enabled on the websites where I am seeing this issue.
    Are there any other recommendations?
    Thank you,
    Chris

    #1229519

    Hi Chris,

    Can you give us a link to your site? so we can try to inspect it.
    You can post it in Private Content.

    Best regards,
    Nikko

    #1229782

    Posted 3 links all of which are experiencing the same issue.

    #1229848

    Hi cbradley,

    Can you try adding this code at the bottom of your child theme’s functions.php:

    function my_custom_merged_files_unique_id( $uniqid, $file_type, $data, $enqueued, $file_group_name, $conditions ) {
      return '';
    }
    
    add_filter( 'avf_merged_files_unique_id', 'my_custom_merged_files_unique_id', 10, 6 );

    Best regards,
    Nikko

    #1230015

    I have added the provided code to my child theme’s file. I will let you know if I continue to see this issue.
    Thank you,
    Chris

    #1230137

    Hi Chris,

    You’re welcome. :)
    We’ll wait for your feedback.

    Best regards,
    Nikko

    #1230311

    Hello,
    The website experienced another incident of the 503 error yesterday afternoon. While the frequency has decreased it’s still occurring.

    Thank you,
    Chris

    #1230488

    Hi Chris,

    Can you try to check the dynamic_avia folder located in wp-content > uploads folder? and check its size, if there are multiple files of the same names, just remove the old ones.

    Best regards,
    Nikko

    #1232921

    We have also been experiencing this issue on one of our websites. Even after following the above suggestions, we are getting 503 errors once or twice a day that last anywhere from 1-5 minutes at a time.

    #1232940

    Hi sfoster123,

    Can you try to update to the latest version (4.6.1)? it includes fix on this issue.
    You can see it at the bottom of the changelog: https://kriesi.at/documentation/enfold/changelog/

    Best regards,
    Nikko

    #1233514

    Thank you for the reply,

    However, after updating and following the mentioned steps, the 503 errors are still occurring although they are less frequent

    #1233720

    Hi sfoster123,

    Can you try to limit WordPress heartbeat by adding this code in functions.php:

    add_action('init', 'stop_heartbeat', 1);
    function stop_heartbeat(){
      wp_deregister_script('heartbeat');
    }

    If that doesn’t work, can you try increase your memory limit? https://docs.woocommerce.com/document/increasing-the-wordpress-memory-limit/
    To know your current memory limit go to Tools > Site Health > Info > Server > PHP memory limit.

    Best regards,
    Nikko

Viewing 14 posts - 1 through 14 (of 14 total)
  • You must be logged in to reply to this topic.