I've a user model which has a 1:1 relation with a UserInfo model class User extends Model implements...
I've got a select list in a form <div class="form-group {!! $errors->has('primenom')...
Hi The message is about the foreign key user_id. It seems that auth()->user()->id is null or e...
Try : $location = \App\Location::with('items', 'items.vendor')->findOrFail($location_id);
Because you've got many TemplateImage for one Template, you need to iterate over the Temp object in...
johnef liked this reply
May be you may get the data directly from your controller : public function userCount(){ $user_c...
you need to add the model folder to the command...
The Laravel portal for problem solving, knowledge sharing and community building.
The community