Skip to content

Instantly share code, notes, and snippets.

@lorenzocaum
Last active October 30, 2015 18:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lorenzocaum/78fc11939eefcff8a272 to your computer and use it in GitHub Desktop.
Save lorenzocaum/78fc11939eefcff8a272 to your computer and use it in GitHub Desktop.
Tips for recovering from a crashed or frozen migration from Event Espresso 3 to Event Espresso 4

One of the common reasons for a migration not completing is the WordPress site running out of memory. The solution is to increase the memory that is available to PHP and reduce the migration step size through the wp-config.php file.

An SFTP or FTP client will be needed. FileZilla and Cyberduck are free options that are available for multiple platforms. Using a Mac? Try Transmit.

Login to your WordPress site using your preferred SFTP / FTP client and browse to the WordPress root.

Then open your wp-config.php file for editing. Copy the following constants:

define( 'WP_MEMORY_LIMIT', '128M' );
define( EE_MIGRATION_STEP_SIZE, 10 );

Then paste then towards the middle of your wp-config.php and save changes. From here, return to your WordPress dashboard (WP-admin) and try the migration again.

@lorenzocaum
Copy link
Author

References:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment