This website uses cookies to personalize your experience. By using this website you agree to our cookie policy.

Populate bug – admin-ajax.php

Home Forums Product Support Forums Ajax Search Pro for WordPress Support Populate bug – admin-ajax.php

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #30063
    Blaise39Blaise39
    Participant

    Hello,

    Since we have deactivated and reactivated the plugin Ajax Search Pro for WordPress, the auto-populate doesn’t work any more.
    It displays an error 500:
    Failed to load resource: the server responded with a status of 500 (Internal Server Error)
    /wp-admin/admin-ajax.php:1.

    In our results area, there is displayed:
    The request failed. Please check your connection! Status: 500

    We are studying and testing on a local virtual server, we can’t provide you any access.

    Best regards,
    Blaise Morot-Sir

    #30064
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Hi,

    Without access this is going to be extremely hard, but let’s try.

    What happens if you open the following URL (replace yoursite.com with the site URL): yoursite.com/wp-admin/admin-ajax.php
    Is there anything printed? Can you please send a screenshot? Thank you!

    #30065
    Blaise39Blaise39
    Participant

    Hi,

    I get:
    – On the page:
    <html>
    <head></head>
    <body>0</body>
    </html>

    – In the console:
    GET https://my_website/wp-admin/admin-ajax.php 400 (Bad Request)

    #30066
    Ernest MarcinkoErnest Marcinko
    Keymaster

    That sound okay.

    Was there any known change in the search configuration? Can you please try creating a new search bar, to see if that works with the default options?

    #30067
    Blaise39Blaise39
    Participant

    We have not changed anything. It was working but for some reason we deactivated the plugin, then reactivated it, and since we get this error.

    I just tried to create a new search, it works sometimes and display some posts, but often I get the same error.

    Sometimes I get 2 supplementary errors in the console:
    Uncaught ReferenceError: aspjQuery is not defined
    at chosen.jquery.min.js?ver=JRMNgs:11

    Uncaught ReferenceError: aspjQuery is not defined
    at jquery.lazy.min.js?ver=JRMNgs:14

    But it can work or not without to display these errors.

    #30068
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Re you using the latest update? (4.19.4)
    The console errors may refer to an uncleared asset cache. Make sure to clear your site cache as well.

    If it works sometimes, then it is very unlikely a plugin related issue unfortunately. I recall a similar issue from few months ago, then simply the PHP memory limit was set too low – as the site grew, and more plugins were installed, it simply failed at a point of execution.
    Please check your PHP memory limit, and try increasing it to at least 512MB if possible.

    #30070
    Blaise39Blaise39
    Participant

    You are right for both.
    After setting the PHP memory limit, I had to clear the cache, load the page once (I get the errors), then the following loads work fine.

    Thanks.
    Best regards.

    #30071
    Ernest MarcinkoErnest Marcinko
    Keymaster

    You cannot access this content.

    #30072
    Blaise39Blaise39
    Participant

    You cannot access this content.

Viewing 9 posts - 1 through 9 (of 9 total)
  • The topic ‘Populate bug – admin-ajax.php’ is closed to new replies.