Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Populate bug – admin-ajax.php
- This topic has 8 replies, 2 voices, and was last updated 5 years, 7 months ago by
Blaise39.
-
AuthorPosts
-
October 29, 2020 at 11:27 am #30063
Blaise39
ParticipantHello,
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: 500We are studying and testing on a local virtual server, we can’t provide you any access.
Best regards,
Blaise Morot-SirOctober 29, 2020 at 11:33 am #30064Ernest Marcinko
KeymasterHi,
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!October 29, 2020 at 11:37 am #30065Blaise39
ParticipantHi,
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)October 29, 2020 at 11:49 am #30066Ernest Marcinko
KeymasterThat 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?
October 29, 2020 at 12:05 pm #30067Blaise39
ParticipantWe 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:11Uncaught ReferenceError: aspjQuery is not defined
at jquery.lazy.min.js?ver=JRMNgs:14But it can work or not without to display these errors.
October 29, 2020 at 12:12 pm #30068Ernest Marcinko
KeymasterRe 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.October 29, 2020 at 12:28 pm #30070Blaise39
ParticipantYou 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.October 29, 2020 at 12:29 pm #30071Ernest Marcinko
KeymasterYou cannot access this content.
October 29, 2020 at 12:30 pm #30072Blaise39
ParticipantYou cannot access this content.
-
AuthorPosts
- The topic ‘Populate bug – admin-ajax.php’ is closed to new replies.