My filters aren’t quite working on my photos page.

Home Forums Calendar Products Filter Bar My filters aren’t quite working on my photos page.

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #1099911
    fifteen15studios
    Participant

    I’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: 1

    Clearly, 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/list

    I’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!
    Brendan

    #1100004
    fifteen15studios
    Participant

    This reply is private.

    #1100335
    Geoff B.
    Member

    This reply is private.

    #1100337
    Geoff B.
    Member

    Good 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.

    #1100776
    fifteen15studios
    Participant

    Ok, thanks! I provided it below.

    #1100777
    fifteen15studios
    Participant

    This reply is private.

    #1101174
    Geoff B.
    Member

    Good 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.

    #1101381
    fifteen15studios
    Participant

    Geoff,

    Thanks for the advice! I disabled the plugin (which I didn’t need) but the issue persists.
    Do you have any other suggestions?

    Thanks,
    Brendan

    #1101636
    Geoff B.
    Member

    Hey 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.

     

    #1102171
    Geoff B.
    Member

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

    1. Use a Javascript debugger and run it step-by-step with breakpoints to see exactly where the issue happens
    2. 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.

    #1108275
    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 11 posts - 1 through 11 (of 11 total)
  • The topic ‘My filters aren’t quite working on my photos page.’ is closed to new replies.