Hi @saadezz ,
It’s not clear seeing the error alone why this is happening, but by chance are you using any other plugins that use calendars or countdown tickers ?
yes, im using another plugin that uses Moment js named: sonaar mp3 player
@saadezz – Please update to latest version of the plugin and search for a setting called “Disable moment JS” in wp-admin > Zoom Events > Settings > Settings
See if it fixes anything for you. If not you might need to dequeue the other plugin script in the single zoom events pages.
@j_3rk |
I have updated to latest version and checked “Disable moment JS” but nothing happened.
Also ?I have done the following steps:
– I have deactivated all plugins except zoom event.
- I activated the default theme twenty twenty
but the issue still
- also could you please guide me how If to dequeue the other plugin script in the single zoom events pages.
If that does not work – uncheck the “Disable moment JS” from the settings page and add below code your functions.php file
function zoom_events_dequeue_unnecessary_scripts() {
if ( get_post_type() == 'zoom-meetings' ) {
wp_dequeue_script( 'moments' );
wp_deregister_script( 'moments' );
}
}
add_action( 'wp_print_scripts', 'zoom_events_dequeue_unnecessary_scripts' );
This above script will disable the momentjs library from sonar mp3 plugin for Zoom Meeting specific pages which should fix the issue for you.
Thank you very much
Its working well now