Support the ongoing development of Laravel.io →
Requests Eloquent Views
Last updated 1 year ago.
0

it looks like country_id is not set

you can use a default value

$country = Country::findOrFail(Input::get('country_id', 1));

0

kpzani but in future i have more than one country

0

Sign in to participate in this thread!

Eventy

Your banner here too?

vipin733 vipin733 Joined 23 Jan 2015

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.