Solution to fix “Active PHP Session” critical error
-
WordPress is showing a critical error in Site Health for “An active PHP Session was detected”.
It states that
session_start()
was not closed.I was unable to find a public repo that I could fork to submit my fix for it. You’ll need to edit line 99 of “wp-popup-banners.php” to change this:
session_start();
to this
session_start(['read_and_close' => true]);
As the developer/plugin owner, would you be willing to make that change and push a plugin update? Thank you!
- The topic ‘Solution to fix “Active PHP Session” critical error’ is closed to new replies.