Support

Home Forums Event Espresso Premium EE3 to EE4 Migration Failure

EE3 to EE4 Migration Failure

Posted: October 15, 2018 at 11:11 am


mtaloy_kdg

October 15, 2018 at 11:11 am

Hello,

We are upgrading from EE3 to EE4. We are running this upgrade on a test site prior to trying on the live site. When we updated, we chose to migrate the data from EE3 to EE4, but the migration was unsuccessful. We also are not able to import a back up we have as importing a CSV is not an option in EE4. How can we get our event info into EE4?

Thanks!


Josh

  • Support Staff

October 15, 2018 at 11:40 am

Hi,

Usually when a migration crashes, you’ll be given the option to restart the migration. Have you tried restarting the migration?

With regards to importing events into EE4 from a CSV file, that feature has not been built yet. If you have events from EE3 that you want to migrate to EE4, then you use the migration option.


mtaloy_kdg

October 15, 2018 at 12:58 pm

When we were prompted to upgrade the plugin, we chose the Migrate to EE4 option. When we chose to migrate all of our events and data, the migration stated that it completed successfully, and gave us additional update option to our current version (4.9.68.p). It appears that it migrated over the Categories and ShortCodes, however there are no Events listed in the Overview tab. I don’t see an option to roll back or recover the events that were there prior to the Migration upgrade.


Josh

  • Support Staff

October 15, 2018 at 1:21 pm

If you deactivate Event Espresso 4 and reactivate EE3 on that test site, are there any events listed on the events overview?


mtaloy_kdg

October 16, 2018 at 10:00 am

We are having issues while reactivating EE3. We are receiving this error upon activation:
Fatal error: Switch statements may only contain one default clause in /nfs/c12/h04/mnt/225682/domains/mtaloy.kdgtest.com/html/wp-content/plugins/event-espresso/includes/shortcodes.php on line 917


Josh

  • Support Staff

October 16, 2018 at 10:18 am

You’ll need a current version of EE3 to avoid that error. Your server has PHP 7 and the older versions of EE3 are not compatible with PHP 7. Newer versions of EE3 are compatible. You can get the current version of EE3 from GitHub:

https://github.com/eventespresso/event-espresso-legacy/archive/master.zip


mtaloy_kdg

October 18, 2018 at 6:20 am

When I reactivate EE3, there are no events. Only the categories remain in the plugin.


Josh

  • Support Staff

October 18, 2018 at 7:08 am

It sounds like maybe the test site has no events to migrate from EE3 then? Was all of the database copied over from the live site to the test site?


mtaloy_kdg

October 23, 2018 at 9:46 am

We had some issues with the database. When we put EE3 back on with the reimported database, events did show. When we activate EE4, events do not show.


Josh

  • Support Staff

October 23, 2018 at 10:52 am

The reason for no events when you activate EE4 is because of the earlier issues with the database when you first activated EE4. What you can do is go to EE4’s Maintenance > Rest page and select the option to permanently delete all EE4 data (the last option). This will remove all EE4 tables and options, but will not touch the EE3 data. It will also deactivate EE4. Once that’s done, you can reactivate EE4 and it will give you the option to migrate the data from EE3.

The support post ‘EE3 to EE4 Migration Failure’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso