• hi

    when I use the [zoom_join_via_browser] with webinar=”yes” it appears the next notice:
    undefined property: stdClass::$start_time in …/plugins/video-conferencing-with-zoom-api/includes/Shortcodes.php on line 155

    how can it be solved…?

    many thanks

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Contributor digamberpradhan

    (@digamberpradhan)

    Hi @kaquna ,

    can you please check if the meeting has been created or not.
    This usually happens when the meeting for some reason was not created on Zoom.

    Thread Starter kaquna

    (@kaquna)

    it is a recurrent webinar, it was created from zoom and is listed in page=zoom-video-conferencing-webinars

    the webinar have a future date assigned.

    Plugin Author Deepen

    (@j_3rk)

    Hi @kaquna

    I need to do a short customization on your side if its possible.

    Open wp-content/plugins/video-conferencing-with-zoom/includes/Shortcodes.php

    Goto line 155 and replace $meeting_time = date( ‘Y-m-d h:i a’, strtotime( $meeting->start_time ) ); with below

    if ( ! empty( $meeting->type ) && ( $meeting->type === 9 || $meeting->type === 8 ) && ! empty( $meeting->occurrences ) ) {
    	$occurrences  = ( isset( $meeting->occurrences ) && is_array( $meeting->occurrences ) ) ? $meeting->occurrences : '';
    	$meeting_time = is_array( $occurrences ) ? $occurrences[0]->start_time : date( 'Y-m-d h:i a', time() );
    } else {
    	$meeting_time = date( 'Y-m-d h:i a', strtotime( $meeting->start_time ) );
    				}

    Let me know if this works out for you.

    • This reply was modified 3 years, 10 months ago by Deepen.
    Thread Starter kaquna

    (@kaquna)

    thanks for your help and time.

    now, the error message not appears. it is displayed a countdown but without numbers.

    only black boxes with the text days, hours, minutes, seconds.

    not a functional countdown…

    the #dpn-zvc-timer-[time] is empty…

    <div class="dpn-zvc-timer-cell">
        <div class="dpn-zvc-timer-cell-number">
            <div id="dpn-zvc-timer-days"></div>
        </div>
        <div class="dpn-zvc-timer-cell-string">days</div>
    </div>
    <div class="dpn-zvc-timer-cell">
        <div class="dpn-zvc-timer-cell-number">
            <div id="dpn-zvc-timer-hours"></div>
        </div>
        <div class="dpn-zvc-timer-cell-string">hours</div>
    </div>
    ...
    
    Thread Starter kaquna

    (@kaquna)

    I have made some test, and I explain a little more the scenario…

    I put two [zoom_join_via_browser] at the same time, in the same page:

    • one for a meeting. it works fine, with the countdown ok. when countdown finished, the zoom screen with fields to access appears.
    • one for a webinar. only show the black boxes without numbers.

    if I delete the first shortcode (the meeting), the webinar not shows the countdown. only help is displayed.

    if the webinar is on date, the zoom screen with acces fields is showed.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘error stdClass in [zoom_join_via_browser]’ is closed to new replies.