Undefined property: stdClass::$views_php_3 in views_php_handler_field->render() (line 223 of /www/html/10/10facts.com.com/sites/all/modules/views_php/plugins/views/views_php_handler_field.inc)

Line 223 has

$value = check_plain($values->{$this->field_alias});

I've even tried deleting that line and it still has that error every time someone accesses a page. I have no idea what this means. Thanks.

Files: 

Comments

RKS’s picture

When you export a view, what can you look for to see if the view is using Views PHP for anything?

RKS’s picture

Category:support» bug
3rdLOF’s picture

Small patch to fix this issue. Needs review, but I was getting this error across many different fields, some with extensive use. This seems to fix them all.

Use with care, let me know if it does it for you.

cobenash’s picture

Work for me :)

Nicolas Bouteille’s picture

Issue summary:View changes
Status:Active» Reviewed & tested by the community

Same for me. Thanks !

Nicolas Bouteille’s picture

Here are the errors I was getting :
Notice : Undefined property: stdClass::$views_php_3 in views_php_handler_field->render() (line 223 in [...] /sites/all/modules/views_php/plugins/views/views_php_handler_field.inc).
Notice : Undefined property: stdClass::$views_php_16 in views_php_handler_field->render() (line 223 in [...] /sites/all/modules/views_php/plugins/views/views_php_handler_field.inc).
Notice : Undefined property: stdClass::$views_php_17 in views_php_handler_field->render() (line 223 in [...] /sites/all/modules/views_php/plugins/views/views_php_handler_field.inc).
Notice : Undefined property: stdClass::$views_php_18 in views_php_handler_field->render() (line 223 in [...] /sites/all/modules/views_php/plugins/views/views_php_handler_field.inc).
Notice : Undefined property: stdClass::$views_php_19 in views_php_handler_field->render() (line 223 in [...] /sites/all/modules/views_php/plugins/views/views_php_handler_field.inc).
Notice : Undefined property: stdClass::$views_php_20 in views_php_handler_field->render() (line 223 in [...] /sites/all/modules/views_php/plugins/views/views_php_handler_field.inc).