Support

Home Forums Event Espresso Premium Fatal error: Cannot redeclare espresso_version()

Fatal error: Cannot redeclare espresso_version()

Posted: August 19, 2014 at 8:18 pm

Viewing 3 reply threads


DrPro Admin

August 19, 2014 at 8:18 pm

Hi,

Could someone help me. I accidentally activate event-espresso-core version 4 before deactivate the event-espresso version 3. How can I reset the system before I activate the version 4? Thanks.

Regards,


Tony

  • Support Staff

August 20, 2014 at 3:08 am

Hi,

Did you create a Full Site Back-up before install EE4?

You’ll need FTP access your site to de-activate one of the plugins.

Login using FTP and navigate to wp-content/plugins/

In there you’ll see the event-espresso and event-espresso-core-reg directories.

Change event-espresso-core-reg to another name, for example ‘event-espresso-core-reg-temp’

Now try to login to your Dashboard, that will de-activate EE4 and should remove the error. I would comment using FTP again to rename the directory back to the original name ‘event-espresso-core-reg’ (renaming it back to the original name will not re-activate the plugin).

Now if you previously did not create a Full Site Back-up, this would be the best time to do so as EE4 is a vastly different system to EE3.

Then simply de-activate EE3, activate EE4 and run through the Migrations.


Dean

August 20, 2014 at 3:14 am

Hi,

If you have access to the WordPress dashboard, please deactivate all Event Espresso plugins and then activate just EE4.

If you are locked out of the dashboard, you will need to use FTP or your hosts control panels file manager to rename the event espresso folders (just add something to the end).

This will force WordPress to diable those plugins and give you access back.


DrPro Admin

August 21, 2014 at 1:59 am

Thanks for the support. It already resolved as your suggestion. 🙂

Viewing 3 reply threads

The support post ‘Fatal error: Cannot redeclare espresso_version()’ 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