Support

Home Forums Event Espresso Premium Fatal error because old unsupported version of PHP

Fatal error because old unsupported version of PHP

Posted: May 6, 2016 at 1:59 am


musicwithmonica

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


Tony

  • Support Staff

May 6, 2016 at 2:16 am

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?


musicwithmonica

May 6, 2016 at 2:20 am

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?


musicwithmonica

May 6, 2016 at 2:25 am

I have located the file manager and have the following options:
Home Directory
Web Root
Public FTP Root
Document Root


Tony

  • Support Staff

May 6, 2016 at 2:27 am

I can’t even access my WP Dashboard.

That’s ‘normal’ when a fatal error is being thrown.

I have access to my cpanel. What should I do?

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:

https://eventespresso.com/send-login-details/


Tony

  • Support Staff

May 6, 2016 at 2:29 am

From the above it is most likely ‘Web Root’ to show the root directory


musicwithmonica

May 6, 2016 at 2:38 am

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.
In order to update your version of PHP, you will need to contact your current hosting provider.
For information on stable PHP versions, please go to http://php.net/downloads.php.

I don’t suppose you can help me with this, too, please?


Tony

  • Support Staff

May 6, 2016 at 2:52 am

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.


musicwithmonica

May 6, 2016 at 3:06 am

Thank you! You have been a tremendous help. I have taken your advice and updated to PHP 5.6 and have successfully activated EE4.


Tony

  • Support Staff

May 6, 2016 at 3:11 am

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.

Event Espresso