I am getting this error when creating a block which prints view display, assinging the $nid as third argument:


if(arg(0) == 'node' && arg(1)):
    $nid= arg(1);

print views_embed_view("view_name", "display", $nid);

Error (repeating list):

Notice: Undefined index: url in __lambda_func() (Zeile 13 von ../all/modules/views_php/plugins/views/views_php_handler_field.inc(202) : runtime-created function).

When I checkout the entity module to the previous version this error does not occur.

Thanks

Comments

sic’s picture

Issue summary: View changes
谢艳’s picture

I also have the same problem:
Notice: Undefined index: und 在 __lambda_func() (行 3 在 /data/vhost/on/cstc1/sites/all/modules/views_php/plugins/views/views_php_handler_field.inc(202) : runtime-created function).

fizk’s picture

Status: Active » Closed (cannot reproduce)

Please reopen if this is still an issue, and list steps to reproduce.