Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1290137

    Hello,

    I’ve received confirmation from our hosting support that Enfold Avia is the culprit for our incredibly slow site loading times and I have no idea what I can do to further resolve it. I’ve optimized the site as much as I can, i’ve done all the steps concerning updating everything, deactivating plug-ins, wordpress memory expansion, etc. Visitors have to wait upwards to a minute for a single page to load and it’s been the same on the backend making site changes.

    Please help.

    Here’s the stack trace support copied showing the theme being the loading issue…

    Hi D******,
    >
    > Thanks for your patience. The brute force log ended up being a red
    > herring. I was, however, able to grab a direct stack trace of one of the
    > delayed requests, and was able to identify the theme as the source. The
    > theme generated over 4500 SQL queries during the request, most of them
    > duplicates. These are the top queries with hit counts:
    >
    > 4504 SELECT option_name, option_value FROM wp_options WHERE autoload =
    > ‘yes’ /* From [
    > purleveconnectedsolutions.com/puraccess-sensor-control-center-home-page/]
    > in [/chroot/home/purleveh/
    > purleveconnectedsolutions.com/html/wp-content/themes/enfold/framework/php/function-set-avia-backend.php:841]
    > */;
    > 102 SELECT option_name, option_value FROM wp_options WHERE autoload =
    > ‘yes’ /* From [
    > purleveconnectedsolutions.com/puraccess-sensor-control-center-home-page/]
    > in [/chroot/home/purleveh/
    > purleveconnectedsolutions.com/html/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/element-manager.class.php:1057]
    > */;
    > 86 SELECT option_name, option_value FROM wp_options WHERE autoload =
    > ‘yes’ /* From [
    > purleveconnectedsolutions.com/puraccess-sensor-control-center-home-page/]
    > in [/chroot/home/purleveh/
    > purleveconnectedsolutions.com/html/wp-settings.php:525] */;
    > 39 SELECT option_name, option_value FROM wp_options WHERE autoload =
    > ‘yes’ /* From [
    > purleveconnectedsolutions.com/puraccess-sensor-control-center-home-page/]
    > in [/chroot/home/purleveh/
    > purleveconnectedsolutions.com/html/wp-content/themes/enfold/includes/helper-main-menu.php:182]
    > */;
    > 34 SELECT option_name, option_value FROM wp_options WHERE autoload =
    > ‘yes’ /* From [
    > purleveconnectedsolutions.com/puraccess-sensor-control-center-home-page/]
    > in [/chroot/home/purleveh/
    > purleveconnectedsolutions.com/html/wp-content/themes/enfold/framework/php/function-set-avia-frontend.php:1718]
    > */;
    > 28 SELECT option_name, option_value FROM wp_options WHERE autoload =
    > ‘yes’ /* From [
    > purleveconnectedsolutions.com/puraccess-sensor-control-center-home-page/]
    > in [/chroot/home/purleveh/
    > purleveconnectedsolutions.com/html/wp-content/themes/enfold/header.php:77]
    > */;
    > 18 SELECT post_id, meta_key, meta_value FROM wp_postmeta WHERE
    > post_id IN (3118) ORDER BY meta_id ASC /* From [
    > purleveconnectedsolutions.com/puraccess-sensor-control-center-home-page/]
    > in [/chroot/home/purleveh/
    > purleveconnectedsolutions.com/html/wp-content/themes/enfold/includes/helper-main-menu.php:182]
    > */;
    > 18 SELECT post_id, meta_key, meta_value FROM wp_postmeta WHERE
    > post_id IN (3009) ORDER BY meta_id ASC /* From [
    > purleveconnectedsolutions.com/puraccess-sensor-control-center-home-page/]
    > in [/chroot/home/purleveh/
    > purleveconnectedsolutions.com/html/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/widgetarea.php:86]
    > */;
    > 18 SELECT post_id, meta_key, meta_value FROM wp_postmeta WHERE
    > post_id IN (2929) ORDER BY meta_id ASC /* From [
    > purleveconnectedsolutions.com/puraccess-sensor-control-center-home-page/]
    > in [/chroot/home/purleveh/
    > purleveconnectedsolutions.com/html/wp-content/themes/enfold/includes/helper-main-menu.php:182]
    > */;
    > 18 SELECT post_id, meta_key, meta_value FROM wp_postmeta WHERE
    > post_id IN (2928) ORDER BY meta_id ASC /* From [
    > purleveconnectedsolutions.com/puraccess-sensor-control-center-home-page/]
    > in [/chroot/home/purleveh/
    > purleveconnectedsolutions.com/html/wp-content/themes/enfold/includes/helper-main-menu.php:182]
    > */;
    >
    > This was by far the most frequent, and thankfully it references the
    > specific file that called it:
    >
    > SELECT option_name, option_value FROM wp_options WHERE autoload = ‘yes’ /*
    > From [
    > purleveconnectedsolutions.com/puraccess-sensor-control-center-home-page/]
    > in [/chroot/home/purleveh/
    > purleveconnectedsolutions.com/html/wp-content/themes/enfold/framework/php/function-set-avia-backend.php:841]
    > */;
    >
    > This is the function in the theme causing the issue:
    >
    > /chroot/home/purleveh/
    > purleveconnectedsolutions.com/html/wp-content/themes/enfold/framework/php/function-set-avia-backend.php:841
    >
    > 825 if(!function_exists(‘avia_deep_decode’))
    > 826 {
    > 827 /**
    > 828 * This function performs deep decoding on an array of
    > elements
    > 829 */
    > 830 function avia_deep_decode($elements)
    > 831 {
    > 832 if(is_array($elements) || is_object($elements))
    > 833 {
    > 834 foreach($elements as $key=>$element)
    > 835 {
    > 836 $elements[$key] =
    > avia_deep_decode($element);
    > 837 }
    > 838 }
    > 839 else
    > 840 {
    > 841 $elements = html_entity_decode($elements,
    > ENT_QUOTES, get_bloginfo(‘charset’));
    > 842 }
    > 843
    > 844 return $elements;
    > 845 }
    > 846 }
    >
    > I don’t know what is causing this to only happen intermittently, but at
    > least we have a definitive cause. Please refer this to the theme’s
    > developer, or your own. If possible, disabling the “avia” functionality of
    > the theme (whatever this is) may resolve the issue.
    >
    > Please let us know if we can be of further assistance.
    >
    > Thanks,

    #1290354

    Please help, our site is at a standstill because of this.

    #1290524

    BUMP^^

    #1290973

    Hi,
    Sorry for the very late reply and thanks for your patience. What webhost are you using?
    Your First Byte Time is 27 seconds, that is how long your webhost is taking to respond.
    2021-03-28_145827.jpg
    On my webhost my First Byte Time is 0.731 seconds with zero optimization, it is one of our demos Out-of-the-Box with a lot more images and files loaded.
    2021-03-28_150153.jpg
    Unfortunately, there is nothing that can fix a server that waits 27 seconds for FBT, this is a sign that the server is over-packed with thousands of users that all believe they have unlimited resources
    Best regards,
    Mike

    #1291090

    Hi Mike,

    Thank you so much for looking into this!

    We use Nexcess.net as our host and I have pasted your response to the ticket I have open with them. Waiting for their reply and I’ll get back to you.

    Thanks.

    #1291330

    Hi,
    Very good, I have given you my recommendation and proven that Enfold doesn’t cause this issue on a live server. Respectfully, I am not going to argue with them for you, so there is no need to post their reply here. I’m not going to play that game.

    Best regards,
    Mike

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