Javascript Error

Home Forums Calendar Products Filter Bar Javascript Error

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #989804
    Peter
    Participant

    We are having some sort of javascript conflict with the events plugin.

    ReferenceError: Can’t find variable: tribe_events_bar_action

    This is when we Reset Filters from this page:
    http://circusjuventas.staging.wpengine.com/classes

    After the error appears, the filters no longer work.

    We have had some extensive programming done with the plugin. Switching to the WP 2015 theme gets everything working again.

    Hoping you can help with this. We contacted the Highend theme folks and they said they could not support us and to contact the plugin provider.

    Thanks.

    Peter

    #990117
    Brian
    Keymaster

    Hi Peter,

    Sorry for the issues you are having.

    I can help troubleshoot them with you.

    I visited your site and see the error. I noticed you are using 3.10 for your plugins. Can you please update to 3.11 and see if that helps the issue.

    I did try to reproduce on my site, but it worked for me.

    Let me know and we can go from here to resolve this.

    Thanks

    #990501
    Peter
    Participant

    Hi Brian,

    OK. Updated to 3.11 plus updated WP to 4.2.3 plus updated HighEnd theme to 2.4.4.

    Tested the site and the issue is not resolved. 🙁

    Basically clicking Reset Filters shuts down functionality of the whole system until you refresh.

    Thanks for any assistance you can provide.

    Peter

    #990562
    Brian
    Keymaster

    Hi,

    Thanks for updating.

    I see you are hiding the Events Search Bar also called Tribe Events Bar.

    And it looks like the script is not loading on your site for the Event Bar, but the Filter Bar requires it so that is creating the error.

    Do you have any coding in place to prevent this script:

    tribe-events-bar.min.js

    from loading on your site?

    Let me know and we can go from here.

    Thanks

    #990670
    Peter
    Participant

    We are using this

    #tribe-events-bar {
    display: none;
    }

    to hide the events bar. Commenting that out doesn’t seem to matter.

    It was tested with the twenty-fifteen theme and it worked. So I’m guessing the current theme – Highend – is preventing the script from loading. But theme developers say they can’t help us.

    What’s next here? I can try to debug it but do not know JS well.

    Peter

    #990676
    Peter
    Participant

    We just switched to parent Highend and it works there. So there is something in our child theme that is breaking it.

    #990717
    Peter
    Participant

    FIXED! There was a filter in play that was hiding the events-bar and tweaking that got the Reset Filters link to work. Thanks for your help.

    Is there a tweak that will go to the top of the page after the filters reset? We have a bunch of filters in play so visitor will have to scroll.

    Peter

    #991020
    Brian
    Keymaster

    Great, glad to see you found the issue and fixed it in your child theme.

    I do not have any coding that scrolls to the top on clicking the filter reset.

    You could use some jquery and on click of of this link id: tribe_events_filters_reset you could have it scroll to the top of the page.

    Cheers

    #995366
    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 9 posts - 1 through 9 (of 9 total)
  • The topic ‘Javascript Error’ is closed to new replies.