• I’m trying to use this shortcode, which was copied from the zoom-meetings CPT

    [zoom_meeting_post post_id=”19971″ template=”boxed”]

    If I try to save the post, I the ajax request fails and logs the following errors. If I disable the plugin I can save the post. But then after I reenable the plugin and try to view the post, I see the same errors. All other plugins including the pro plugin are disabled, though the result is the same w/ it active.

    PHP Warning: Illegal string offset 'host_name' in /wp-content/plugins/video-conferencing-with-zoom-api/includes/Shortcodes/Meetings.php on line 164
    PHP Warning: Illegal string offset 'api' in /wp-content/plugins/video-conferencing-with-zoom-api/includes/Shortcodes/Meetings.php on line 166
    PHP Warning: Illegal string offset 'api' in /wp-content/plugins/video-conferencing-with-zoom-api/includes/Shortcodes/Meetings.php on line 166
    PHP Fatal error: Uncaught Error: Object of class stdClass could not be converted to string in /wp-content/plugins/video-conferencing-with-zoom-api/includes/Shortcodes/Meetings.php on line 166
    PHP Fatal error: Uncaught Error: Object of class stdClass could not be converted to string in /wp-content/plugins/video-conferencing-with-zoom-api/includes/Shortcodes/Meetings.php on line 166
  • The topic ‘Error when using shortcode’ is closed to new replies.