The browser console shows a ‘500 Internal Server Error’ which is a generic server error. The only way to find out out more is by checking the error log on the server. This will often explain why it breaks.
You can access this file through the control panel of your host, if not, then ask your host where to find it.
Hi Tijmen
Thanks for your prompt feedback. I saw that in my Chrome Console, but wasn’t sure what it meant despite googling for an answer. Will have to get hold of my server provider in the morning. Funnily enough I’m able to use the plugin on the same dedicated server under a different domain using a different theme with no issues.
Very frustrating and the thing is the client loved the plugin before it broke and she’s not going to be too happy to maybe have to settle for another plugin.
Oh well let’s hope we can get to the bottom of the issue. Will let you know what my Hosting provider says.
Hi Tijmen
This is the response i got from our Hosting Provider:
————————————-
I had a look at the apache error logs, and nothing relating this was written. I only found the following entry when checking the access logs:
macete.co.za 1 _HOS_EXTENDED_ 196.40.111.5 – – [01/Jun/2018:10:01:25 +0200] “GET /wp-admin/admin-ajax.php?action=store_search&lat=-29.85868&lng=31.021839999999997&max_results=25&search_radius=50&autoload=1 HTTP/1.1” 500 – “-” “Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.139 Safari/537.36” 536 204
The location trying to be accessed above is not available. I have enabled PHP errors, but nothing is still displaying. A developer would have to try and look into why this resource is not available, as it is relating to the code of the site.
————————————
Does that help at all?
It could be that a security plugin / option somewhere is actively blocking access to the admin-ajax.php from the front-end?
If you’re using a security plugin, then try to disable it for a second. Also check your theme options for any security related options / features that can be disabled.
Hi Tijmen
Turns out our Memory Limit in PHP was too low, once we bumped that up, world peace and harmony was restored…(we can dream I guess)
Thanks for your help and a great plugin. Have a good weekend.