Share Share on Facebook Share on Twitter Pinterest Email It seems Laravel is trying to use category_posts table (because of the many-to-many relationship). But you don't have this table, because you've created category_post table. Change the name of the table to category_posts. LaravelLaravel 6Laravel 7 0 Siddharth Shukla Website Related Posts clean laravel logs January 23, 2023 Laravel Vue JS Axios Post Request January 23, 2023 laravel eloquent wherein example January 23, 2023 laravel http request to external api January 23, 2023