Hello,

I am getting the following errors when I add and remove items from my cart.

warning: Invalid argument supplied for foreach() in /var/www/users/rustridge/drupal/modules/node/node.module on line 521.

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: node_load 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 white_node n INNER JOIN white_users u ON u.uid = n.uid INNER JOIN white_node_revisions r ON r.vid = n.vid WHERE in /var/www/users/rustridge/drupal/includes/database.mysql.inc on line 172.

warning: implode() [function.implode]: Bad arguments. in /var/www/users/rustridge/drupal/modules/node/node.module on line 525.
implode /var/www/users/rustridge/drupal/modules/node/node.module: 525 AND ,
node_load /var/www/users/rustridge/drupal/sites/racehorsewhite.com/modules/erp/erp_stock/erp_stock.module: 134 wine
erp_stock_add_to_cart

13, 1,

Array
(
[attributes] => Array
(
)

[model] =>
[module] => uc_product
[shippable] => 1
)

This error goes away if I disable the erp_stock module.

Any idea what is causing this error? Anybody else have this problem?

Thanks for the help.

Comments

mccraic’s picture

Status: Active » Closed (fixed)
singularo’s picture

They're not designed/tested to work together. If we did work something out, erp would be the backend, and ubercart would generally be on a totally different website as the frontend. Communication between the two needs to be developed for that.