![]() |
Hi everyone,
I have code like this: PHP Code: $notifications = model(NotificationSettingModel::class)->withScheduleNotification()->find($userIds); after running it, i got an error like this: Code: array_column(): Argument #1 ($array) must be of type array, App\Entities\NotificationSetting given even though in version 4.4.8 the code above runs fine. but why doesn't it work on version 4.5.1? i took an example from this repositori: https://github.com/lonnieezell/forum-exa...t.php#L121 Thanks All.
@xxxx[{::::::::::::::::::::::::::::::::>
|
Messages In This Thread |
array_column does not work with Entity - by warcooft - 06-03-2024, 10:36 PM
RE: array_column does not work with Entity - by ozornick - 06-04-2024, 07:22 AM
RE: array_column does not work with Entity - by warcooft - 06-04-2024, 12:28 PM
RE: array_column does not work with Entity - by kenjis - 06-04-2024, 05:48 PM
RE: array_column does not work with Entity - by warcooft - 06-04-2024, 07:27 PM
RE: array_column does not work with Entity - by kenjis - 06-04-2024, 07:39 PM
RE: array_column does not work with Entity - by warcooft - 06-04-2024, 08:29 PM
RE: array_column does not work with Entity - by warcooft - 06-04-2024, 10:24 PM
RE: array_column does not work with Entity - by kenjis - 06-05-2024, 12:16 AM
RE: array_column does not work with Entity - by warcooft - 06-05-2024, 12:22 AM
RE: array_column does not work with Entity - by kenjis - 06-05-2024, 02:27 AM
RE: array_column does not work with Entity - by warcooft - 06-05-2024, 02:53 AM
|