• Resolved trixytrick

    (@trixytrick)


    Hi,

    The plugin Popup Maker causes around 25 admin-ajax requests (Status: either 500 or canceled, Type: xhr) on our landing page. This slows down the loading time considerably and sometimes the page won’t load (Internal server error 500)

    After deactivating the plugin, the requests disappear.

    I’d be grateful for any solution to that problem.

    Marian

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Daniel Iser

    (@danieliser)

    @trixytrick – Hmm, any more info that that? IE the actual requests being made for example? Based on just the info provided, I’d argue unless you have 25 popups on that page all set to open on time delays at the same time, impossible based on our code alone.

    We only call ajax on the front end of your site for 1 thing, analytics events, and those only occur when the popup actually opens.

    Beyond that I would suggest setting all your popups to draft, then publishing them one at a time till you see the issue again, or at least part of it. You will find the content inside those popups is causing the issue most likely.

    Hope that helps. If your issue is resolved please take a moment to rate and review the plugin or support.

    If you still need help please message us directly at https://wppopupmaker.com/support/.

    Thread Starter trixytrick

    (@trixytrick)

    Appendix

    I forgot to add our homepage link: https://www.bbs-schoelerberg.de/

    Marian

    Thread Starter trixytrick

    (@trixytrick)

    Thanks for your reply. I’ll try out your suggestion tomorrow. Thanks so far!

    Further information on how we use popups on our site:
    In general we have only one popup on a webpage, some have at max. 3. None of them opens automatically, they only pop up after clicking on a button. 95% of the popups include a feedback form (plugin Contact Form 7). Therefore, I first contacted plugin author but he stated his plugin does not call any ajax requests.

    Our homepage link: https://www.bbs-schoelerberg.de/

    Marian

    Thread Starter trixytrick

    (@trixytrick)

    Hi Daniel,

    I did as you suggested, put every popup in the bin (altogether 45) and published them one by one. After every popup published, I refreshed our homepage/landing page and checked the network activity in Google Chrome. By the way, there is only one popup on hour landing page, which is not automatically triggered. On our site there in non with a time delay.

    After publishing the popups one by one, I noticed ajax requests for every item. At the beginning the status was always 200, so it only cost a bit of response time. Then, after havinag around 20 popups activated, bad ajax requests started to reappear.

    Unfortunately, the bad requests are not related to a certain popup. I found that out by putting several popups in the bin and activated the apparently bad one, which came good then. I tried several scenarios, i.e. publishing various popups and different amounts of popups. The result was always the same: after around 16 to 20 popups published, bad requests started to appear.

    I’m not an expert, I’m afraid, so I don’t exactly know what kind of further information you ask for when saying “the actual requests being made”. I hope the following may be of help (and does not compromise our site):
    Name: admin-ajax.php
    Status: canceled
    Type: xhr
    Size: (often) around 40 B
    Time: (often) around 10s
    Inititator: jquery.js?ver=1.12.4:4 => send and ajax
    apbct_sendAJAXRequest: apbct-public.js?ver=5.115.1:187
    (anonymous): (index):2174
    setTimeout (async) (anonymous): (index):2174

    By the way, before doing the evaluation I updated to the latest plugin version.

    I really hope you can make sense of all this and find a solution to the problem. It would be highly appreciated.

    Best

    Marian

    PS: At the moment all popups are activated.

    I have to second this issue – I’ve encountered the same problem and followed the same troubleshooting process as Marian – our site involves 25 popups on a very specific page – I’m going through one by one and targeting them to load only on that specific page ID, but I really need to be able to fix this soon.

    It appears that the site is receiving a huge influx of uncachable (POST) admin-ajax requests coming from Popup Maker. These are occurring in multiples on each page load when visiting the sites’ admin dashboard. Since these requests are uncachable, they are utilizing a large number of server resource, since they occur in bulk.

    Is there a way we can go about reducing the amount of ajax-admin requests this plugin is producing on the backend?

    Thanks in advance for your help here.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Bad admin-ajax requests’ is closed to new replies.