Jump to content

Php 7.2 Sessions


Blesta Addons

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.

 

Link to comment
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.

Link to comment
Share on other sites

  • Tyson locked this topic
Guest
This topic is now closed to further replies.
×
×
  • Create New...