Installed the module correct but i get these warnings. It seems that the private module and this module don't work when they are both installed.
* warning: Invalid argument supplied for foreach() in www/modules/node/node.module on line 521.
* warning: implode() [function.implode]: Bad arguments. in www/modules/node/node.module on line 525.
* 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.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 atc_node n INNER JOIN atc_users u ON u.uid = n.uid INNER JOIN atc_node_revisions r ON r.vid = n.vid WHERE in www/includes/database.mysql.inc on line 172.
Comments
Comment #1
deviantintegral commentedOn what page do you get these warnings? When you're editing or saving a page? If you have devel.module installed, can you post a bit of the traceback so I can see what function is being called? I've read through private.module and don't see any places that look like they might conflict.
Thanks,
--Andrew
Comment #2
clemens.tolboomWith me this happens as anonymous on the frontpage aka ?q=node ... message disappears on ie ?q=node/1.
Comment #3
clemens.tolboomAdding this line to hook_init()
// If we aren't on a node, return
if (arg(0) != 'node') return;
if( ! is_numeric( arg(1))) return; <------
solved this error.
Comment #4
deviantintegral commentedFixed in #199497.