I am rendering variables from a block array, but for some reason when I render a taxonomy term, I get the white screen of death.
after using views_get_view() to return an array, I can render anything I want from the array:
print render($product_header->field_field_product_screenshot); // works
print render($product_header->field_field_product_synopsis); // works
print render($product_header->field_field_taxonomy); // doesn't work
In the view settings, I am just outputting the field. No fanciness. The contents of the field_field_taxonomy array look similar to the other arrays (via dpm):
0 (Array, 2 elements)
rendered (Array, 5 elements)
raw (Array, 2 elements)
Why can't I render the taxonomy field?
$product_header
object? – Clive♦ Apr 26 at 15:35$view = views_get_view($view_name);
$view->build($display_name);
$view->execute($display_name);
$result = $view->result;
return $result;
– Junie Threatt Apr 26 at 15:41field_view_field('block', $product_header, 'field_field_taxonomy');
– Junie Threatt Apr 26 at 16:20