ziming/json-field-for-backpack

array_merge_recursive() error when editing json fields

blessen131 opened this issue · 1 comments

array_merge_recursive(): Expected parameter 2 to be an array, string given (View: /var/www/my-app/vendor/ziming/json-field-for-backpack/src/resources/views/fields/json.blade.php)

BACKPACK PACKAGE VERSIONS:

backpack/crud: 5.6.1
backpack/devtools: 1.3.5
backpack/generators: v3.3.17
backpack/permissionmanager: 6.0.17
backpack/pro: 1.6.6

ziming/json-field-for-backpack:1.2.0

Hi, did you cast your field as an array in your eloquent model?