ADD Creative wrote: ↑Mon Nov 06, 2023 8:14 pm
It will have always been an error, it's just the warning message was only added in later versions of PHP. I would use phpinfo() to check the session.auto_start setting and you other session settings.
Also check session_autostart is set to false in system/config/catalog.php.
You want to look for any extension that are saving data to the session and changing start up.
Try and match the time of the warnings to a request in you web access logs. This may give you a clue to where the issue is.
You could also disable your extensions one by one until you find the one causing the issue. Or do a clean install of OpenCart in another directory to prove it doesn't happen with that.
Okay, so I checked the phpinfo() and the session.auto_start is set to off. All other values are set to default/master values.
session_autostart is set to false in system/config/catalog.php
I went modification by modification and disabled each one but had no luck. The problem persists, as I checked the log each time after to see if the warning still came.
The problem isn't happening on a clean install of OpenCart
Not sure but what could I search for next?
I do not know how to debug php errors to be frank. Could there be a code to debug added to the session.php file?
Life Is A Journey. Enjoy It 