Active
Project:
Views PHP
Version:
7.x-1.0-alpha3
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
1 Nov 2013 at 19:57 UTC
Updated:
23 Oct 2017 at 11:21 UTC
Jump to comment: Most recent
In views_php_handler_field.inc, the function php_click_sort() throws a run-time error because the incoming arguments $row1 and $row2 do not contain the required field ($this->field_alias) which in my case is "views_php_1".
FYI, I've configured my php view field to sort on case insensitive natural order.
Comments
Comment #1
monaw commentedHere is the run-time error message:
Comment #2
lionsharz commentedSame issue
Notice: Undefined property: stdClass::$views_php_31 in views_php_handler_field->php_click_sort() (line 185 of sites/all/modules/views_php/plugins/views/views_php_handler_field.inc).Comment #3
adr_p commentedI experience the same issue. One click generates lots of the below in logs:
Notice: Undefined property: stdClass::$views_php_1 in views_php_handler_field->php_click_sort() (line 185 of /sites/all/modules/contrib/views_php/plugins/views/views_php_handler_field.inc).Comment #4
adr_p commentedComment #5
NoRandom commentedAny news about this issue? any workaround? I'm experiencing the problem with any kind of sort I want to apply.