Replies: 0
The filters aren’t working on a clean install of the plugin. All other plugins etc are up to date and I’ve isolated the issue to Visual Composer (which we can’t do without as it powers the entire site).
jquery.min.js?ver=3.6.0:2 Uncaught TypeError: Cannot read properties of undefined (reading 'selectors')
at HTMLDocument.obj.ready (filters.js?ver=5.2.1:534)
at e (jquery.min.js?ver=3.6.0:2)
at t (jquery.min.js?ver=3.6.0:2)
The cause is the manager.js script isn’t loading so I get 12 jQuery errors for my trouble.
The script is added in Assets.php:
tribe_asset(
$plugin,
'tribe-events-views-v2-manager',
'views/manager.js',
[
'jquery',
'tribe-common',
'tribe-query-string',
'underscore',
],
'wp_print_footer_scripts',
[
'priority' => 9, // for <code>wp_print_footer_scripts</code> we are required to go before P10.
'conditionals' => [ $this, 'should_enqueue_frontend' ],
'groups' => [ static::$group_key, static::$widget_group_key ],
'defer' => true,
]
);
I can’t see any reason for this to be happening and any support is welcome.
I have tried updating this file in the plugin directory with a file that is loading and no luck.