After updating to 4.6 and then moving to production in WPEngine my site is down with a HTTP 500 error. I see the following in the logs:
PHP Fatal error: Cannot redeclare class ee_data_migration_class_base in /nas/wp/www/cluster-103/megadoevents/wp-content/plugins/event-espresso-core-reg/core/EE_Data_Migration_Script_Base.core.php on line 636
I need to investigate more, and I do realize that the WPENgine publish process is a bit of a black box. That being said, this scenario has always worked for me before and I expect quite a few folks to use WPEngine and possibly hit this.
Okay, the bug is with WPEngine. Basically the staging to migration process does not mirror the file system correctly – in other words, it ADDS new files but does not DELETE files that were deleted from the staging environment. It looks like you guys have deleted a few PHP files and refactored – WPEngine ignored that, so I had duplicate classes.
Thanks for clarifying. You are correct on the major release.
An update will not work correctly if files are merged (overwritten).
Enjoy your weekend!
—
Lorenzo
Viewing 4 reply threads
The support post ‘Error after updating to 4.6 and then moving to production in WPEngine’ 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.