I changed categories "id" as category_id. I am using phpstorm, so renamed with refactor. Meanwhile all "id"s turn "category_id". But this time it gives me that error and I dont know What I need to do ?
Full Error;
SQLSTATE[42S22]: Column not found: 1054 Unknown column 'categories.id' in 'on clause' (SQL: select
categories
.*,category_post
.post_id
aspivot_post_id
,category_post
.category_id
aspivot_category_id
fromcategories
inner joincategory_post
oncategories
.id
=category_post
.category_id
wherecategory_post
.post_id
is null) (View: /home/username/www/haber/resources/views/frontend/home.blade.php)
Any advice ?
from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2hThgpV
via IFTTT
Aucun commentaire:
Enregistrer un commentaire