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. May 22, 2018 at 9:05
  • Thank very much @Nikunj Vadariya. May 23, 2018 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. May 28, 2018 at 4:20

1 Answer 1


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.

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.