Closed (fixed)
Project:
Ubercart Product Checkout Panes
Version:
7.x-1.x-dev
Component:
Miscellaneous
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
2 Feb 2012 at 10:55 UTC
Updated:
27 Feb 2012 at 15:00 UTC
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
Comment #1
arski commentedCould you please share your versions of Drupal and Ubercart. Thanks.
Comment #2
falro commentedHi, 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.
Comment #3
arski commentedThanks falro - works as desired.