JS error causing plugin conflicts
Thanks for emailing support and sorry you are having issues. Sounds like there is a conflict. To get you started on troubleshooting: First, please make sure you are using the most current versions of all of our plugins. You can also try reinstalling them by following these instructions. If that doesn’t help, the next step in troubleshooting this is going to be testing for conflicts with your theme and other plugins (with WP_DEBUG enabled). If you need a testing environment, the free WP Staging plugin will let you create a quick copy of your live site that you can use for testing.
Let me know what you find.
You can also try installing this plugin to dequeue scripts from the calendar and see if that solves the issue.
The issue exists in the tribe_mobile_setup_day method in the tribe-events-calendar.js file. When debugging is enabled, the full error reads:
Uncaught TypeError: Cannot set property 'date' of undefined at tribe_mobile_setup_day
Doing a console.log on the data variable set there (
$date.data( 'tribejson' )
) shows that it’s undefined. You can replicate this by using Chrome Dev tools and viewing a page with the calendar widget with the mobile view on.
This has been checked with all other plugins deactivated, most recent versions of the plugins, and using a default theme. The JS error persists in the referenced file. If I add an early return if the data variable is not defined, the script error disappears and the JS conflict is resolved, although I don’t know what events functionality I may be losing or breaking by adding the early return.