• Just in the past day or so we went from zero errors to our WPEngine server being bombarded by requests from the Ajax Load More plugin resulting in our site constantly crashing with 502 errors. We checked with WPEngine and it is not their servers but is stemming from the requests.

    Here is what we received when communicating with our host:

    “Here are the errors and amount of ajax calls I told you I would send over in regards to the specific plugin.

    3106 /wp-admin/admin-ajax.php?action=ajax_load_more_init&nonce=00c8a4b524&repeater=default&postType%5B%5D=post&postFormat=&category=news&author=&taxonomy=&taxonomy_terms=&taxonomy_operator=&meta_key=&meta_value=&meta_compare=&year=&month=&day=&tag=&post_status=publish&order=&orderby=&search=&exclude=&numPosts=6&pageNumber=0&offset=0&lang=
    1664 /wp-admin/admin-ajax.php?action=ajax_load_more_init&nonce=f2e4c0adc1&repeater=default&postType%5B%5D=post&postFormat=&category=news&author=&taxonomy=&taxonomy_terms=&taxonomy_operator=&meta_key=&meta_value=&meta_compare=&year=&month=&day=&tag=&post_status=publish&order=&orderby=&search=&exclude=&numPosts=6&pageNumber=0&offset=0&lang=
    1187 /wp-admin/admin-ajax.php?action=ajax_load_more_init&nonce=cb755a5fef&repeater=default&postType%5B%5D=post&postFormat=&category=news&author=&taxonomy=&taxonomy_terms=&taxonomy_operator=&meta_key=&meta_value=&meta_compare=&year=&month=&day=&tag=&post_status=publish&order=&orderby=&search=&exclude=&numPosts=6&pageNumber=0&offset=0&lang=”

    Here is the shortcode I am using for the template page:
    echo do_shortcode('[ajax_load_more post_type="post" category="news" posts_per_page="6" scroll="false" transition="fade" button_label=""]');

    I can also send you the error log if you like.

    Here’s the site: https://tortuga2014.staging.wpengine.com/

    Any help would be great. Thanks!

    https://www.ads-software.com/plugins/ajax-load-more/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Darren Cooney

    (@dcooney)

    Hello mrdavis,
    I’m not seeing these errors… Should they be in the console?

    Thread Starter hellomrdavis

    (@hellomrdavis)

    They were in our error log for WPEngine as far as I can tell. I see the query myself in the console when I click the Load More Posts button but that works as expected. Any idea what could cause the plug-in to start making multiple ajax calls besides an influx of users?

    Plugin Author Darren Cooney

    (@dcooney)

    The plugin wouldn’t make unnecessary ajax calls, so it must be something to do with the volume of calls.

    Side note, are you able to edit your repeater templates with WP Engine?

    Thread Starter hellomrdavis

    (@hellomrdavis)

    I can but I’m just using the default template. I had to edit the repeater template file to get it to do what I wanted when I contacted you a while back.

    Plugin Author Darren Cooney

    (@dcooney)

    Yea, thats what I thought, wasnt sure if that was resolved.
    Can you email the error log.
    darren.cooney[at]gmail.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Multiple requests resulting in 502 errors’ is closed to new replies.