SQLSTATE [42S02]: table de base ou vue introuvable: 1146 Tab
It seems Laravel is trying to use category_posts table (because of many-to-many relationship). But you don't have this table, because you've created category_post table. Change name of the table to category_posts.
Famous Frog