Posted: 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. |
|
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 |
|
Hi Tony, 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 |
|
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? |
|
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 |
|
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. |
|
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 |
|
Sorry, that’s weird, your reply just appeared. |
|
I’m installing it by using the plug-in manager–uploading the freshly downloaded, from my account page, zip file. |
|
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 — |
|
Hi Lorenzo, |
|
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? |
|
Yes, it has that file and I can read it. |
|
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. |
|
both the doc and it’s enclosing folder (core) have read and write permissions for myself, but only read permission for admin and everyone. |
|
Which version of PHP do you happen to be running on that server? |
|
Version 7.0.0 |
|
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? — |
|
okay, I relaunched MAMP with PHP 5.6.10–and now I can activate EE! Thanks! |
|
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.