Download & Extend

Site Report log shows this error occurs hundreds of times a day on every page

Project:Views PHP
Version:7.x-1.x-dev
Component:Code
Category:bug report
Priority:major
Assigned:Unassigned
Status:active

Issue Summary

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.

Comments

#1

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

#2

Category:support request» bug report

#3

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.

AttachmentSize
views_php-fix_for_undefined_property-1290682.patch 642 bytes