cfvonner
09/12/2022, 9:32 PMUser.cfc
. I suspect the get()
method is returning an array, rather than a single user object. And since it's returning an array, the error message is saying that the array doesn't have a setNotifications
method.bdw429s
09/12/2022, 9:34 PMbdw429s
09/12/2022, 9:34 PMbdw429s
09/12/2022, 9:35 PMbdw429s
09/12/2022, 9:36 PMbdw429s
09/13/2022, 1:29 PMOokma-Kyi
09/13/2022, 6:47 PMcfvonner
09/13/2022, 6:48 PMbdw429s
09/13/2022, 6:49 PMit is returning an array instead of a modelWhich is exactly what I speculated above.
Ookma-Kyi
09/13/2022, 6:50 PMOokma-Kyi
09/13/2022, 6:50 PMOokma-Kyi
09/13/2022, 7:14 PM