Support

Home Forums Multiple Event Registration Add-on Multi Event Registration 1.0.5.p and PHP session error

Multi Event Registration 1.0.5.p and PHP session error

Posted: September 15, 2023 at 4:06 pm

Viewing 5 reply threads


iaeonpac

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?


Garth

  • Support Staff

September 18, 2023 at 7:34 pm

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?


iaeonpac

September 19, 2023 at 1:26 pm

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.


iaeonpac

September 20, 2023 at 4:20 am

Re ‘how it stays open’ – this is an error reported by the WordPress site health tool.


Tony

  • Support Staff

September 21, 2023 at 7:24 am

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?


iaeonpac

September 21, 2023 at 3:41 pm

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.


Rio

  • Support Staff

September 21, 2023 at 7:25 pm

Whenever you are ready, you can check the documentation here on how to migrate.
https://eventespresso.com/wiki/how-to-upgrade-event-espresso/

Thanks

Viewing 5 reply threads

The support post ‘Multi Event Registration 1.0.5.p and PHP session error’ 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