Error: SQLSTATE[42S02]: Base table or view not found: 1146 Table


#1

Hi, am creating a project in cakephp 3.6. and i am trying to save my data to database but having strange problem , it says Error: SQLSTATE[42S02]: Base table or view not found: 1146 Table ‘gamesliv.blog_post_trackings’ doesn’t exist while i don’t have table or either any associatation for this table in my database.


#2

Why don’t you switch on debugging at trace down where the error occurs? There is a good chance that your code somewhere try to access this table.
Rearly the case but you can try to empty your tmp folders to see if the error is not coming from a cache.


#3

did the table gamesliv.blog_post_trackings exist while building the models?
if so, update the models