Posted: September 15, 2023 at 4:06 pm
The 1.0.5.p Multi Event Registration plugin with EE3 is generating a PHP session that remains open and therefore errors which are reported by the WordPress site health tool and issues with the Rest API. Is there a fix? |
|
Can you explain further how it stays open and for how long? Event Espresso is designed to create a session to give people enough time to allow someone to register for their event. What PHP version? |
|
The session seems to stay active pretty much indefinitely. PHP 7.4.33, WordPress 6.3.1, EE 3.1.37.18.P, EE Multi-Event registration 1.0.5.p. |
|
Re ‘how it stays open’ – this is an error reported by the WordPress site health tool. |
|
Hi there, I checked into this and currently we don’t have a fix, EE3 actively uses the session so we can’t just close the session off when we create it. EE3 is now considered our legacy product and is only receiving security updates, the above would require a significant refactor into how EE3 works, which is not something we currently plan on undertaking. I would recommend switching over to use EE4, it does use a PHP session, but only for the ID and closes the session when we create it (fixing the above issue with site tool and the REST API). Is there something preventing you from switching to EE4 as it stands? |
|
Thanks Tony. I am hoping there will be approval to migrate to EE4 and upgrade other things which will also allow a switch to PHP8. |
|
Whenever you are ready, you can check the documentation here on how to migrate. Thanks |
|
You must be logged in to reply to this support post. Sign In or Register for an Account