0

The problem appeared on the site dump, on the front page

Exception: Warning: SessionHandler::read(): open(/var/cpanel/php/sessions/ea-php73/sess_otpvdk0an5tso42ofv0df1f359, O_RDWR) failed: No such file or directory (2) in /var/www/vhosts/7.4/crazy/vendor/magento/framework/Session/SaveHandler/Native.php on line 22 in /var/www/vhosts/7.4/crazy/vendor/magento/framework/App/ErrorHandler.php:61 Stack trace: #0 [internal function]: Magento\Framework\App\ErrorHandler->handler() #1 /var/www/vhosts/7.4/crazy/vendor/magento/framework/Session/SaveHandler/Native.php(22): SessionHandler->read()

1
  • i just delete file pub/.user.ini and it works Commented Feb 2, 2022 at 18:49

1 Answer 1

0

A few things you could do:

Confirm that your session.save_path in php.ini matches the directory that Magento is saving sessions.

In app/etc/env.php make sure session looks like:

   'session' => [
        'save' => 'files'
    ],

Make sure the session save path has proper permissions.

If you have the resources, I would recommend using redis to save sessions.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.