Open mjordan opened 6 years ago
Is this being rendered through a custom template? Could just be that the template should print render($var);
rather than just print $var;
No, I'm not using a custom template, although we are running a custom (local) theme. Other Views work on the site without issue.
Two cents, I have noticed this happening from time to time if a view i am using has a broken or missing handler (field is no longer available in the views cache, for whatever reason). May be unrelated.
Thanks, I'll check that out.
I'm seeing the same behavior, did anyone ever track down what's causing the issue?
Using this module, we've been getting the following notice:
I tracked this down to
islandora_solr_collection_view_islandora_collectionCModel_islandora_view_object()
returning an array. When I changed https://github.com/Islandora-Labs/islandora_solr_collection_view/blob/7.x/islandora_solr_collection_view.module#L80-L82 toreturn $view;
, the error no longer occurs and the module appears to work as intended.Two strange things:
islandora_solr_collection_view_islandora_collectionCModel_islandora_view_object()
currently does), yet returning a string (which is what my modified version does) also works. The mysteries of render arrays?