Invalid argument, errors, etc. upon submitting
| Project: | Multiforms |
| Version: | 5.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Just a basic form created with just a title, and I get the following errors:
# warning: Invalid argument supplied for foreach() in /xxx/modules/node/node.module on line 521.
# warning: implode() [function.implode]: Bad arguments. in /xxx/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 node n INNER JOIN users u ON u.uid = n.uid INNER JOIN node_revisions r ON r.vid = n.vid WHERE in /xxx/includes/database.mysql.inc on line 172.
The node is still created, though.

#1
I'm having this same problem. I've implemented user profiles using the nodeprofile module, and when a new user profile is created i get the following error:
* warning: Invalid argument supplied for foreach() in /home/.jockey/awesomeadmin/awropla.com/modules/node/node.module on line 521.
* warning: implode() [function.implode]: Bad arguments. in /home/.jockey/awesomeadmin/awropla.com/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 node n INNER JOIN users u ON u.uid = n.uid INNER JOIN node_revisions r ON r.vid = n.vid WHERE in /home/.jockey/awesomeadmin/awropla.com/includes/database.mysql.inc on line 172.
The profile is created, though, can can from then on be edited freely without the error reappearing.
#2
Same errors seen by me.