In the Product Edit menu, under Features, trying to Add a new feature (Product Panes), after clicking Add, I get:

Recoverable fatal error: Object of class stdClass could not be converted to string in DatabaseStatementBase->execute() (line 2135 of /Applications/MAMP/htdocs/Drupal7/includes/database/database.inc).
The website encountered an unexpected error. Please try again later.

(It's in the dev version to)

Comments

arski’s picture

Version: 7.x-1.0 » 7.x-1.x-dev

Could you please share your versions of Drupal and Ubercart. Thanks.

falro’s picture

Hi, getting the same error. Line 2139 of database.inc
Drupal v7.12
Ubercarrt 7.x-3.0
Product Checkout Panes 7.x-1.x-dev
Edit 1: Found a temporary workaround. In uc_product_panes.module (~line 154), changed
$models = uc_product_get_models($node);
to
$models = uc_product_get_models($node->nid);

Seems to work OK after this.

arski’s picture

Title: Can't create Product Panes » Can't create Product Pane feature in latest Ubercart
Status: Active » Fixed

Thanks falro - works as desired.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.