• Resolved boran1017

    (@boran1017)


    WordPress version: 6.7.1
    The Events Calendar version: 6.9.0

    Loading the main page of the wordpress site causes the following error:
    An error of type E_ERROR was caused in line 1128 of the file /var/www/wptbox/wp-content/plugins/the-events-calendar/common/src/Tribe/Rewrite.php. Error message: Uncaught TypeError: Cannot access offset of type string on string in /var/www/wptbox/wp-content/plugins/the-events-calendar/common/src/Tribe/Rewrite.php:1128

    Stacktrace:
    #0 /var/www/wptbox/wp-content/plugins/the-events-calendar/src/Tribe/Rewrite.php(673): Tribe__Rewrite->parse_request()
    #1 /var/www/wptbox/wp-content/plugins/the-events-calendar/src/Tribe/Views/V2/Url.php(156): Tribe__Events__Rewrite->parse_request()
    #2 /var/www/wptbox/wp-content/plugins/the-events-calendar/src/Tribe/Views/V2/Url.php(94): Tribe\Events\Views\V2\Url->parse_url()
    #3 /var/www/wptbox/wp-content/plugins/the-events-calendar/src/Tribe/Views/V2/View.php(1221): Tribe\Events\Views\V2\Url->__construct()
    #4 /var/www/wptbox/wp-content/plugins/the-events-calendar/src/Tribe/Views/V2/View.php(585): Tribe\Events\Views\V2\View->set_url()
    #5 /var/www/wptbox/wp-content/plugins/the-events-calendar/src/Tribe/Views/V2/Widgets/Widget_Abstract.php(85): Tribe\Events\Views\V2\View::make()
    #6 /var/www/wptbox/wp-content/plugins/the-events-calendar/src/Tribe/Views/V2/Widgets/Widget_List.php(89): Tribe\Events\Views\V2\Widgets\Widget_Abstract->setup_view()
    #7 /var/www/wptbox/wp-content/plugins/the-events-calendar/src/Tribe/Views/V2/Widgets/Widget_Abstract.php(66): Tribe\Events\Views\V2\Widgets\Widget_List->setup_view()
    #8 /var/www/wptbox/wp-content/plugins/the-events-calendar/common/src/Tribe/Widget/Widget_Abstract.php(303): Tribe\Events\Views\V2\Widgets\Widget_Abstract->setup()
    #9 /var/www/wptbox/wp-includes/widgets.php(1269): Tribe\Widget\Widget_Abstract->widget()
    #10 /var/www/wptbox/wp-includes/blocks/legacy-widget.php(55): the_widget()
    #11 /var/www/wptbox/wp-includes/class-wp-block.php(537): render_block_core_legacy_widget()
    #12 /var/www/wptbox/wp-includes/class-wp-block.php(517): WP_Block->render()
    #13 /var/www/wptbox/wp-includes/class-wp-block.php(517): WP_Block->render()
    #14 /var/www/wptbox/wp-includes/class-wp-block.php(517): WP_Block->render()
    #15 /var/www/wptbox/wp-includes/class-wp-block.php(517): WP_Block->render()
    #16 /var/www/wptbox/wp-includes/class-wp-block.php(517): WP_Block->render()
    #17 /var/www/wptbox/wp-includes/class-wp-block.php(517): WP_Block->render()
    #18 /var/www/wptbox/wp-includes/blocks.php(2190): WP_Block->render()
    #19 /var/www/wptbox/wp-includes/blocks.php(2242): render_block()
    #20 /var/www/wptbox/wp-includes/class-wp-hook.php(324): do_blocks()
    #21 /var/www/wptbox/wp-includes/plugin.php(205): WP_Hook->apply_filters()
    #22 /var/www/wptbox/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php(1933): apply_filters()
    #23 /var/www/wptbox/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php(635): WP_REST_Posts_Controller->prepare_item_for_response()
    #24 /var/www/wptbox/wp-includes/rest-api/class-wp-rest-server.php(1292): WP_REST_Posts_Controller->get_item()
    #25 /var/www/wptbox/wp-includes/rest-api/class-wp-rest-server.php(1125): WP_REST_Server->respond_to_request()
    #26 /var/www/wptbox/wp-includes/rest-api.php(576): WP_REST_Server->dispatch()
    #27 /var/www/wptbox/wp-includes/rest-api.php(2957): rest_do_request()
    #28 [internal function]: rest_preload_api_request()
    #29 /var/www/wptbox/wp-includes/block-editor.php(753): array_reduce()
    #30 /var/www/wptbox/wp-admin/edit-form-blocks.php(77): block_editor_rest_api_preload()
    #31 /var/www/wptbox/wp-admin/post.php(187): require(‘…’)
    #32 {main}

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support tristan083

    (@tristan083)

    Hi @boran1017 ,

    Thank you for reaching out.

    I suspect there’s a conflict that’s causing the issue here. It would be good to test for conflicts. Could you follow the following steps?

    1. Deactivate all other plugins except for The Events Calendar Plugins.
    2. Switching to the Default theme.

    Please read the Testing for Conflicts Article before doing anything. 
    To be safe, we’d recommend conducting tests and updates on a Staging Server. Also, please keep a working backup of your website.

    Plugin Support Darian

    (@d0153)

    Hi @boran1017

    We just released a new version of our plugin that we believe should resolve the issue you reported.

    Please update all your plugins, and if you’re still experiencing the issue I recommend doing the tests provided above.

    Let me know how it goes.

    Plugin Support Darian

    (@d0153)

    Hi there,

    It appears that there hasn’t been any recent activity on this thread, so we’ll consider it resolved. However, if you have any additional questions or concerns, feel free to start a new thread.

    Thread Starter boran1017

    (@boran1017)

    I have updated to version 6.9.1 and so far everything appears to be working. I will update if I encounter any issues. Thank you

    Plugin Support Darian

    (@d0153)

    Hi @boran1017

    Thanks for your confirmation and I’m glad that it is now working.

    If you have some time to review, that would be amazing!

    https://wordpress.org/support/plugin/the-events-calendar/reviews/

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Uncaught TypeError: Cannot access offset of type string on string’ is closed to new replies.