Hi to everyone.
A very strange thing happens to me. I have develope a project in local (Homestad and Vagrant).
When I test it all work right!
I have transfer all file on a Droplet on DigitalOcean ...there are identical!
In detail when I try to add a records I receive an error message (Trying to get property 'cliente' of non-object).
But on the local Server work and on Digital Ocean No!!!
Someone have same suggest?
It sounds like you are trying to eagerload a relationship somewhere, but you don't have the data required by the relationship in the db yet.
You can confirm this by backing up the database on your dev box (where it's working). Then delete the database completely and rerun your migrations to build it back up. Does your app crash just like your production box?