-1👍
I do not fully understand your code, but I’ve noticed some potentially problematic parts:
$request->form_cashoutexpenses
most likely is not an array, that is why you probably getting this error. You can check it puttingdd($comments, gettype($comments));
after declaration of$comments
and rerunning page- Having
return
statement insideforeach
loop at the first line seems to be silly, because the code below will never be executed.
- [Vuejs]-Vue-router dynamic load menu tree
- [Vuejs]-VueX Getter acting reactively – how to assign non-reactive to variable?
Source:stackexchange.com