Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Plugin crashes my site
This topic contains 8 replies, has 2 voices, and was last updated by Rolf Schlotmann 7 years, 5 months ago.
- AuthorPosts
- July 1, 2016 at 10:23 am #9349
Hello,
I just bought the plugin and when I activate it, it crashes my site.
I am using Cloudflare and WP Super cache. When I deactivate the plugin, everything works fine again.
Are there any compatibility issues you know of and how can I still use the plugin?
Thanks
RolfAttachments:
You must be logged in to view attached files.July 1, 2016 at 10:32 am #9351Hi Rolf,
I have no knowledge of any similar issues.
Is there any error message, or anything related in the error logs?
While it’s almost impossible to tell the source of the problem without seeing the code, I’m suspecting a 3rd party plugin issue. The most probable thing is that another plugin might use a class or function name same as in the search, but without checking it’s existence first – leading to a re-declaration error. It’s a very common mistake by many plugin devs.
I suggest temporarly disabling all plugins and switching the theme to default and activating ajax search pro. If no crash, then it’s almost definitely caused by another plugin or the theme.
A faster way is, if you can provide temporary log-in and FTP details, and I can debug through the search code via FTP to see where the execution stops.
Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
July 1, 2016 at 11:21 am #9352Hello Ernest,
thanks for the quick answer.
I have found now that the plugin “Autooptimize” https://wordpress.org/plugins/autoptimize/
is the reason for the crash. After I disabled it, your search plugin runs smoothly.It probably has to do how the plugin ‘optimizes’ css and java code on the site. Do you have any idea how to fix that?
Best regards
RolfJuly 1, 2016 at 11:33 am #9353Hi!
Well, I have tried to install that plugin on my test environment, but there was no error unfortunately. Both the search and the plugin were working correctly.
It might be related to your specific server and site configuration, I’m guessing.
I’ve tried to change the plugin configuration a bit to see if it changes anything, but no crash and nothing on the error log indicating any issues. Based on this I have no idea to be honest with you.
Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
July 1, 2016 at 11:35 am #9354Ok, I appreciate your feedback, Ernest. I am now contacting the other plugin author if he knows something.
I like the plugin and would really love to use it in combination with my other plugins 🙂
Rolf
July 1, 2016 at 11:41 am #9355Thanks for your kind words you Rolf!
Please let me know if you find anything, I’m happy to fix any issues if it’s indeed something with the search plugin.
Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
July 1, 2016 at 12:15 pm #9356You cannot access this content.July 1, 2016 at 12:49 pm #9358It’s definitely cache, if the back-end is changed.
Make sure to clear your CDN cache as well, they tend to cache CSS assets for at least 12 hours.
I highly recommend turning off every type of caching until making changes. Some cache solutions tend to remove query strings from assets as well, which makes it extremely hard to clear on every level. (browser, page, minify, CDN)
Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
July 1, 2016 at 1:06 pm #9359You cannot access this content. - AuthorPosts
You must be logged in to reply to this topic.