Conflict with Teh Events Calendar shortcode & Block
-
I am getting critical errors when running Widget Options with The Events Calendar Shortcode & Block plugin. the error occurs both on the front of the site and in the editor. The page just contains the block from the Shortcode & Block plugin and I am not using any Widget Options on the page.
The error I am getting is:
[13-May-2024 13:29:08 UTC] PHP Fatal error: Uncaught Error: Object of class stdClass could not be converted to string in xxx\wp-content\plugins\the-events-calendar-shortcode\block\init.php:140 Stack trace: #0 xxx\wp-includes\class-wp-block.php(463): ecs_render_block(Array, '', Object(WP_Block)) #1 xxx\wp-includes\blocks.php(1705): WP_Block->render() #2 xxx\wp-includes\blocks.php(1743): render_block(Array) #3 xxx\wp-includes\class-wp-hook.php(324): do_blocks('<!-- wp:paragra...') #4 xxx\wp-includes\plugin.php(205): WP_Hook->apply_filters('<!-- wp:paragra...', Array) #5 xxx\wp-includes\rest-api\endpoints\class-wp-rest-posts-controller.php(1865): apply_filters('the_content', '<!-- wp:paragra...') #6 xxx\wp-includes\rest-api\endpoints\class-wp-rest-posts-controller.php(569): WP_REST_Posts_Controller->prepare_item_for_response(Object(WP_Post), Object(WP_REST_Request)) #7 xxx\wp-includes\rest-api\class-wp-rest-server.php(1230): WP_REST_Posts_Controller->get_item(Object(WP_REST_Request)) #8 xxx\wp-includes\rest-api\class-wp-rest-server.php(1063): WP_REST_Server->respond_to_request(Object(WP_REST_Request), '/wp/v2/pages/(?...', Array, NULL) #9 xxx\wp-includes\rest-api.php(555): WP_REST_Server->dispatch(Object(WP_REST_Request)) #10 xxx\wp-includes\rest-api.php(2922): rest_do_request(Object(WP_REST_Request)) #11 [internal function]: rest_preload_api_request(Array, '/wp/v2/pages/30...') #12 xxx\wp-includes\block-editor.php(753): array_reduce(Array, 'rest_preload_ap...', Array) #13 xxx\wp-admin\edit-form-blocks.php(77): block_editor_rest_api_preload(Array, Object(WP_Block_Editor_Context)) #14 xxx\wp-admin\post.php(187): require('C:\\xampp\\htdocs...') #15 {main} thrown in xxx\wp-content\plugins\the-events-calendar-shortcode\block\init.php on line 140
The site is running WP 6.5.3. I have reverted to Twenty-Twenty-One theme and have only 3 plugins active:
- The Events Calendar Version 6.4.0.1 by The Events Calendar
- The Events Calendar Shortcode & Block Version 2.8.5 by Event Calendar Newsletter
- Widget Options Version 4.0.6 by Widget Options Team
The problem occurs both when I have Classic Widgets option enabled and Gutenberg disabled, and the other way round.
Could you please have a look?
Viewing 8 replies - 1 through 8 (of 8 total)
Viewing 8 replies - 1 through 8 (of 8 total)
- You must be logged in to reply to this topic.