Home › Forums › Calendar Products › Events Calendar PRO › Next events gives an error in Photo events calendar
- This topic has 7 replies, 2 voices, and was last updated 6 years, 5 months ago by David Perez.
-
AuthorPosts
-
October 30, 2017 at 2:02 am #1371224David PerezParticipant
Hello, I’m having a problem with the events calendar in Photo view. When I click next events, it gives this javascript error:
tribe-events-photo-view.min.js?ver=4.4.18:1 Uncaught TypeError: Cannot read property ‘length’ of undefined
at g (tribe-events-photo-view.min.js?ver=4.4.18:1)
at tribe-events-photo-view.min.js?ver=4.4.18:1
at Object.pre_ajax (tribe-events-pro.min.js?ver=4.4.18:1)
at HTMLAnchorElement.<anonymous> (tribe-events-photo-view.min.js?ver=4.4.18:1)
at HTMLDivElement.dispatch (jquery.min.js:3)
at HTMLDivElement.r.handle (jquery.min.js:3)October 31, 2017 at 6:23 am #1372048VictorKeymasterHola David!
Thanks for reaching out! Let me help you with that.
I’m not able to see the console error in your site’s main events page in photo view. Did you manage to solve the issue?
Are you getting that error when you perform a certain action? Let me know about it so I can try to replicate the issue and find the source of it.
Thanks,
VictorNovember 2, 2017 at 2:25 am #1373519David PerezParticipantIt’s in Agenda / Siguentes eventos. It’s still there…
November 2, 2017 at 5:51 am #1373618VictorKeymasterHola David!
Thanks for clearing that out. I’m sorry I missed that. It seems that the error occurs after the first time of using the pagination.
I tried reproducing this error in my own installation but failed to do so.
I see you have tried the following:
- Deactivated all other plugins? Yes
- Switched to a default theme? Yes
Did you happen to notice a difference when deactivating all other plugins or switching to a default WordPress theme, like Twenty Seventeen? What happens if you try deactivating all plugins and switching to the Twenty Seventeen theme together? Do you notice a difference then?
If you see no difference in those conditions, then we’ll need to do some deeper troubleshooting
Please let me know about it.
Thanks,
VictorNovember 13, 2017 at 3:09 pm #1381986David PerezParticipantHello, My colleage have hard coded the js tribe-events-photo-view.min.js in order to solve my issue. Please check it and see if you can add it to the plugin.
Regards.November 14, 2017 at 5:27 am #1382336VictorKeymasterHi David!
Thanks for following up with this.
It’s good to know you could solve the issue.
The tribe-events-photo-view.min.js file should always be in the photo view by default. If you hardcoded the script and it now works as expected, this could mean that the script was not there before, which indicates something was not working properly.
I could not reproduce the issue you were having on my end, so it could have been something specific to your site, that’s why we need you to test for conflicts so we can narrow the problem down and find the source of the issue.
If you want to keep searching for the root source of this conflict, please let me know if you could make the photo view work by having only our plugins activated and using a default theme.
Let me know if there is anything else I can do for you.
Best,
VictorDecember 6, 2017 at 8:35 am #1399468Support DroidKeymasterHey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.
Thanks so much!
The Events Calendar Support Team -
AuthorPosts
- The topic ‘Next events gives an error in Photo events calendar’ is closed to new replies.