Posted: May 6, 2016 at 1:59 am
|
Hello, I just purchased Event Espresso 4 and used the compatibility plugin on my website and it has caused a Fatal Error. I am panicking as I am not a web developer, I am the owner of the website and I have always managed my own WordPress website. Please help urgently, as my business relies on my website. I am operating on WP 4.5.1. The error message is as follows: Fatal error: Call to undefined function session_status() in /public_html/wp-content/plugins/event-espresso-requirements-check (trunk) copy/espresso_requirements_check.php on line 20 |
Hi Monica, That error means your server is likely running PHP 5.2/3 You’ll need to de-activate the requirements plugin to remove the error, do you have FTP access to the site? Or access to some form of ‘File manager’ through your host control panel? |
|
|
Hi Tony, Thank you for your prompt response. I can’t even access my WP Dashboard. My host is Hostgator. I have access to my cpanel. What should I do? |
|
I have located the file manager and have the following options: |
That’s ‘normal’ when a fatal error is being thrown.
Log into cPanel and find ‘File Manager’. Load that up and you’ll need to find where you sites files are, this is usually within root (/) or it may be within /www/{sitename}/ Once you find the root directory for your sites files you’ll see /wp-content/ In there /plugins/ In that list you’ll find an ‘espresso-requirements’ folder. Rename that to something different ‘espresso-requirements-temp’ will do fine. Then try loading your site, it should work. If you are unsure of any of the above I can de-activate this for you if you prefer. If so you can send cPanel login details using this form: |
|
From the above it is most likely ‘Web Root’ to show the root directory |
|
|
Thank you, thank you, thank you! It worked. It seems I can’t use EE4. When I try to activate it I get the following message: We’re sorry, but Event Espresso requires PHP version 5.3.0 or greater in order to operate. You are currently running version 5.2.17. I don’t suppose you can help me with this, too, please? |
Yeah you need PHP 5.3 or greater for EE4, personally I would use at least PHP 5.6. Note that EE does not currently officially support PHP7 however we do run a couple of test sites on PHP7 and have not had issues. On hostgator, you may be able to select the PHP version your site is using, see here: http://support.hostgator.com/articles/cpanel/php-configuration-plugin If not you will need to contact hostgator support and have them do it on the server for you. |
|
|
Thank you! You have been a tremendous help. I have taken your advice and updated to PHP 5.6 and have successfully activated EE4. |
You’re most welcome, Monica. I’m glad you’re up and running 🙂 If you run into any further problems please do let us know. |
|
The support post ‘Fatal error because old unsupported version of PHP’ 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.