Jump to content
Sign in to follow this  
Blesta Addons

Php 7.2 Sessions

Recommended Posts

blesta 3.4.2, Php 7.2, after we login as admin, we get error in the logs

ini_set(): A session is active. You cannot change the session module's ini settings at this time

the error is also catched by php debugger (tracy) , i have made a small look at the code, i think a simple fix is to move ini_set calls before a new session is started.

 

Share this post


Link to post
Share on other sites

I assume you mean Blesta v4.3.2 (not 3.4.2). There are known issues with Blesta on php 7.2 since php 7.2 now raises errors it did not do before.

In any case, the sessions have already been updated in the framework for minphp-bridge and minphp-session. You can overwrite the respective code in your Blesta's /vendors/ directory with the latest tags from those repositories. These updates will appear in Blesta v4.4.0.

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  

×