Using Magento CE 2.2.0 with sample data. this error happen when i change time zone in 'bootstrap.php', i try to change it back in it still error.

enter image description here

  • Check my answer and try it. – Nikunj Vadariya May 22 '18 at 9:05
  • Thank very much @Nikunj Vadariya. – Bong Channarith May 23 '18 at 10:14
  • Hi bong, if my answer solves your concern then there is green right tick mark , hit that tickmark for right ansewer that will help future readers. – Nikunj Vadariya May 28 '18 at 4:20

It's occurred due to MySql TIMESTAMP and MySql version issue.

Here is the solution which helps you to overcome the admin login issue of the session.

Go to : admin_user_session table in MySql Set created_at column to '0' and updated_at column to 'CURRENT_TIMESTAMP' as it is.

Refresh admin page and try to log in again, it will work.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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