Welcome Guest, Not a member yet? Register   Sign In
Problem with Model()->find() and Model()->findAll()
#3

More thoughts:
1) I presume UserModel is namespaced, and that you have a something like "use App\Models\UserModel;"
2) The primary key is supposed to be a string, and you are passing an int. Should there be some casting?
Reply


Messages In This Thread
RE: Problem with Model()->find() and Model()->findAll() - by ciadmin - 10-06-2019, 01:04 PM



Theme © iAndrew 2016 - Forum software by © MyBB