Support

Home Forums Event Espresso Premium Update EE4 problems

Update EE4 problems

Posted: January 7, 2016 at 11:27 am


tim ayres

January 7, 2016 at 11:27 am

I updated to the current version of software fine but when I clicked to update the db I get an error:

Event Espresso recommends PHP version 5.4.44 or greater for optimal performance. You are currently running version 5.3.8.
In order to update your version of PHP, you will need to contact your current hosting provider.
For information on stable PHP versions, please go to http://php.net/downloads.php.

Database table wp_esp_registration_payment exists when it shouldn’t, and may contain erroneous data. If you have previously restored your database from a backup that didn’t remove the old tables, then we recommend adding

define( ‘EE_DROP_BAD_TABLES’, TRUE );

to your wp-config.php file then restore to that backup again. This will clear out the invalid data from wp_esp_registration_payment. Afterwards you should undo that change from your wp-config.php file.
If you cannot edit wp-config.php, you should remove the data from wp_esp_registration_payment manually then restore to the backup again.

Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 7680 bytes) in /home/../public_html/wp-content/plugins/event-espresso-core-reg/core/data_migration_scripts/4_1_0_stages/EE_DMS_4_1_0_question_groups.dmsstage.php on line 69

I went into mysql admin and deleted the table manually, but still nothing works.


Lorenzo Orlando Caum

  • Support Staff

January 7, 2016 at 12:07 pm

Hello,

Please ask your web host to update your version of PHP (e.g. PHP 5.4 or newer). You can create a support ticket with that and they will be able to assist you.

On the error, your site is running out of memory. Could you try the following steps?

1) Raise the memory that is available to PHP through your wp-config.php file:

https://codex.wordpress.org/Editing_wp-config.php#Increasing_memory_allocated_to_PHP

2) Also, add the following macro towards the middle of your wp-config.php file and save changes:

define ( EE_MIGRATION_STEP_SIZE, 10 );

Then try the migration again and it should work as expected.


Lorenzo


tim ayres

January 7, 2016 at 2:13 pm

I raised the memory in wp-config.php. I still get the memory error. Does it need more than 67MB?

I put the define ( EE_MIGRATION_STEP_SIZE, 10 ); also in the wp-config.php, but im not sure how to run the migration again? Most EE admin pages just have memory error.


Josh

  • Support Staff

January 7, 2016 at 2:29 pm

Your server is running low on memory, so anything you can do to either reduce the amount of memory used (like temporarily deactivate other WP plugins) or raise the memory limit, will help.

The support post ‘Update EE4 problems’ 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