Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #768167

    I’m sometimes getting a 503 error and sometimes a 504 error running version 4.0.3. I reached out to my hosting company thinking the issue was on their end. They got back to me with this:

    In this case, the slow error log for the site (where time out errors are logged,) has hundreds of slow errors timing out on the following line:
    file_get_contents() /www/wp-content/themes/enfold/framework/php/function-set-avia-frontend.php:636

    Full error:

    [0x00007f765b40cdc8] file_get_contents() /www/wp-content/themes/enfold/framework/php/function-set-avia-frontend.php:636
    [0x00007f765b40cb30] avia_is_200() /www/wp-content/themes/enfold/framework/php/function-set-avia-frontend.php:568
    [0x00007f765b40c408] avia_html5_video_embed() /www/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/av-helper-slideshow.php:648
    [0x00007f765b40b5f0] set_video_slide() /www/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/av-helper-slideshow.php:303
    [0x00007f765b408260] advanced_slide() /www/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/av-helper-slideshow.php:149
    [0x00007f765b407400] html() /www/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/section.php:811
    [0x00007f765b4064a8] avia_new_section() /www/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/section.php:653
    [0x00007f765b404598] shortcode_handler() /www/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/shortcode-template.class.php:250
    [0x00007ffecd303c30] shortcode_handler_prepare() unknown:0
    [0x00007f765b403628] call_user_func() /www/wp-includes/shortcodes.php:345
    [0x00007ffecd303fc0] do_shortcode_tag() unknown:0
    [0x00007f765b403090] preg_replace_callback() /www/wp-includes/shortcodes.php:223
    [0x00007ffecd304670] do_shortcode() unknown:0
    [0x00007f765b402cc0] call_user_func_array() /www/wp-includes/class-wp-hook.php:298
    [0x00007f765b4024c0] apply_filters() /www/wp-includes/plugin.php:203
    [0x00007f765b402048] apply_filters() /www/wp-content/themes/enfold/template-builder.php:43
    [0x00007f765b401750] +++ dump failed

    When I switch to a different theme, everything is fine.

    Currently my site is down. I need this fixed ASAP as it is preventing people from registering for a big event that is being held in a few months.

    The site is thesound2017.com

    Thanks!
    Corey

    #769814

    Hey Corey,

    Which version of php are you running?

    Best regards,
    Victoria

    #777019

    Hi Victoria,

    Sorry for the delayed response. I thought the issue was fixed, but it isn’t.

    My php version is: 5.6.30-7+deb.sury.org~precise+1

    Thanks!

    #777613

    Hi,

    There has been additional releases of the theme since 4.0.3, could you try updating to 4.0.5 to see if that helps please? http://kriesi.at/documentation/enfold/updating-your-theme-files/

    If not then please post admin login details in private so that we can have a closer look.

    Best regards,
    Rikard

    #777635

    Hi Rikard,

    I updated to 4.0.5 and I’m still having issues.

    Login details posted.

    Thanks!

    #777650

    Hi,

    Thanks for the feedback, 504 is a server error and it’s likely not caused by the theme, though this might help you out? https://www.lifewire.com/504-gateway-timeout-error-explained-2622941. We are happy to help you out with this but I think your hosting provider would be in a better position to see what is going wrong, are you in contact with them at all? If not then I would recommend that you do so.

    Thanks,
    Rikard

    #777823

    Thanks, Rikard.

    I have been in constant contact with the hosting provider about this. One of there last messages to me was this:

    “In short, it seems that there are a number of slow errors coming from the theme on this site that are taxing the server. We would recommend digging into those to see if anything can be tightened up there. Looks like a number of processes that start there aren’t completing.”

    I have several sites with the same hosting provider, all using the Enfold theme, and they aren’t having any issues.

    Corey

    #778274

    Hi Rikard,

    I ended up removing two video backgrounds I had on the homepage that were hosted on my servers, and that seems to have fixed the issue for now. Could that have been the entire issue? Have you heard of other sites having issues loading when using a video background?

    Thanks!
    Corey

    #778327

    Hi,
    Yes I have had heard of similar issues with background videos, size is a main issue with host throttling right there with it.

    Best regards,
    Mike

    #778336

    Thanks, Mike!

    I’ll look into reducing the size, or hosting them somewhere else, such as YouTube.

    Corey

    #778345

    Hi,
    Glad we were able to help, we will close this now. Thank you for using Enfold.

    Best regards,
    Mike

Viewing 11 posts - 1 through 11 (of 11 total)
  • The topic ‘504 Error with Enfold 4.0.3’ is closed to new replies.