Support

Home Forums Event Espresso Premium Migration Issue

Migration Issue

Posted: November 30, 2016 at 8:51 am

Viewing 6 reply threads


Melodie Reagan

November 30, 2016 at 8:51 am

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


Josh

  • Support Staff

November 30, 2016 at 9:08 am

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.


Tony

  • Support Staff

November 30, 2016 at 9:20 am

Hi there,

The above doesn’t help narrow down the problem, although it does show headers are being sent by your child themes functions.php file:

headers already sent (output started at /wp-content/themes/enfold-child/functions.php:30)

If you check within your themes functions.php file what is shown on line 30?

Do you have access to the servers error logs? If so are any errors shown from EE there?

Or you could try temporarily switching to one of the default themes, run the migration and then switch back and see if that prevents the above.


Melodie Reagan

November 30, 2016 at 10:20 am

Thanks for the feedback. Love you guys.

I’ll try swapping the theme tonight and running the migration. If that doesn’t work, I’ll be in touch. Thanks.


Melodie Reagan

November 30, 2016 at 10:54 pm

Hi Tony,
Tried swapping the theme. No go… the migration is hanging at 10% and I keep getting 0 records migrated over and over and over again.

And it looks like I am getting the same message (see below). What’s next?

Thanks!
Melodie

0 comments awaiting moderation
New
SEO22 notifications
Theme Options
Delete Cache
UpdraftPlus

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


Tony

  • Support Staff

December 1, 2016 at 5:52 am

How did you swap the theme?

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.


Melodie Reagan

December 3, 2016 at 4:30 pm

Thanks. Working on it.

Viewing 6 reply threads

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.

Event Espresso