#Non-static method App\Models\Department::create() cannot be called statically

3 messages · Page 1 of 1 (latest)

proper stag
#

Would be useful if you also shared the other screenshot you shared previously

#

Either way, you have a create method in your model, which isn't static but you are calling it staticly. This method also returns a view, why?

cerulean heron
#

This is the model and controller code