You must use the "set" method to update an entry. |
I found several topics related to the error but I couldn't solve it. Below is a screenshot of the error and the code that is showing an error.
CodeIgnter\Views\Header Code: <!-- Modal --> CodeIgniter\Controllers\User PHP Code: <?php namespace App\Controllers; PHP Code: <?php namespace App\Models;
You don't show what your database looked like, but it is possible a spelling difference between the two will cause this issue.
Although, not affecting you, when using objects, it is important to pass in the correct object, a spelling mistake on the variable name will cause the same error.
The error is for an insert your not showing any insert code.
What did you Try? What did you Get? What did you Expect?
Joined CodeIgniter Community 2009. ( Skype: insitfx )
|
Welcome Guest, Not a member yet? Register Sign In |