Home › Forums › Calendar Products › Filter Bar › My filters aren’t quite working on my photos page.
- This topic has 10 replies, 3 voices, and was last updated 9 years, 12 months ago by
Support Droid.
-
AuthorPosts
-
April 7, 2016 at 7:29 pm #1099911
fifteen15studios
ParticipantI’m stuck. I’ve been doing some customization (yes, I know you can’t really give advice when it comes to that, but I’ll explain), and I noticed that my filters work on all my views except the photos view. I modified the theme like crazy, but the code is relatively the same as yours. The visuals changed; the code, not so much.
I’ve been looking in to this issue for hours (over days) and I still haven’t figured it out. When I try to use the filters on the photos page, the first filter works. If you select another, it stops working and locks up. I used Firebug and found this error reported when this happens:
Error: TypeError: v is undefined
Source File:/wp-content/plugins/events-calendar-pro/src/resources/js/tribe-events-photo-view.min.js?ver=4.1.1
Line: 1Clearly, the reason the photos page is having issues is because of the JavaScript which applies to this page and not to the others. What’s not so obvious is why this is happening, and how I can fix it.
This is a link to the photos page, which has issues with the filters: home page
And a link to the lists page, whose filters work fine: /events/listI’m wondering if you could offer some insight? I tried using another theme, and it seemed to work part of the time. My theme’s similar, and I’m using the same code for the filters as you use. Here’s an example of what my code looks like for a category:
<form id="tribe_events_filters_form" method="post" action=""> ... <ul id="desktop_menu"> <li class="desktop_menuTitle">Categories</li> <li> <label class="desktop_menuLabel"><input class="desktop_menuInput" type="checkbox" value="1" name="tribe_eventcategory[]" data-slug="uncategorized" /> <span class="desktop_menuBox"><img src="/wp-content/themes/responsive/core/images/header_icon_categories_uncategorized.png" alt="" /> No Category</span></label> </li> ...Do you have any suggestions?
Thank you for all your help!
BrendanApril 8, 2016 at 6:01 am #1100004fifteen15studios
ParticipantThis reply is private.
April 8, 2016 at 6:08 pm #1100335Geoff B.
MemberThis reply is private.
April 8, 2016 at 6:19 pm #1100337Geoff B.
MemberGood evening Brendan,
Just to set expectations, as you know, the scope of our support is mostly to get our wonderful customers started on the right track to customize their site and to help them in case of issues. We unfortunately do not provide complete support for customization.
With that in mind, I would still like to take a look at a couple of things to get you started.
As a first troubleshooting step, could you please provide us with your system information in a private reply ? (following the instructions found in the link)
Have a good week-end,
Geoff B.
April 11, 2016 at 8:14 am #1100776fifteen15studios
ParticipantOk, thanks! I provided it below.
April 11, 2016 at 8:15 am #1100777fifteen15studios
ParticipantThis reply is private.
April 11, 2016 at 10:09 pm #1101174Geoff B.
MemberGood evening Brendan,
Thank you for sharing your system information.
I am pretty confident that the cause of the faulty filter is the fact that you are using the Event Rocket plugin.
Unfortunately, as you might know, this plugin is no longer maintained and has had several compatibility issues with the latest version of our plugins since version version 4.0.If you want to continue using that plugin unfortunately, you are very likely to have to update it to reflect the changes that were made in the code of the Events Calendar plugin family since version 4.0 .
You could probably run a quick test (not on the homepage, but on the actual built-in events page) to see if the issue persist after deactivating the plugin.
Let me know how that goes.
Best regards,
Geoff B.April 12, 2016 at 9:20 am #1101381fifteen15studios
ParticipantGeoff,
Thanks for the advice! I disabled the plugin (which I didn’t need) but the issue persists.
Do you have any other suggestions?Thanks,
BrendanApril 12, 2016 at 4:21 pm #1101636Geoff B.
MemberHey Brendan,
I’m sorry this did not solve the issue.
However, I am a bit confused. If the plugin was deactivated, I am not sure how you are getting the Events Calendar on the home page ?
The reason I am asking is because I am wondering if you are not using a completely custom page template as well ?In any case, it might not be fun, but the next thing to do would be to go through our testing for conflicts procedure (preferably in a staging/dev environment or local install of your WordPress website) and let us know what you find out.
Basically the goal here is to revert back to a bare WordPress installation to see if the problem persists. It also allows us to pinpoint what the cause of the issue is.
There is the odd chance that there might be a plugin conflict with one of the other plugins in place (including conflicting Javascript sometimes).
On my end, I will ask for a second opinion on this to see if one of our senior team member is not seeing something different than I am. Hopefully this will get you started on the right track to resolution.
Best regards,
Geoff B.
April 13, 2016 at 3:06 pm #1102171Geoff B.
MemberGood evening Brendan,
As promised, I requested a second opinion on this.
As a first step, you might want to activate wp-debug in your wp-config.php
Additionally, my next recommendations would be to:
- Use a Javascript debugger and run it step-by-step with breakpoints to see exactly where the issue happens
- Go through your customizations and, after a backup, start removing them one-by-one until you find the culprit
I wish I had a better answer for you, but for now it’s the best one I have.
Best regards,
Geoff B.
April 28, 2016 at 9:35 am #1108275Support Droid
KeymasterThis 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 ‘My filters aren’t quite working on my photos page.’ is closed to new replies.
