I have a content type which includes a Taxonomy reference with multiple possible values. I wanted to output all the values in separate columns in a table display in order to be able to group by them, and / or aggregate the values.

So I have created two Global PHP fields, where the Output value is:
<?php print $data->field_field_aor_reg[0]['rendered']['#title'] ?>
and
<?php print $data->field_field_aor_reg[1]['rendered']['#title'] ?>
respectively.

This works fine for me when I am in Views preview mode, but as soon as I try to access the actual page of the View, I get a Server Error 500

I would be very grateful for help or suggestions - should I try the v2 dev version perhaps?

Comments

martin.knapp created an issue. See original summary.

martin.knapp’s picture

Status: Active » Closed (works as designed)

I think this was because for some reason Views PHP was getting its knickers in a twist being used in a Page with a lot of other Pages (possibly incompatible). I've now made it a View on its own and it seems ok