Plugin crashes my site

This topic contains 8 replies, has 2 voices, and was last updated by Rolf Schlotmann Rolf Schlotmann 7 years, 5 months ago.

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #9349
    Rolf Schlotmann
    Rolf Schlotmann
    Participant

    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
    Rolf

    Attachments:
    You must be logged in to view attached files.
    #9351
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Hi 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 :)


    #9352
    Rolf Schlotmann
    Rolf Schlotmann
    Participant

    Hello 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
    Rolf

    #9353
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Hi!

    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 :)


    #9354
    Rolf Schlotmann
    Rolf Schlotmann
    Participant

    Ok, 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

    #9355
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Thanks 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 :)


    #9356
    Rolf Schlotmann
    Rolf Schlotmann
    Participant
    You cannot access this content.
    #9358
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    It’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 :)


    #9359
    Rolf Schlotmann
    Rolf Schlotmann
    Participant
    You cannot access this content.
Viewing 9 posts - 1 through 9 (of 9 total)

You must be logged in to reply to this topic.