Customfield PHP & Markup together. SQL error.
arielon - August 21, 2009 - 11:12
| Project: | Views Custom Field |
| Version: | 6.x-1.0 |
| Component: | User interface |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Description
Trying to use Custom Field PHP & Markup in a view together, I got the SQL error:
user warning: Unknown column 'customfield.phpcode' in 'field list'.
When I delete one of the Custom Fields PHP (I have 3 on that View), the error goes away.
I'm trying to get the user's role, and can't get it with the $data variable. Therefore, I'm using a Markup like: to get the path to my site's template folder using one of the Custom Fields PHP.
The rest two of PHP fields are for formatting.

#1
Are you trying to use Views Calc? I had this error come up for me but not until I used Views Calc. See #515832: Falty Integration with Views Custom Field