• Resolved saadezz

    (@saadezz)


    Hi!
    Please help me.
    The countdown is showing zeros
    In the browser dev console I see an error:
    Uncaught TypeError: Cannot read properties of undefined (reading ‘guess’)
    at Object.countDownTimerMoment (public.min.js?ver=4.0.8:1:788)

    This is the url:
    shorturl.at/fAIJ1
    Thanx

    The page I need help with: [log in to see the link]

Viewing 8 replies - 1 through 8 (of 8 total)
  • Thread Starter saadezz

    (@saadezz)

    this is the page url

    • This reply was modified 2 years, 3 months ago by saadezz.
    Plugin Contributor digamberpradhan

    (@digamberpradhan)

    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 ?

    Thread Starter saadezz

    (@saadezz)

    yes, im using another plugin that uses Moment js named: sonaar mp3 player

    Plugin Author Deepen

    (@j_3rk)

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

    Thread Starter saadezz

    (@saadezz)

    @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.
    Plugin Author Deepen

    (@j_3rk)

    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.

    Thread Starter saadezz

    (@saadezz)

    Thank you very much
    Its working well now

    Plugin Author Deepen

    (@j_3rk)

    Glad to be of help!

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘countdown shows zeros’ is closed to new replies.