Home › Forums › Calendar Products › Filter Bar › Javascript Error
- This topic has 8 replies, 3 voices, and was last updated 8 years, 8 months ago by Support Droid.
-
AuthorPosts
-
July 24, 2015 at 5:07 am #989804PeterParticipant
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/classesAfter 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
July 24, 2015 at 1:39 pm #990117BrianKeymasterHi 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
July 27, 2015 at 7:31 am #990501PeterParticipantHi 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
July 27, 2015 at 8:37 am #990562BrianKeymasterHi,
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
July 27, 2015 at 12:28 pm #990670PeterParticipantWe 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
July 27, 2015 at 12:41 pm #990676PeterParticipantWe just switched to parent Highend and it works there. So there is something in our child theme that is breaking it.
July 27, 2015 at 1:57 pm #990717PeterParticipantFIXED! 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
July 28, 2015 at 7:24 am #991020BrianKeymasterGreat, 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
August 12, 2015 at 7:05 am #995366Support DroidKeymasterThis 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. -
AuthorPosts
- The topic ‘Javascript Error’ is closed to new replies.