Download & Extend

Customfield PHP & Markup together. SQL error.

Project:Views Custom Field
Version:6.x-1.0
Component:User interface
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active

Issue Summary

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: Only local images are allowed. 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.

Comments

#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: No Integration with Views Custom Field

nobody click here