I get this error when using view with fields provided by Media module. I use latest Views from CVS and Media 7.x-1.0-beta3.

Content of $item['raw'] is attached.

CommentFileSizeAuthor
#2 view_klub_polet.txt10.84 KBslashrsm
views.txt2.07 KBslashrsm

Comments

dawehner’s picture

Status: Active » Postponed (maintainer needs more info)

Can you export the view, too?

This is required to be able to reproduce the problem and to fix it at the end of the day.

slashrsm’s picture

StatusFileSize
new10.84 KB

View is attached. It happens in more views, but this should be the simpliest one.

secoif’s picture

I fixed this by simply changing the 'raw' to 'rendered':

Line ~= 620 views/modules/field/views_handler_field_field.inc

$tokens['[' . $this->options['id'] . '-' . $id . ']'] = filter_xss_admin($item['raw'][$id]);

to

$tokens['[' . $this->options['id'] . '-' . $id . ']'] = filter_xss_admin($item['rendered'][$id]);

Though I have no idea if this is the correct way to fix this or if there will be any later negative implications, just needed to get the thing not 500ing.

slashrsm’s picture

This fixes the problem also for me.

servantleader’s picture

Status: Postponed (maintainer needs more info) » Active

+1

dawehner’s picture

Status: Active » Closed (duplicate)