Posted: April 2, 2019 at 3:46 am
|
Hi, Can you let me know what version of PHP can be run with EE3? I tried updating PHP 7.2 and started to get a memcache issue: Warning: session_start(): Cannot find save handler ‘memcache’ – session startup failed in /var/sites/d/domainname.co.uk/public_html/wp-content/plugins/espresso-multiple/espresso-multi-registration.php on line 77 Warning: session_start(): Cannot start session when headers already sent in /var/sites/d/domainname.co.uk/public_html/wp-content/plugins/event-espresso/espresso.php on line 80 Can you advise? Thanks, Elaine |
Hi Elaine, You can use PHP7.2 with EE3, but you’ll need to disable memcache and memcached (pretty much all caching so I’d recommend also disabling opcache). You host will usually provide you with an options page where you can enable/disable those features. |
|
Hi, PHP 7.2 is OK to use with Event Espresso 3, the warning related to memcache is a session/memcache issue. You could make a change to the espresso-multiple plugin to work around that issue. In the espresso-multiple/espresso-multi-registration.php file, on line 77, it has this: You can change it to this: Also, if the PHP warnings are being displayed (as opposed to just showing up in the PHP error logs) then it’s also advised to edit the wp-config.php file so |
|
|
Hi, Thanks for your answers. Does this mean I don’t need to disable memcache and memcached tec that I can leave as is and just make the changes to espresso-multiple/espresso-multi-registration.php file and wp-config.php. Does EE3 need memcache. I have a vague recollection that memcache was used? Thanks, Elaine |
It’s best to not use memcache when using a plugin like EE3. EE3 does not need or use memecache. |
|
|
Hi Josh, I made the changes to the file espresso-multiple/espresso-multi-registration.php, wp-config.php WP_DEBUG as already set to false. I now get Warning: session_start(): Cannot find save handler ‘memcache’ – session startup failed in /var/sites/d/domainname.co.uk/public_html/wp-content/plugins/event-espresso/espresso.php on line 80 Do I also need to disable memcache? Thanks, Elaine |
Yes, that’s what Tony mentioned to do earlier. |
|
|
Hi, Thanks. I think that solved the issue. I see some text in the footer: <!–Event Espresso Template Files: then a list of files. Is this normal? Thanks, Elaine |
It’s an indication that the original template files from /event-espresso/templates were copied over to /wp-content/uploads/espresso/templates. If you’re using customized versions of those files, then expected to see a list of files in the html comment in the footer. If the files were simply copied over to that location but no customizations were made to those files, it’s advised to remove those files from the /wp-content/uploads/espresso/templates location. |
|
The support post ‘EE3 and PHP version’ 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.