Posted: January 8, 2020 at 9:42 am
We recently went through an update on our website (https://canvasstudioart.com/) in which an admin user who created all our content in Event Espresso was accidently deleted.
When we manually restored the site content we then began encountering a critical error with the Event Espresso plugin that made it impossible for us to access the site. I have copied the full error with the plugin below for your reference. In order to have the site up, we had to disable the current installed version of the Event Espresso plugin.
At this time we want to do the following:
1. Address the error so we can reinstate the plugin (our hosting provider has advised against reactivating the plugin that’s currently installed since it will cause the site to go down again).
2. Recover data from our prior install of Event Espresso in a new, functioning version of the plugin. This includes customer and event data from all prior events.
ERROR MESSAGE COPIED BELOW FOR REFERENCE:
PHP Fatal error: Uncaught EventEspresso\core\exceptions\InvalidAliasException: “EventEspresso\core\services\cache\CacheStorageInterface” can not be used as an alias because the “EventEspresso\core\services\cache\TransientCacheStorage” class does not extend or implement it. in /home/megsell/canvasstudioart.com/wp-content/plugins/event-espresso-core-reg/core/services/loaders/ClassInterfaceCache.php:91
The error message indicates that there was a problem with the files that were restored to the server. The simple way to fix this is delete the Event Espresso 4 plugin from the site, then reinstall using a fresh copy of the plugin you can download from your account page here.
Then, to restore the missing contents, you’ll restore to an earlier database backup (not from any backups of files).