Hi,
Upgraded server today with latest patches and upgraded to PHP v 8.1 from 8.0
Before upgrade both admin and frontend worked fine, but after upgrade it are complaining about
Warning: SessionHandler::read(): Session data file is not created by your uid in /var/www/html/prestashop/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Session/Storage/Handler/StrictSessionHandler.php on line 59
Warning: session_start(): Failed to read session data: user (path: /var/lib/php/session) in /var/www/html/prestashop/classes/controller/FrontController.php on line 788
Have followed this guide when installing and redone most steps, since upgrade did overwrite several files.
https://www.howtoforge.com/how-to-install-prestashop-on-rocky-linux-9/
Do any of you know why this happens?
All feedback appreciated.
EDIT!
After researching more I figured out that in /var/lib/php/session folder it was created two sess files, they where created after all upgrades, but it seems they have been made before all changes was ready. Deleting them helped and then all worked again.