Closed (duplicate)
Project:
Views PHP
Version:
7.x-1.x-dev
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
20 Aug 2012 at 03:15 UTC
Updated:
11 Oct 2012 at 16:20 UTC
PHP only returns the node id for each field variable it doesn't return the actual field value
here is an example of the returned array
stdClass Object ( [field_group] => 236 [field_image] => 236 [field_item_price] => 236 [php_1] => [field_special_price] => 236 [edit_node] => 236 [php] => [body] => 236 [title] => soap)
Comments
Comment #1
keesee commented+1
Comment #2
richH commentedDefinitely also +1. This error is making the module totally useless. I can't believe more people aren't having this problem. It's stumped me and I can't find a way around it.
Comment #3
cimo75 commented+1
Comment #4
cimo75 commentedI solved using normal fields callbaks
Comment #5
vlyalko commentedCan you please share how exactly did you solved this problem. I am having the same issue. The interesting thing is that in the different view withing the same site PHP field working like a charm. Thank you
Comment #6
chaloum commented@vlyalko using the data token
Comment #7
richH commentedHi,
apart from the fact that I really don't understand #4 and #6, I still think that this is a bug which needs to be fixed on the module to make it usable. Or are we doing something really wrong?
Cheers
Rich
Comment #8
johnvHi Guys, you need to check out #1140896: Variable $row does not contain correct values ($data->_field_data does) for tips.