• Resolved erikmelkersson

    (@erikmelkersson)


    When cloning an event we get the following error:

    WordPress version 6.4.1
    Active theme: (version )
    Current plugin: The Events Calendar (version 6.2.8) PHP version 8.2.12

    Error Details

    An error of type E_ERROR was caused in line 407 of the file /var/www/…/wp-content/plugins/the-events-calendar/common/src/Tribe/Tracker.php.

    Error message: Uncaught TypeError: Cannot access offset of type string on string in /var/www/…/wp-content/plugins/the-events-calendar/common/src/Tribe/Tracker.php:407
    Stack trace:

    0 /var/www/…/wp-includes/class-wp-hook.php(324): Tribe__Tracker->track_taxonomy_term_changes()

    1 /var/www/…/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()

    2 /var/www/…/wp-includes/plugin.php(517): WP_Hook->do_action()

    3 /var/www/…/wp-includes/taxonomy.php(2926): do_action()

    4 /var/www/…/wp-includes/post.php(5304): wp_set_object_terms()

    5 /var/www/…/wp-includes/post.php(4580): wp_set_post_terms()

    6 /var/www/…/wp-includes/post.php(4862): wp_insert_post()

    7 /var/www/…/wp-admin/includes/post.php(453): wp_update_post()

    8 /var/www/…/wp-admin/post.php(227): edit_post()

    9 {main}

    thrown

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Darian

    (@d0153)

    Hi @erikmelkersson

    I’m sorry to hear that you’re having this issue. Let me help you with this one.

    By any chance, are you using The Events Calendar PRO’s “Duplicate” feature? If not, may I know the name of the plugin you’re using to clone your events? I want to check it further on my side.

    Looking forward to your reply.

    Thread Starter erikmelkersson

    (@erikmelkersson)

    After further investigation it seems they have built something on their own and that code is now not working. I will instead redirect the issue to those who built that one.

    I am sorry to have bothered you with this issue.

    Plugin Support Darian

    (@d0153)

    Hi @erikmelkersson

    No worries! Please do not hesitate to start a new thread if you have other issues at all.

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

The topic ‘Error when cloning an event’ is closed to new replies.