I upgraded my image gallery module to the 5.x-2.0-alpha3 version (for the cropping functionality.) Well, it all works great except for if I make one wrong move it brakes the whole darn gallery.

I'm not sure what the wrong move is, but this is the error I randomly get and I don't know how to fix. Well, I can't be having an error randomly appearing when the site goes live.. :P

user warning: Unknown column 'image.nid' in 'field list' query: SELECT node.nid, rand() AS random_sort, image.nid AS image_nid, node.type AS node_type, node.uid AS node_uid FROM node node WHERE (node.type IN ('image')) ORDER BY random_sort ASC in /Applications/MAMP/htdocs/includes/database.mysql.inc on line 172.

Did something with the upgrade go wrong.. how do I fix this, and stop it from happening?

Thanks,

Jon.

Comments

JonGirard-1’s picture

Hi, could someone please give me a hand with this. (I've already searched on google)

Jon.

Hetta’s picture