- May 25, 2017 at 3:31 pm #13231
I love this search, when it works but I can’t get it to work for any amount of time and when it doesn’t work, it takes down my whole site with 500 errors. If this cannot be resolved I would like a refund.
Previously, it would give me 500 errors upon activation. After uninstalling, removing the index file, reinstalling, I was able to get it to work for about 10 hours and then this morning it started giving me 500 errors against after I modified an unrelated page.
My login info is above, please assist.May 25, 2017 at 3:37 pm #13232
BTW, I have two widgets with the shortcode saved in inactive widgets that you can use to test.
Just move them to the sidebar. The widget is titled “Search Firms”May 25, 2017 at 3:58 pm #13233
Thank you for the details, it helps me a lot!
Unfortunately I’m not able to re-create the issue. I’ve activated the plugin, did a few test searches but everything looks okay so far. I’ve also checked the performance tracker, but the search processes are finished correctly within 0.15 seconds, the memory usage is also fine, around 1.5 MB.
The only thing I noticed is that your local memory limit is set to 128M, which I believe is very low given that you have 23 plugins activated. This could lead to 500 errors very easily. The plugin only consumes around 2-5 MB of memory tops, but if the memory was low on the edge, it could have caused the problem.
To get around this, I’ve added this line to the wp-config.php file in the root directory:
I immediately noticed a slight performance upgrade on the back-end, so this might have been the issue.
Another cause can be process limiting, especially if you are on a managed shared hosting environment. Shared hosts tend to have a concurrent process limit, usually around 20. This means that if more than 20 PHP processes are initiated within a short amount of time it will throttle the server, giving a temporary 500 error (for a few seconds or minutes).
To prevent this process overflow I have changed the following option on the plug-in back-end: https://i.imgur.com/hVi1wTF.png
This prevents the live search trigger until the ‘Return’ character is pressed, saving around 80% of processes initiated.
If the issue was related to any of the above, these changes should resolve them.
For more performance related tricks, you can check this documentation chapter: Fine tuning the search configuration
In case you have any error logs or anything related available let me know, and I will look at them to see if there is any indication of an error within the plugin.Best,
Also, if there is a definite way of re-creating the problem, let me know as well, that will help a lot.
If you like my products, don't forget to rate them on codecanyon :)
May 25, 2017 at 6:37 pm #13241
Thanks. I will monitor it and reply if the errors stop popping up again.
You must be logged in to reply to this topic.