Support the ongoing development of Laravel.io →
Database Views Blade
Last updated 1 year ago.
0
 function edit(ClientSite $clientSite) { ... }

What this supposed to mean? ClientSite? Is it a constant? If yes, put comma after it.

Last updated 1 year ago.
0

It looks like ClientSite is the db model, so this

function edit(ClientSite $clientSite) { ... }

is saying the incoming var $clientSite is suppose to be a instance of the model named ClientSide.

The code isn't updated on the github so I don't see a route that calls edit but I'm going to guess that it or whatever function is calling the edit() function is not passing a instance of the ClientSide model, which is what the function wants.

p.s. Click the link that says how to mark up posts, it makes reading code here so much easier

Last updated 1 year ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

webdevdea webdevdea Joined 30 Aug 2014

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.