Error rendering repeater options
Created 6 years ago by failcookieI am running into an issue where I am trying to access the data from a repeater on a Page level, but throwing a 500. So far its only been happening on repeaters with image FT in them. I get this error:
(ErrorException(code: 0): An exception has been thrown during the rendering of a template (\"Illegal offset type in isset or empty\"). at /core/anomaly/repeater-field_type/resources/views/partials/controls.twig:7, Twig_Error_Runtime(code: 0): An exception has been thrown during the rendering of a template (\"Illegal offset type in isset or empty\").
I did the normal php artisan assets:clear && php artisan view:clear && php artisan cache:clear
Also post some code if you can.
Sorry! Forgot an important part.. it's an admin page. Clicking "Add Row" to display a new FT image option is causing the beautiful 500 error modal.
Sounds like misconfiguration. Check your field type in the repeater stream.
Dig into that view and
dd
what looks like the field type object and see what's up.