Skip to content
Advertisement

Call to a member function save() on array laravel

Im doing the update method. When I tried to update the specific data, im getting this error “Call to a member function save() on array”. Why? Is there’s something missing in my codes?

I also tried to print_r the $result variable, it has a value..

View

JavaScript

Controller

JavaScript

Route

JavaScript

Advertisement

Answer

JavaScript

This way can help you.

User contributions licensed under: CC BY-SA
7 People found this is helpful
Advertisement