I saw an updated version of EE4 was available. when I did the update a fatal error occurred while doing core data migration. (data migration error) My site is stuck in maintenance mode. I am not sure the best way forward (I’m afraid to reset data) from here without losing any of my event registrations, custom templates etc.
I’m sorry for the trouble. Do you know what the fatal error was? If it was a fatal error that said that the server is out of memory, you can avoid this by going into wp-config.php and add this line to the Developers section of the wp-config file.
define( 'EE_MIGRATION_STEP_SIZE', 5);
This will make the migration manager migrate only 5 records per request instead of the default 50. That means the migration will go much slower but there’s less chance of a timeout.
It was a server memory issue which has been resolved. I have restored my backup and yet my site is still in full maintenance mode I don’t know the best next step to avoid losing registrations. I reset event espresso capabilities and nothing changed.
Does the maintenance page give you the option to run the migration? If so, you need to run the migration. Once the migration is done it will take the site out of maintenance mode.
Viewing 4 reply threads
The support post ‘Update caused fatal error. Site stuck in Maintenance mode’ 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.
Support forum for Event Espresso 3 and Event Espresso 4.