Pretty much brand new install of Drupal 7, attempting to delete 'Generic Product' so you'll only be able to choose Shippable.

Upon hitting delete from the list of types this happens:

Warning: Missing argument 3 for db_query_range(), called in /d7/sites/all/modules/ecommerce/ec_product/ec_product.admin.inc on line 895 and defined in db_query_range() (line 2345 of /d7/includes/database/database.inc).
Notice: Undefined variable: count in db_query_range() (line 2350 of /d7/includes/database/database.inc).
PDOException: SQLSTATE[HY093]: Invalid parameter number: no parameters were bound: SELECT COUNT(*) FROM {ec_product} WHERE ptype = :ptype LIMIT 1, 0; Array ( ) in ec_product_admin_ptypes_delete() (line 895 of /d7/sites/all/modules/ecommerce/ec_product/ec_product.admin.inc).

Not sure if this is a problem with the module, or my install but as I stated, it's pretty new and I doubt it's something my end, but what do I know!

Comments

jsump1’s picture

Having the same error, did you find out how to fix this error?

overbythere’s picture

Hi Jsump1, sorry I didn't reply. We didn't get an answer and fell back onto Drupal 6 & Ubercart.

neorg’s picture

Issue summary: View changes

Same error here.