Support

Home Forums Event Espresso Premium Website Crash

Website Crash

Posted: May 17, 2018 at 6:19 am

Viewing 6 reply threads


Mel

May 17, 2018 at 6:19 am

I get this error:

Fatal error: Uncaught exception ‘EventEspresso\core\exceptions\InvalidClassException’ with message ‘The “\EventEspresso\core\domain\entities\shortcodes\.listing” Class is either missing or invalid.’ in /home/adventistrobotic/public_html/wp-content/plugins/event-espresso-core-reg/core/services/collections/CollectionLoader.php:302 Stack trace: #0 /home/adventistrobotic/public_html/wp-content/plugins/event-espresso-core-reg/core/services/collections/CollectionLoader.php(281): EventEspresso\core\services\collections\CollectionLoader->loadClassFromFQCN(‘\\EventEspresso\\…’) #1 /home/adventistrobotic/public_html/wp-content/plugins/event-espresso-core-reg/core/services/collections/CollectionLoader.php(90): EventEspresso\core\services\collections\CollectionLoader->loadFromFQCNs() #2 /home/adventistrobotic/public_html/wp-content/plugins/event-espresso-core-reg/core/services/shortcodes/ShortcodesManager.php(116): EventEspresso\core\services\collections\CollectionLoader->__construct(Object(EventEspresso\core\services\collections\C in /home/adventistrobotic/public_html/wp-content/plugins/event-espresso-core-reg/core/services/collections/CollectionLoader.php on line 302

I have moved the site recently to a new server and also upgraded Apache and set to upgrade PHP.


Josh

  • Support Staff

May 17, 2018 at 6:55 am

Hi melwade,

The error may be caused by the new web server having HHVM and/or APC activated. Can you check with your host to see if they can deactivate those?


Mel

May 18, 2018 at 2:32 am

We have confirmed that neither of these is installed on the server. This is not the problem.


Josh

  • Support Staff

May 18, 2018 at 7:01 am

OK thanks for checking. Normally there isn’t an
EventEspresso\core\domain\entities\shortcodes\.listing class to be found anywhere and we’ve seen issues like this with servers that have bytecode (APC or OPcache) caching enabled (or HHVM).

If no bytecode caching then is there any custom code, perhaps activated in a plugin, that’s setting up a custom .listing shortcode?


Tony

  • Support Staff

May 18, 2018 at 4:12 pm

Are you using a host that mirrors staging to live?

How did you move the site from one server to another?

Try removing the Event Espresso plugin from the plugins menu (you will not lose any data just deleting the plugin) and reinstalling through Plugins -> Add new -> Upload plugin (please do not use FTP to upload the plugin).

It’s looks like wget creates temporary .listing files that list the files from the original location and if that file is left in the directory EE will attempt to load it in the same way it dynamically loads various files/classes. (I’ll create a ticket for us to investigate this further).

See: https://superuser.com/questions/873801/can-i-remove-listing-files-from-web-subdirectories


Mel

May 19, 2018 at 3:09 am

I had moved the site. Reinstalling did the trick. Thanks.


Tony

  • Support Staff

May 21, 2018 at 4:42 am

You’re most welcome.

You usually wont have .listing files as they are usually removed unless a flag is set not to delete them, however as the above shows it can happen so I’ve created a ticket so we can try and make sure EE doesn’t load those files in the future.

Viewing 6 reply threads

The support post ‘Website Crash’ 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