• Resolved ehrenberg

    (@ehrenberg)


    I’m getting an error while viewing Event Posts in the admin-ajax Response. I am using the Woocommerce Integration.

    The get_post_meta in includes/Timezone.php:83 seems to not get the needed meta_data.

    $GLOBALS['zoom']           = get_post_meta( $post_id, '_meeting_zoom_details', true );

    The debug.log:

    [03-Apr-2023 13:34:21 UTC] PHP Warning:  Undefined array key "api" in /mnt/HC_Volume_9041983/webcontent/htdocs/website/wp-content/plugins/video-conferencing-with-zoom-api/templates/fragments/countdown-timer.php on line 14
    [03-Apr-2023 13:34:21 UTC] PHP Warning:  Attempt to read property "type" on null in /mnt/HC_Volume_9041983/webcontent/htdocs/website/wp-content/plugins/video-conferencing-with-zoom-api/templates/fragments/countdown-timer.php on line 14
    [03-Apr-2023 13:34:21 UTC] PHP Warning:  Undefined array key "api" in /mnt/HC_Volume_9041983/webcontent/htdocs/website/wp-content/themes/generatepress_child/video-conferencing-zoom/fragments/meeting-details.php on line 4
    [03-Apr-2023 13:34:21 UTC] PHP Warning:  Attempt to read property "type" on null in /mnt/HC_Volume_9041983/webcontent/htdocs/website/wp-content/themes/generatepress_child/video-conferencing-zoom/fragments/meeting-details.php on line 4
    [03-Apr-2023 13:34:21 UTC] PHP Warning:  Undefined array key "api" in /mnt/HC_Volume_9041983/webcontent/htdocs/website/wp-content/plugins/video-conferencing-with-zoom-api/includes/template-functions.php on line 128
    [03-Apr-2023 13:34:21 UTC] PHP Warning:  Attempt to read property "type" on null in /mnt/HC_Volume_9041983/webcontent/htdocs/website/wp-content/plugins/video-conferencing-with-zoom-api/includes/template-functions.php on line 128
    [03-Apr-2023 13:34:21 UTC] PHP Warning:  Undefined array key "api" in /mnt/HC_Volume_9041983/webcontent/htdocs/website/wp-content/plugins/video-conferencing-with-zoom-api/includes/template-functions.php on line 128
    [03-Apr-2023 13:34:21 UTC] PHP Warning:  Attempt to read property "type" on null in /mnt/HC_Volume_9041983/webcontent/htdocs/website/wp-content/plugins/video-conferencing-with-zoom-api/includes/template-functions.php on line 128
    [03-Apr-2023 13:34:21 UTC] PHP Warning:  Undefined array key "api" in /mnt/HC_Volume_9041983/webcontent/htdocs/website/wp-content/plugins/video-conferencing-with-zoom-api/includes/template-functions.php on line 143
    [03-Apr-2023 13:34:21 UTC] PHP Warning:  Attempt to read property "type" on null in /mnt/HC_Volume_9041983/webcontent/htdocs/website/wp-content/plugins/video-conferencing-with-zoom-api/includes/template-functions.php on line 143
    [03-Apr-2023 13:34:22 UTC] PHP Fatal error:  Uncaught Error: Attempt to assign property "post_id" on string in /mnt/HC_Volume_9041983/webcontent/htdocs/website/wp-content/plugins/video-conferencing-with-zoom-api/includes/Timezone.php:85
    Stack trace:
    #0 /mnt/HC_Volume_9041983/webcontent/htdocs/website/wp-content/plugins/video-conferencing-with-zoom-api/includes/Timezone.php(58): Codemanas\VczApi\Timezone->output_join_links_page()
    #1 /mnt/HC_Volume_9041983/webcontent/htdocs/website/wp-includes/class-wp-hook.php(308): Codemanas\VczApi\Timezone->set_timezone()
    #2 /mnt/HC_Volume_9041983/webcontent/htdocs/website/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
    #3 /mnt/HC_Volume_9041983/webcontent/htdocs/website/wp-includes/plugin.php(517): WP_Hook->do_action()
    #4 /mnt/HC_Volume_9041983/webcontent/htdocs/website/wp-admin/admin-ajax.php(188): do_action()
    #5 {main}
      thrown in /mnt/HC_Volume_9041983/webcontent/htdocs/website/wp-content/plugins/video-conferencing-with-zoom-api/includes/Timezone.php on line 85

    What information is still needed to correct the error?

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Uncaught Error: Attempt to assign property “post_id”’ is closed to new replies.