voyager: Relationship not working after latest update 1.1.8
Hi,
Have just updated from 1.1.7 to 1.1.8 and i am having now issues on all the model views in the admin.
Any model like user or the custom one i made give the following error:
json_decode() expects parameter 1 to be string, object given (View: /resources/views/vendor/voyager/bread/browse.blade.php)
the error line is below, apparently $row->details should be a string but an object get passed:
<?php $options = json_decode($row->details); $display_options = isset($options->display) ? $options->display : NULL; ?>
I have tried to save again the bread associated to one table, and the error disappear in admin for that, but all the relationship in that table doesnt work anymore and gives empty result. I can only browser it as once i try to add or edit i get the error above again.
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Comments: 15
@emptynick i have fixed the above replacing 1.1.7 blade files , that one and another. Just not sure why that happened, if i reverted with composer back to 1.1.7 shouldnt have changed that files as well?