Do these errors look familiar to anyone?

Posts: 76
Joined: 09/19/2007
Bug FinderGetting busy with the Ubercode.

Before I start digging through the code on this, does anyone recognize these errors that I am getting on my home page? The home page is the one in the default Drupal install.

* warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'uc_product_add_to_cart_form_1' was given in /home/.osten/tappedgeek/test7.impliedbydesign.com/includes/form.inc on line 217.
* warning: Invalid argument supplied for foreach() in /home/.osten/tappedgeek/test7.impliedbydesign.com/modules/node/node.module on line 521.
* warning: implode() [function.implode]: Bad arguments. in /home/.osten/tappedgeek/test7.impliedbydesign.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/.osten/tappedgeek/test7.impliedbydesign.com/includes/database.mysql.inc on line 172.

Thanks!
Chris

Posts: 2244
Joined: 08/07/2007
AdministratoreLiTe!

What's at node/1? Is it supposed to be a product? What kind of node is it, and should it have an Add to Cart form?

Posts: 76
Joined: 09/19/2007
Bug FinderGetting busy with the Ubercode.

Sorry to bug you about this one, I think I figured out what was happening inadvertently. I removed a couple of products and after that the errors went away. It could have been because I had a product with a price of 0.

The node being viewed is the default Drupal home page, which I think just aggregates all content promoted to the home page.

Thanks, Lyle, I appreciate your help! Smiling