Closed (fixed)
Project:
Views PHP
Version:
7.x-1.x-dev
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
26 Sep 2011 at 05:57 UTC
Updated:
26 Nov 2015 at 13:34 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
RKS commentedWhen you export a view, what can you look for to see if the view is using Views PHP for anything?
Comment #2
RKS commentedComment #3
3rdLOF commentedSmall 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.
Comment #4
cobenashWork for me :)
Comment #5
nicolas bouteille commentedSame for me. Thanks !
Comment #6
nicolas bouteille commentedHere 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).
Comment #7
mschuster91 commentedI too get this error with latest versions of Drupal/Views/Views PHP. Cause seems to be the caching subsystem, as either a) running drush cc all before any request or b) disabling all caches with DrupalFakeCache resolves it.
Drupal's caching is messed up beyond belief.
Comment #8
fizk commentedCommitted, thanks!