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()

asked Feb 2, 2022 at 18:32
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.

answered Feb 2, 2022 at 18:42

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

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

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.