You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 23, 2023. It is now read-only.
I get array_key_exists() expects parameter 2 to be array, null given, when using Setting::has() in case when settings column has no value. Setting::all($user->id) returns null. It is not possible to set a default value of [] to a TEXT column. I think the package should check if the column is empty, as it overwrites the $settings property in the Setting class (at least it seems to).
The text was updated successfully, but these errors were encountered:
I get
array_key_exists() expects parameter 2 to be array, null given
, when usingSetting::has()
in case when settings column has no value.Setting::all($user->id)
returnsnull
. It is not possible to set a default value of[]
to aTEXT
column. I think the package should check if the column is empty, as it overwrites the$settings
property in theSetting
class (at least it seems to).The text was updated successfully, but these errors were encountered: