Plugin conflict preventing search bar from working.

Home Forums Calendar Products Events Calendar PRO Plugin conflict preventing search bar from working.

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1054902
    Jon
    Participant

    Hi there

    I have encountered a conflict with the free version of Events Calendar, but with little support I have purchased Pro in the hope that I can resolve it, as the calendar is perfect for our needs if I can just get it to work.

    A plugin conflict with Advanced Custom Fields renders the “Find Events” search bar inoperable.

    We have a developer customised theme, so I switched off all plugins to prove that it was not the theme causing the issue – the search facility worked fine with all plugins deactivated. Advanced Custom Fields was identified as the offender by switching them on one by one and testing again.

    Advanced Custom Fields is VITAL to the customisations of our site so I can’t remove it. I have updated to the Pro version of that plugin to ensure that it is all up to date. The details are as follows:

    Advanced Custom Fields Pro
    Customise WordPress with powerful, professional and intuitive fields
    Version 5.3.2.2 | By elliot condon
    Advanced Custom Fields Pro Website

    Events Calendar Pro exists on our site at this location:
    https://hollowells.co.uk/funerals/
    There is apparently a Java error preventing the search facility from working.

    Really would like some help to get this working.

    Many thanks
    Jon Farmer

    #1054909
    George
    Participant

    Hey @Jon,

    Thank you for reporting this. Before we get into the bug itself, I should establish that we cannot offer any support for custom coding. Please see the “product support” section of this page for more information → http://theeventscalendar.com/terms

    Now, this is reported as a bug which it may be, and that’s a different story. While there are admittedly usually few moves on the chessboard when the conflict is in a third-party plugin, we can at least try and isolate the exact bug and then report it to the implicated third-party plugin developers and hope for the best.


    Now let’s get to the bug itself. The first step here is to try and isolate the exact bug and figure out its origins. To that end, I would recommend a specific conflict-testing routine that, regardless of testing you have done up to this point, I would recommend you do now fresh to establish a baseline.

    You mention this:

    Advanced Custom Fields is VITAL to the customisations of our site so I can’t remove it. I have updated to the Pro version of that plugin to ensure that it is all up to date. The details are as follows:

    We haven’t heard of this conflict yet so I’m wondering – does the buggy behavior exist on your site if you ensure the following three conditions are set:

    1. You have a default theme like Twenty Sixteen active on your site?

    2. You temporarily remove your “customizations”, so that The Events Calendar, and Events Calendar Pro, and Advanced Custom Fields are all in their “default” or “out-of-the-box” state? (Be sure you back these customization up before you try this!)

    3. You deactivate every single plugin on your except for The Events Calendar, Events Calendar Pro, and Advanced Custom Fields? Only these three plugins; all else totally deactivated.

    How does this bug behave when your site is in these conditions? To reiterate, these are three conditions to establish simultaneously – i.e. you need to make sure are three things are satisfied together before you test again, or else the test is not as valid. (You cannot, for example, do one thing at a time, test, then change it back and move to the next condition.)


    Make a good backup of your customizations and then try out the steps above.

    Let us know what you find!

    Thank you,
    George

    #1055659
    Jon
    Participant

    OK

    With Twenty Sixteen activated and the following plugins activated:

    – Advanced Custom Fields Pro
    – The Events Calendar
    – The Events Calendar Pro
    – Ultimate Maintenance Mode

    The Find Events search facility WORKED.

    Where does this leave me with me support? On my own?
    If this is down to the theme customisations, as I have no coding experience, can I get a refund on the Pro licence?

    Thanks
    Jon Farmer

    #1055674
    Jon
    Participant

    Some info to add – debugger shows this:

    TypeError: c(…).tribe_spin is not a function
    tribe-events-ajax-list.min.js:1:1275

    #1056112
    George
    Participant

    Jon, this is great news as this confirms that there is a code conflict somewhere on your site. As far as where this leaves you with support, you are not necessarily on your own, but there is further investigation I would recommend to try and isolate the specific cause of your problems.

    First, let’s see if your own code customizations are the culprit.

    To test this, put your site back in the state you put it in in your last reply above; when you said “the Find Events search facility WORKED”.

    Return things to this state, but then add one more change: which is to add your customizations back onto your site. Do not change anything else other than adding these customizations back.

    Does the searching work still?

    1. If NOT, then your custom code is the problem and we can proceed from there.

    2. If it DOES still work, then your custom code is NOT the problem and you can leave it in place for now. I would then recommend re-activating your custom theme (i.e., whatever them you are using that is not Twenty Sixteen). When you re-activate the theme, does the search work? If NOT, then your theme is the source of the problem. If it DOES still work, then your theme is NOT the problem and so then I would recommend activating every other plugin on your site, one at a time, and after EACH plugin activation, go back and see if the search works. If after any specific activation, the search fails again, then that last-activated plugin is the culprit.

    Thank you for your patience here!

    Let me know the findings of the above testing.

    Sincerely,
    George

    #1056169
    Jon
    Participant

    Firstly, there are none of my own code customisations, purely a custom theme based upon Twenty Twelve.

    With ONLY the following plugins active:
    – Advanced Custom Fields Pro
    – The Events Calendar
    – The Events Calendar Pro
    – Ultimate Maintenance Mode

    With Twenty Sixteen active – search feature works.
    Switch back to custom Hollowells theme – search feature stops working.

    Further to this, with Twenty Sixteen and ALL installed plugins active, the search feature works.

    Must be somewhere within custom theme I guess.

    Jon

    #1056181
    George
    Participant

    Thanks for clarifying things and testing, Jon – that custom theme is indeed the source of the problem here.

    Did you code this theme on your own? If you had another developer do so and/or bought this theme from somewhere, definitely reach out to these parties for assistance with this. (Apologies for not being familiar with the Hollowells theme).

    I’m sorry about the nature of this conflict but am glad that its source has at least been identified.

    Please let me know any further thoughts you have here or if there is anything else I can help with.

    Thank you,
    George

    #1076780
    Support Droid
    Keymaster

    This topic has not been active for quite some time and will now be closed.

    If you still need assistance please simply open a new topic (linking to this one if necessary)
    and one of the team will be only too happy to help.

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Plugin conflict preventing search bar from working.’ is closed to new replies.