I came across this issue today whilst testing out the latest 7.x branh of the subsites module.
I was receiving the error message whilst trying to create a view that contained the subsite a node was associated with.
After looking into the code, i saw a todo item for converting the code to use the Drupal 7 db API. I updated the code which has resolved the problem. I have attached a patch for your review.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | ViewsHandlerField.patch | 1.08 KB | perfectweb |
| ViewsHandlerField.patch | 1.08 KB | perfectweb |
Comments
Comment #1
perfectweb commentedI stupidly got the patch back to front, and also forgot to account of pre-fixed db names. Here is an updated patch.
Comment #3
gisleThis issue is also covered by #800880: Subsites: Upgrade to drupal 7 of main module.