Support

Home Forums Event Espresso Premium Site crashed on activation of EE4

Site crashed on activation of EE4

Posted: January 17, 2016 at 5:08 pm


Amanda

January 17, 2016 at 5:08 pm

My site crashed on activation of EE. This is the error message:

The website encountered an error while retrievinghttp://localhost:8888/stresscare2/wp-admin/plugins.php?activate=true&plugin_status=all&paged=1&s=. It may be down for maintenance or configured incorrectly.

Removing the plugin folder restored the site. This happen with both the regular and decaf versions. I’m running the site on a local MAMP installation.


Tony

  • Support Staff

January 18, 2016 at 3:53 am

Hi Amanda,

If you enabled WP_DEBUG and re-activate EE is there any error message shown?

You should also be able to check the error log available within:

/Applications/MAMP/logs/php_error.log


Amanda

January 19, 2016 at 11:35 am

Hi Tony,
I enabled WP_DEBUG but didn’t get any error message. However I’m not really sure how to use WP_DEBUG.

Here is what it says in the php_error.log for my latest attempt to activate EE:

[19-Jan-2016 18:29:19 UTC] PHP Fatal error: Uncaught Error: Call to a member function init_caps() on null in /Applications/MAMP/htdocs/stresscare2/wp-content/plugins/event-espresso-core-reg/core/EE_System.core.php:181
Stack trace:
#0 /Applications/MAMP/htdocs/stresscare2/wp-includes/plugin.php(525): EE_System->load_espresso_addons(”)
#1 /Applications/MAMP/htdocs/stresscare2/wp-content/plugins/event-espresso-core-reg/core/EE_Bootstrap.core.php(140): do_action(‘AHEE__EE_Bootst…’)
#2 /Applications/MAMP/htdocs/stresscare2/wp-includes/plugin.php(525): EE_Bootstrap::load_espresso_addons(”)
#3 /Applications/MAMP/htdocs/stresscare2/wp-settings.php(276): do_action(‘plugins_loaded’)
#4 /Applications/MAMP/htdocs/stresscare2/wp-config.php(96): require_once(‘/Applications/M…’)
#5 /Applications/MAMP/htdocs/stresscare2/wp-load.php(37): require_once(‘/Applications/M…’)
#6 /Applications/MAMP/htdocs/stresscare2/wp-admin/admin.php(31): require_once(‘/Applications/M…’)
#7 /Applications/MAMP/htdocs/stresscare2/wp-admin/plugins.php(10): require_once(‘/Applications in /Applications/MAMP/htdocs/stresscare2/wp-content/plugins/event-espresso-core-reg/core/EE_System.core.php on line 181


Josh

  • Support Staff

January 19, 2016 at 1:02 pm

The error indicates that your installation of EE is missing some files. Can you try reinstalling a fresh copy of the current version of EE4 that you download from your account page?


Amanda

January 19, 2016 at 5:29 pm

I reinstalled a fresh copy of EE that I just downloaded from my account page. Exactly the same error happened. Here is the log from MAMP php_error.log

[19-Jan-2016 22:44:40 UTC] PHP Fatal error: Uncaught Error: Call to a member function init_caps() on null in /Applications/MAMP/htdocs/stresscare2/wp-content/plugins/event-espresso-core-reg/core/EE_System.core.php:181
Stack trace:
#0 /Applications/MAMP/htdocs/stresscare2/wp-includes/plugin.php(525): EE_System->load_espresso_addons(”)
#1 /Applications/MAMP/htdocs/stresscare2/wp-content/plugins/event-espresso-core-reg/core/EE_Bootstrap.core.php(140): do_action(‘AHEE__EE_Bootst…’)
#2 /Applications/MAMP/htdocs/stresscare2/wp-includes/plugin.php(525): EE_Bootstrap::load_espresso_addons(”)
#3 /Applications/MAMP/htdocs/stresscare2/wp-settings.php(276): do_action(‘plugins_loaded’)
#4 /Applications/MAMP/htdocs/stresscare2/wp-config.php(96): require_once(‘/Applications/M…’)
#5 /Applications/MAMP/htdocs/stresscare2/wp-load.php(37): require_once(‘/Applications/M…’)
#6 /Applications/MAMP/htdocs/stresscare2/wp-admin/admin.php(31): require_once(‘/Applications/M…’)
#7 /Applications/MAMP/htdocs/stresscare2/wp-admin/plugins.php(10): require_once(‘/Applications in /Applications/MAMP/htdocs/stresscare2/wp-content/plugins/event-espresso-core-reg/core/EE_System.core.php on line 181


Tony

  • Support Staff

January 20, 2016 at 4:40 am

Hi Amanda,

How exactly are you installing Event Espresso?

Are you manually extracting the zip file and placing that within /plugins/ or are you using the plugin manager built into WordPress to upload the file file for you? If not the latter can you retry using the plugin manager after downloading a fresh copy from your account page.

Basically that error is being thrown immediately after trying to include a core file that should always be included within core, it’s a really strange error to have and would point to an issue with the installation.


Amanda

January 20, 2016 at 12:50 pm

Hello? Now I got an error message saying I did a duplicate reply, but that’s just because I got the same error message.

Amanda


Amanda

January 20, 2016 at 12:51 pm

Sorry, that’s weird, your reply just appeared.


Amanda

January 20, 2016 at 12:54 pm

I’m installing it by using the plug-in manager–uploading the freshly downloaded, from my account page, zip file.


Lorenzo Orlando Caum

  • Support Staff

January 20, 2016 at 12:55 pm

Hi Amanda, could you share feedback on how you are installing Event Espresso 4 on your WordPress site?

https://eventespresso.com/topic/site-crashed-on-activation-of-ee4/#post-188653

Thanks


Lorenzo


Amanda

January 20, 2016 at 12:59 pm

Hi Lorenzo,
I’m installing it by using the plug-in manager–uploading the freshly downloaded, from my account page, zip file.


Josh

  • Support Staff

January 20, 2016 at 1:43 pm

Can you check if your installation has a /event-espresso-core-reg/core/EE_Capabilities.core.php file and that the file’s permissions allow it to be read?


Amanda

January 20, 2016 at 2:29 pm

Yes, it has that file and I can read it.


Josh

  • Support Staff

January 20, 2016 at 7:32 pm

It’s good that you can read it, the important thing to find out though, is if PHP/WordPress can read it. Can you check the file permissions and the folder permissions for its enclosing folder can be read by PHP on the server.


Amanda

January 21, 2016 at 11:05 am

both the doc and it’s enclosing folder (core) have read and write permissions for myself, but only read permission for admin and everyone.


Josh

  • Support Staff

January 21, 2016 at 11:22 am

Which version of PHP do you happen to be running on that server?


Amanda

January 21, 2016 at 12:32 pm

Version 7.0.0


Lorenzo Orlando Caum

  • Support Staff

January 21, 2016 at 1:39 pm

Hi Amanda,

We have not tested Event Espresso 4 with PHP 7 or HHVM yet. Could you try re-launching your MAMP with PHP 5.4 or PHP 5.5?


Lorenzo


Amanda

January 21, 2016 at 2:21 pm

okay, I relaunched MAMP with PHP 5.6.10–and now I can activate EE!

Thanks!


Josh

  • Support Staff

January 21, 2016 at 3:21 pm

You’re welcome.

The support post ‘Site crashed on activation of EE4’ 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