I'm not sure, but it seams, that i got this error in views after adding a computed field that does not get stored in the database. Maybe this should be solved in the views module, so I have posted this there as well. A simple if-clause in views.module solved it for me. See the attached patch.

CommentFileSizeAuthor
views-5.x-1.6.patch304 bytesmoritzz

Comments

deekayen’s picture

Project: Computed Field » Views (for Drupal 7)
Version: 5.x-1.2 » 5.x-1.6
dawehner’s picture

Status: Needs review » Needs work
+++ views.module	2008-08-07 01:58:23.000000000 -0100
@@ -1267,6 +1267,7 @@
 
+  if ($field['queryname'])
   return check_plain($data->$field['queryname']);
 }

Use {} for the if.

This review is powered by Dreditor.

esmerel’s picture

Status: Needs work » Closed (won't fix)

No updated patch supplied, no changes being made to 1.x