• Resolved robdavisoac

    (@robdavisoac)


    I have about 5 sites with TEC all stuck trying to migrate events.

    {
      "installName": "intuitdance",
      "environment": "PROD",
      "type": "error",
      "date": "2022-09-26T14:18:43.000Z",
      "severity": "error",
      "client": "146.148.111.56:0",
      "message": "PHP Fatal error:  Uncaught TEC\\\\Events\\\\Custom_Tables\\\\V1\\\\Migration\\\\Migration_Exception: Undefined index: delete in /nas/content/live/intuitdance/wp-content/plugins/the-events-calendar/src/Events/Custom_Tables/V1/Migration/Process_Worker.php:622\\nStack trace:\\n#0 /nas/content/live/intuitdance/wp-content/object-cache.php(281): TEC\\\\Events\\\\Custom_Tables\\\\V1\\\\Migration\\\\Process_Worker->error_handler(8, 'Undefined index...', '/nas/content/li...', 281, Array)\\n#1 /nas/content/live/intuitdance/wp-content/object-cache.php(60): WP_Object_Cache->delete('doing_cron', 'transient')\\n#2 /nas/content/live/intuitdance/wp-includes/option.php(791): wp_cache_delete('doing_cron', 'transient')\\n#3 /nas/content/live/intuitdance/wp-cron.php(149): delete_transient('doing_cron')\\n#4 {main}\\n  thrown in /nas/content/live/intuitdance/wp-content/plugins/the-events-calendar/src/Events/Custom_Tables/V1/Migration/Process_Worker.php on line 622, referer: https://intuitdance.org/wp-cron.php?doing_wp_cron=1664201921.2978219985961914062500",
      "uuid": "4151dc4b-3a7a-4718-a5b1-bcc55adec824"
    }

    Please advise.

    The page I need help with: [log in to see the link]

Viewing 4 replies - 16 through 19 (of 19 total)
  • Eileen Mack

    (@mowsteadily)

    Hi,
    We also have several client sites unable to complete the migration preview with “WordPress database error Deadlock” errors showing up in the error log.
    PHP: 7.4.30 / WP 6.1.1 / Events Calendar 6.0.4 / Pro 6.0.3

    After some digging we disabled the migration preview by inserting the following filter:
    add_filter( 'tec_events_custom_tables_v1_db_transactions_supported', function(){ return false; } );

    Our sites now skip the migration preview but are able to complete the migration process itself seemingly without issues.

    Please let me know if there’s somewhere else to raise/share this issue.

    Plugin Support Abz

    (@abzlevelup)

    Hi @mowsteadily, thanks for sharing the filter here. This is definitely helpful for us. I am not entirely sure, and let me confirm this with our devs.

    add_filter( 'tec_events_custom_tables_v1_db_transactions_supported', function(){ return false; } );

    I’d get back to you whenever I hear from them.
    Hang in there.

    Best,
    Abz

    Plugin Support Abz

    (@abzlevelup)

    Hi @mowsteadily, this filter should work, and it is good to use on your end. However, please try and update to the latest version of the plugin and see if it persists.

    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 everyone.

    This thread has been inactive for a while, so we’ll go ahead and mark it Resolved. Please open a new thread if any other questions arise, and we’d be happy to help.

Viewing 4 replies - 16 through 19 (of 19 total)
  • The topic ‘Few sites able to migrate Events’ is closed to new replies.