Updated to 7c and now getting a vast amount of errors on all ubercart pages.
E.g. from the /products listing page:
* 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_23' was given in /home/sandford/public_html/includes/form.inc on line 217.
* warning: Invalid argument supplied for foreach() in /home/sandford/public_html/modules/node/node.module on line 521.
* warning: implode() [function.implode]: Bad arguments. in /home/sandford/public_html/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/sandford/public_html/includes/database.mysql.inc on line 172.
* 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_12' was given in /home/sandford/public_html/includes/form.inc on line 217.
* warning: Invalid argument supplied for foreach() in /home/sandford/public_html/modules/node/node.module on line 521.
* warning: implode() [function.implode]: Bad arguments. in /home/sandford/public_html/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/sandford/public_html/includes/database.mysql.inc on line 172.
* 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_10' was given in /home/sandford/public_html/includes/form.inc on line 217.
* warning: Invalid argument supplied for foreach() in /home/sandford/public_html/modules/node/node.module on line 521.
* warning: implode() [function.implode]: Bad arguments. in /home/sandford/public_html/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/sandford/public_html/includes/database.mysql.inc on line 172.
* 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_11' was given in /home/sandford/public_html/includes/form.inc on line 217.
* warning: Invalid argument supplied for foreach() in /home/sandford/public_html/modules/node/node.module on line 521.
* warning: implode() [function.implode]: Bad arguments. in /home/sandford/public_html/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/sandford/public_html/includes/database.mysql.inc on line 172.
* 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_13' was given in /home/sandford/public_html/includes/form.inc on line 217.
* warning: Invalid argument supplied for foreach() in /home/sandford/public_html/modules/node/node.module on line 521.
* warning: implode() [function.implode]: Bad arguments. in /home/sandford/public_html/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/sandford/public_html/includes/database.mysql.inc on line 172.Has ubercart missed a database update at some stage?
UPDATE: No idea what this was all about. I scratched my head for days. What with all my previous imagecache problems I figured that somewhere along the stage an update script hadnt worked. I took the desperate solution of rebuilding the entire site from a fresh drupal/ubercart build.








Joined: 09/22/2007