I got this error when this morning when i came to check my website and got this error

SQLSTATE[HY000]: General error: 1030 Got error -1 from storage engine, query was: INSERT INTO log_visitor (session_id, first_visit_at, last_visit_at, last_url_id, store_id) VALUES (?, ?, ?, ?, ?)

I really need assistance in this.

1 Answer 1


That means your database ran off of disk space. You need to increase your disk space and/or cleanup your database from unused stuff (see here to cleanup the log tables: https://www.cloudways.com/blog/cleanup-magento-database-log/)

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.