Viewing 30 posts - 1 through 30 (of 32 total)
  • Author
    Posts
  • #733676

    Help! It seems like Enfold is causing issues on my site and that it’s saturating the database connections. I keep getting 502 and 503 errors when navigating my WP dashboard. Possible incompatible layer going on? When GoDaddy swapped the theme to a default theme, the site was no longer triggering 503 and the database usage went way down. We tried disabling all plugins, no change. Enfold is up to date, WP is up to date. Can you take a look and is there a hot fix available? Thank you!

    #733732

    Hi camtay!

    That is something we hear for first time.
    Can you ask godaddy to monitor which resources are running and they return that errors?
    It would be helpfull, so we can direct our support.

    Thank u

    Cheers!
    Basilis

    #733863

    Hi Basilis. They didn’t say which resources. Do you mean what I’m trying to do when those errors happen? Anything from uploading an image, updating a plugin, flushing the cache, sometimes just trying to load a post, etc.
    Also, my Avia layout builder is not working, just spinning wheel the entire time. Not sure if that’s related. Thank you!
    Cheers,
    Camille

    #733946

    Hey!

    From what I can say, it seems to be a mod_security issue that is blocking a script.
    Can you please ask them to let you know exactly what are the errors, so we can be able to locate them?

    Thank you

    Cheers!
    Basilis

    #735092

    Hi Basilis. Okay I’ll call them back today. In the meantime, I think I’ve pinpointed my other issue with the Avia builder not loading to a single page. It loads fine elsewhere it seems, but not here. It’s a heavy page with lots of media, but it used to work fine. Could you take a look while I reach out to GoDaddy to get more info?
    Thank you!!!

    #735190

    Hi Camille,

    You are getting a 502 error on a WordPress file on that page, could you bring that up with your host as well maybe? Please see private for more info.

    Best regards,
    Rikard

    #736688

    Yes, I spoke to GoDaddy just now and they said that the admin-ajax.php file is what’s causing the 502/503 errors. It’s the file that handles the comments functionality of the theme. The problem is that it’s being blacklisted by mod_sec for not having captchas… We need to either add a captcha or disable the comments functionality.

    I’ve tried disabling comments for that post specifically, but every time I update the page I get…a 502 error.

    Does this help you pinpoint the issue?

    Thanks!
    Camille

    #738735

    Hi,

    The admin-ajax.php file is utilize by many functions in a WordPress environment and I’m not sure how you can run a WordPress installation without it. Have you tried increasing the PHP and WP MEMORY LIMIT to at least 128M?

    // http://www.wpbeginner.com/wp-tutorials/fix-wordpress-memory-exhausted-error-increase-php-memory/

    Best regards,
    Ismael

    #739700

    Well the user.ini file said from the beginning:
    ; Wordfence WAF
    auto_prepend_file = ‘/home/content/p3pnexwpnas10_data01/59/2497059/html/wordfence-waf.php’
    ; END Wordfence WAF
    file_uploads = On
    post_max_size = 1024M
    upload_max_filesize = 128M
    memory_limit = 256M
    max_execution_time = 300
    max_input_vars = 5000

    But I added the memory code to the wp config file anyway, just in case. Things seems to be loading faster in general, but I still can’t load the Avia builder on that page… Haven’t had any 502s yet, will keep testing.

    #740093

    I’m no longer encountering the 503 and 502 errors…perhaps a bit early to say but I think the memory thing fixed it…?

    However, I’m still not able to load the Avia builder on this page: https://nutsandboltsspeedtraining.com/powerpoint-shortcuts/ (post #6628).

    Help :)

    Thanks,
    Camille

    #740504

    Hi!

    The file is still causing 502 (Bad Gateway) error in the page. Please install the following plugin.

    // https://wordpress.org/plugins/heartbeat-control/

    Set the Control heartbeat locations to “Disable Everywhere” or set the frequency to 50 seconds. Or add this code in the functions.php file:

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

    Regards,
    Ismael

    #740529

    Okay, I just installled and activated it, and set it to ‘Disable everywhere’. Now what should I do?

    #742724

    Hi!

    The admin-ajax.php file should have lesser request because the heartbeat-api is disabled. Please remove browser cache before testing the page where the advance layout builder is not working.

    Cheers!
    Ismael

    #742916

    It worked once. So I started making changes to the page. No problem. Then when I hit ‘Update’, I got a 502 Bad Gateway error. Now the Avia builder doesn’t load anymore on that page.

    #743104

    Hey!

    I’m not really sure what’s going on in your installation. Could you please ask your hosting provider if they blocked the admin-ajax.php file? What is the current PHP version? I can’t install a plugin because of the admin-ajax.php error. If possible, please install this extension manually.

    // https://wordpress.org/plugins/debug-this/

    Cheers!
    Ismael

    #743237

    Hey Ismael, Okay, I’ll try and contact GoDaddy again. But in the meantime, I just installed Debug This. Now what? And should I keep the Hearbeat plugin running? Thanks.

    #743758

    Hi!666

    But in the meantime, I just installed Debug This. Now what?

    We suggested that plugin so that we can inspect the server and php info. Unfortunately, we can’t find anything unusual on it Are you on a shared hosting? And yes, you should keep the heartbeat plugin running.

    As of this moment, we are not sure why this is happening in your installation. Most likely, the admin-ajax.php file is being blocked by your hosting provider. Do you have other sites from a different host?

    Cheers!
    Ismael

    #745173

    Have you checked what they said before about how the admin-ajax.php file is being blacklisted by mod_sec for not having captchas…?

    #745370

    Hey!

    The file is not just responsible for the comments section, it is widely use in the administration side of a WordPress environment. And regarding the captcha, did they provide any reference for that? They should not block the file and if I am not mistaken, they can manually disable whatever rule that is blocking the file.

    // https://www.binarymoon.co.uk/2011/05/wordpress-mod-security-2/

    Best regards,
    Ismael

    #747764

    Okay, so GoDaddy thinks that page has too much content on it and that my internet is struggling to load the page’s editor because of that. They suggested I try removing some of the content (like first, the videos) and then seeing if it loads better. Is there a way to edit the page without the Avia builder?

    #747813

    I switched from Go Daddy due to the nonstop 502 and 503 errors… they started last November and if you read their support forums for Managed WordPress, they have continued since then. I was pulling my hair out. This is not a theme issue. I switched to WP Engine and am happy with them but there are many hosting providers that are much better than Go Daddy. Make the switch away from GD, you won’t regret it. I wish someone had given me this advice 2 years ago! Good luck.

    #747853

    Hey!


    @goldengate415
    : Thank you for the confirmation. The said hosting provider does cause a lot of issues in a lot of installations recently. Unfortunately, I can’t say anything about that because I’m not expert in server configurations.

    Okay, so GoDaddy thinks that page has too much content on it and that my internet is struggling to load the page’s editor because of that.


    @camtay
    : The content is not the cause of the problem. The issue is that they’re blocking the admin-ajax.php file. You can use the default editor but the page will look a bit more different. Please ask your hosting provider not to block that particular file. Or move to another host.

    Best regards,
    Ismael

    #748186

    Thanks for the feedback. I’m definitely planning to switch soon, but for now I need this page to work! :)

    #748262

    Hi!

    I’m sorry but we can’t fix it on our end. As long as the admin-ajax.php file is blocked, a lot of WordPress and theme features, including the advance layout builder, are not going to work properly.

    Best regards,
    Ismael

    #1209004

    Hello @camtay
    i know this is an old post but i am facing a similar issue with my site going 502 only when i try to edit anything or when i am in admin area trying to manage the site backend (plugins etc..)

    my host is saying that it is an issue with my theme and there is a vast amount of resources that is being used which results in spikes and site crash !
    i have been struggling with this .. did you find out what causes the problem and fix it maybe ?
    thanks

    #1209375

    I’m sorry – I stopped using Enfold years ago and have no recollection of how I solved this in the end. Good luck!

    #1209653

    Hi Cloudypro,

    Have you seen this reply here?
    Image 2020-05-04 at 19.54.19.png

    Which hosting provider are you using?

    Best regards,
    Victoria

    #1209655

    Hi Cloudypro,

    Have you seen this reply here?
    Image 2020-05-04 at 19.54.19.png

    Which hosting provider are you using?

    Best regards,
    Victoria

    #1209659

    @victoria

    Ive seen it yes .. i am hosted on Dreamhost with managed wordpress
    my subscription is 1.5gb ram

    ive noticed that the website consumes around 1 to 1.3gb when no visitors are online and when i am not editing any post or pages
    only when i start editing a page, the avia builder (ALB) consumes around 200 to 250MB then about 10 minutes later after i update a page, it goes down to the normal ..but sometimes, it spikes and the site crashes

    i have noticed that sometimes the memory usage under same conditions (no visitors and no edits being made) is very high around 1.4gb

    this is weird and confusing .. why would it be 1gb and sometimes 1.4gb under SAME conditions !!!!

    #1209768
    This reply has been marked as private.
Viewing 30 posts - 1 through 30 (of 32 total)
  • You must be logged in to reply to this topic.