Created a CCK node, click Preview button, then warning message displays as follows:
* warning: Invalid argument supplied for foreach() in /usr/local/apache/htdocs/sitename.com/dpa/modules/node.module on line 359.
* warning: implode(): Bad arguments. in /usr/local/apache/htdocs/sitename.com/dpa/modules/node.module on line 363.
* user warning: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1 query: SELECT n.nid, n.vid, n.type, n.status, n.created, n.changed, n.comment, n.promote, n.moderate, n.sticky, r.timestamp AS revision_timestamp, r.title, r.body, r.teaser, r.log, r.format, u.uid, u.name, u.picture, u.data FROM node n INNER JOIN users u ON u.uid = n.uid INNER JOIN node_revisions r ON r.vid = n.vid WHERE in /usr/local/apache/htdocs/sitename.com/dpa/includes/database.mysql.inc on line 120.
Note: Using latest version of Node module
Comments
Comment #1
Anonymous (not verified) CreditAttribution: Anonymous commentedim confirming this bug.
Comment #2
solutiondrop CreditAttribution: solutiondrop commentedI can confirm this as well. And, the same error happens when I submit or view the node.
The behaivor doesn't do the same thing on a clean 4.7.1 site with the only contributed module being CCK. I also applied this small patch (http://drupal.org/node/64905#comment-101368) on both the development site and the clean site. The development site is pretty far along with over 10 contrib modules being used and a lot of theming and phptemplate stuff.
If I find what the difference is between my development site and the clean install site I'll report it back here.
DS
Comment #3
killes@www.drop.org CreditAttribution: killes@www.drop.org commentedmoving
Comment #4
JonBob CreditAttribution: JonBob commentedCannot reproduce with HEAD or 4.7. Will close if no confirmations are posted within the week.
Comment #5
coupet CreditAttribution: coupet commentedI will try to recreate a new test platform similar to the one that displayed warning messages.
I have removed test platform that displayed the warnings
Comment #6
coupet CreditAttribution: coupet commentedUnable to recreate warning messages with latest installation.
think, it could have been caused by a patch!?