• 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 15 replies - 1 through 15 (of 19 total)
  • Hey @robdavisoac

    First off, we are sorry that the migration is not going smoothly for your sites.

    Some of our customers are still experiencing issues. We are working on fixes for those, so stay tuned!

    The good news is that you should still be able to use the calendar as intended even without the migration.

    With that in mind, based on the error message you are met with, I wonder if you could get past it by following the instructions about caching plugins found here.

    Let us know how that goes,
    Geoff

    @geoffbel Same thing is happening with my sites. I can confirm no caching plugins are being used. Hosting environment is WP-Engine.

    Basically I’m getting the following error for each event it attempts to migrate:

    tec_events_custom_tables_v1_migration_process	
    Failed	
    
    0 => '5855'
    1 => true
    
    Non-repeating	async	
    
    2022-10-12 15:23:40 +0000
    action created
    2022-10-12 15:24:00 +0000
    action started via WP Cron
    2022-10-12 15:24:01 +0000
    action failed via WP Cron: Undefined index: delete
    Plugin Support Abz

    (@abzlevelup)

    Hi @badg0003, that’s definitely weird. Let’s see what we can do here.

    Two things I noticed with the log here. First is the undefined index: delete, this could mean that your database doesn’t have the correct privileges to run such action. Second, your WP Cron might be stuck.

    I’d recommend reaching out to your hosting provider and checking with them about the database privileges and resetting WP Cron. It would be also good to check if Cron is enabled. Then trying to re-run the migration. Please follow the troubleshooting URL here as well → https://theeventscalendar.com/knowledgebase/k/migrating/#Troubleshooting.

    To be safe, we’d recommend conducting these tests on a Staging Server. Also, please keep a working back up of your website.

    Let us know how it goes.

    Best,
    Abz

    @abzlevelup Thanks for the reply and info. I connected with my hosting provider and after running some tests on their end, along with re-attempting to migrate the events, he confirmed that the db/user does have delete privilege and that there are no errors related to queries on the database failing either.

    Plugin Support Abz

    (@abzlevelup)

    Hi @badg0003, thanks for confirming, and appreciate you working with me here. I am unsure if this is related to a migration error issue we are currently working on, but I’d check with the team. https://theeventscalendar.com/known-issues/#dl_migration-errors2

    May I know which hosting provider are you using?

    Best,
    Abz

    Plugin Support Gladys

    (@greventscalendar)

    Hi there,

    We wanted to let you know with our latest release of The Events Calendar 6.0.2; we resolved an issue that was causing error messages regarding critical errors that prevented migration from completing. Be sure to review our full Release Notes for more details and update your plugin at your earliest convenience.

    As always, we suggest testing updates on a staging site first and having a recent backup, but it should all be smooth sailing. If you implemented any workarounds, you may remove them after updating the plugins.

    If you still have issues after updating to the latest releases, please open a new forum thread and include any specific details with screenshots if possible.

    Have a great day,
    Gladys

    Beauty – I can confirm that my issue is resolved! ??

    Plugin Support Abz

    (@abzlevelup)

    Hi @badg0003, that’s good to know. Thanks for confirming. If you need help with another topic, please do not hesitate to bump a new thread on our way. This is for us to track down topics/issues efficiently and for us to follow the WordPress Forum Guidelines.

    Have a great day.

    Best,
    Abz

    Heh, turns out I do have a related issue. While the migration went through fine with no errors, all my existing events that were recurring (which I now see are part of a Series with this new version) are now throwing a 404 when I attempt to link to them. I tried using the 2022 theme /w no plugins enabled (other than Events Calendar) but the same issue persists.

    If I create a *new* recurring/series event, the link works fine. If I create a new event within an existing series, the link to it works fine, but again all the others in that series throw a 404.

    Plugin Support Abz

    (@abzlevelup)

    Hi @badg0003, sorry to hear about this, and thanks for bringing this to our attention. I’m curious, could you try flushing permalinks and see if that makes a difference → https://theeventscalendar.com/knowledgebase/k/fixing-http-404-errors/#flush-permalinks.

    Moreover, please make sure that you clear any caching, both plugin or server-side (if you have any).

    Best,
    Abz

    Thanks @abzlevelup. I gave that a shot but it didn’t seem to have any impact.

    Plugin Support Abz

    (@abzlevelup)

    Hi @badg0003, thanks for trying it out and confirming. This is a recent known issue where recurring events return 404. https://theeventscalendar.com/known-issues/#dl_ECP-1398.

    We already created an internal bug ticket for this, and I have added your case to it. Thanks for all the details, I will definitely pass it along to our devs.

    I am unable to provide an exact date or time estimate for when this bug will be fixed, but you’ll be notified when there are any updates.

    Since you have an active license and for us to help you better, please open a Support Ticket on our Help Desk. Also, for us to follow WordPress Forum Guidelines in regard to premium users.

    Hang in there,
    Abz
    ________________________

    Internal Bug Ticket Reference:
    ECP-1398

    Plugin Support Guga Alves

    (@gugaalves)

    Update: The issue was fixed on our latest releases!

    You can update your Events Calendar free and PRO plugins and that issue will be gone ??

    Thread Starter robdavisoac

    (@robdavisoac)

    I am still unable to upgrade https://countertopresource.com/

    I got this:

    “WordPress database error Deadlock found when trying to get lock; try restarting transaction for query INSERT INTO 70wy_postmeta (post_id, meta_key, meta_value) VALUES (19550, ‘_tec_ct1_report_category’, ‘tec-single-event-strategy’) /* From [countertopresource.com/wp-cron.php?doing_wp_cron=1668094926.0936999320983886718750] in [/nas/content/live/countertopres/wp-content/plugins/the-events-calendar/src/Events/Custom_Tables/V1/Migration/Reports/Event_Report.php:506″

    And now:

    “Cron unschedule event error for hook: fs_install_sync_the-events-calendar, Error code: could_not_set, Error message: The cron event list could not be saved., Data: {“schedule”:false,”args”:[”

    And can’t get past the splash page telling me to upgrade my events. This is still WPEngine.

    Plugin Support Abz

    (@abzlevelup)

    Hi @robdavisoac, that’s not good. Sorry to hear about this. I am not entirely sure about this behavior. However, I could see that the version of The Events Calendar on your website is already v6.0.4.

    Could you provide the following version of the following?
    1. PHP
    2. WordPress
    3. The Events Calendar
    4. Theme and Version

    Also, I’d reach out to the team regarding this error log here. Thanks for sharing as well.

    Looking forward to helping you with this one. Hang in there.

    Best,
    Abz

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