Good morning. Can you help me. I can’t get EE out of maintenance mode – the database won’t migrate. Have attempted again and again and again…Am on WordPress 4.6.1, EE4, Theme Enfold. Here are the messages in the system. Site is http://www.EDCCOnline.org
Thank you!
Melodie
Event Espresso has detected event data from version EE4.7.8.p (Core) that can be migrated (updated) to work with version EE4.8.0 (Core).
Since you have already been using Event Espresso and have previous event and registration data in your database, you have the option to migrate, or copy over, this existing data into a format that is compatible with EE4.8.0 (Core).
It appears that your previous Data Migration Task (Core Data Migration to version 4.8.0) is incomplete, and should be resumed
Warnings occurred during your last migration (Core Data Migration to version 4.8.0):
<br /> <b>Warning</b>: session_start(): Cannot send session cache limiter – headers already sent (output started at /home1/cgm4edcc/public_html/edcconline.org/wp-content/themes/enfold-child/functions.php:30) in <b>/home1/cgm4edcc/public_html/edcconline.org/wp-content/plugins/event-espresso-core-reg/core/EE_Session.core.php</b> on line <b>401</b><br /> {\”error\”:false,\”success\”:false,\”notices\”:\”<div id=\\\”espresso-notices\\\”><\\/div>\”,\”content\”:\”\”,\”data\”:{\”records_to_migrate\”:493,\”records_migrated\”:50,\”status\”:\”status_continue\”,\”message\”:\”Migrated 49 records successfully during Event Sub-total line items<br>Migrated 1 records successfully during Pre-tax total line items\”,\”script\”:\”Core Data Migration to version 4.8.0\”,\”template_args\”:{\”admin_page_header\”:\”\”,\”admin_page_content\”:\”\”,\”post_body_content\”:\”\”,\”before_list_table\”:\”\”,\”after_list_table\”:\”\”,\”notices\”:\”<div id=\\\”espresso-notices\\\”><\\/div>\”}},\”isEEajax\”:true}
Reattempt migration
{\”error\”:false,\”success\”:false,\”errors\”:false,\”attention\”:false,\”notices\”:\”<div id=\\\”espresso-notices\\\”><\\/div>\”,\”content\”:\”\”,\”data\”:{\”records_to_migrate\”:493,\”records_migrated\”:50,\”status\”:\”status_continue\”,\”message\”:\”Migrated 0 records successfully during Event Sub-total line items\”,\”script\”:\”Core Data Migration to version 4.8.0\”,\”template_args\”:{\”admin_page_header\”:\”\”,\”admin_page_content\”:\”\”,\”post_body_content\”:\”\”,\”before_list_table\”:\”\”,\”after_list_table\”:\”\”,\”success\”:false,\”errors\”:false,\”attention\”:false,\”notices\”:\”<div id=\\\”espresso-notices\\\”><\\/div>\”}},\”isEEajax\”:true}
Reattempt migration
Hi Melodie,
The PHP warnings indicate that there’s something that does not belong in this file, /wp-content/themes/enfold-child/functions.php, on line 30. After that’s been fixed, you can re-run the migration.
Howdy, Melodie ReaganMelodie Reagan
Log Out
Event Espresso – Maintenance
As part of the process for updating Event Espresso, your database also needs to be updated. Event Espresso is in COMPLETE MAINTENANCE MODE (both WordPress admin pages and front-end event registration pages are disabled) until you run the database update script. Visit the Maintenance Page to get started, it only takes a moment.
MaintenanceReset/Delete DataSystem Information
Event Espresso has detected event data from version EE4.7.8.p (Core) that can be migrated (updated) to work with version EE4.8.0 (Core).
Since you have already been using Event Espresso and have previous event and registration data in your database, you have the option to migrate, or copy over, this existing data into a format that is compatible with EE4.8.0 (Core).
It appears that your previous Data Migration Task (Core Data Migration to version 4.8.0) is incomplete, and should be resumed
Warnings occurred during your last migration (Core Data Migration to version 4.8.0):
<br /> <b>Warning</b>: session_start(): Cannot send session cache limiter – headers already sent (output started at /home1/cgm4edcc/public_html/edcconline.org/wp-content/themes/enfold-child/functions.php:30) in <b>/home1/cgm4edcc/public_html/edcconline.org/wp-content/plugins/event-espresso-core-reg/core/EE_Session.core.php</b> on line <b>401</b><br /> {\”error\”:false,\”success\”:false,\”notices\”:\”<div id=\\\”espresso-notices\\\”><\\/div>\”,\”content\”:\”\”,\”data\”:{\”records_to_migrate\”:493,\”records_migrated\”:50,\”status\”:\”status_continue\”,\”message\”:\”Migrated 49 records successfully during Event Sub-total line items<br>Migrated 1 records successfully during Pre-tax total line items\”,\”script\”:\”Core Data Migration to version 4.8.0\”,\”template_args\”:{\”admin_page_header\”:\”\”,\”admin_page_content\”:\”\”,\”post_body_content\”:\”\”,\”before_list_table\”:\”\”,\”after_list_table\”:\”\”,\”notices\”:\”<div id=\\\”espresso-notices\\\”><\\/div>\”}},\”isEEajax\”:true}
Reattempt migration
{\”error\”:false,\”success\”:false,\”errors\”:false,\”attention\”:false,\”notices\”:\”<div id=\\\”espresso-notices\\\”><\\/div>\”,\”content\”:\”\”,\”data\”:{\”records_to_migrate\”:493,\”records_migrated\”:50,\”status\”:\”status_continue\”,\”message\”:\”Migrated 0 records successfully during Event Sub-total line items\”,\”script\”:\”Core Data Migration to version 4.8.0\”,\”template_args\”:{\”admin_page_header\”:\”\”,\”admin_page_content\”:\”\”,\”post_body_content\”:\”\”,\”before_list_table\”:\”\”,\”after_list_table\”:\”\”,\”success\”:false,\”errors\”:false,\”attention\”:false,\”notices\”:\”<div id=\\\”espresso-notices\\\”><\\/div>\”}},\”isEEajax\”:true}
Reattempt migration
When you switched themes did you switch to a default theme such as TwentyFifteen or TwentySixteen?
The error being thrown is the same as above so it seems the enfold-child theme was still active.
What appears to be happening is the enfold-child theme is causing a headers already sent notice which is being thrown during the EE ajax request. This means that when EE receives the response back it has no idea what the first part of the response is, this bit:
<br /> <b>Warning</b>: session_start(): Cannot send session cache limiter – headers already sent (output started at /wp-content/themes/enfold-child/functions.php:30) in <b>/wp-content/plugins/event-espresso-core-reg/core/EE_Session.core.php</b> on line <b>401</b><br />
Its simply expecting this:
{\”error\”:false,\”success\”:false,\”notices\”:\”<div id=\\\”espresso-notices\\\”><\\/div>\”,\”content\”:\”\”,\”data\”:{\”records_to_migrate\”:493,\”records_migrated\”:50,\”status\”:\”status_continue\”,\”message\”:\”Migrated 49 records successfully during Event Sub-total line items<br>Migrated 1 records successfully during Pre-tax total line items\”,\”script\”:\”Core Data Migration to version 4.8.0\”,\”template_args\”:{\”admin_page_header\”:\”\”,\”admin_page_content\”:\”\”,\”post_body_content\”:\”\”,\”before_list_table\”:\”\”,\”after_list_table\”:\”\”,\”notices\”:\”<div id=\\\”espresso-notices\\\”><\\/div>\”}},\”isEEajax\”:true}
So as the notice has been thrown in request the migration script has no idea what to do with the data, what to do next etc and loops over.
So in your enfold-child themes functions.php something is causing headers to be sent to the site when it should not. This is often caused by closing the PHP tags and having whitespace afterwards but there are many possible causes.
The support post ‘Migration Issue’ 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.