Error:
Debug: _doQuery: [Error message: Could not execute statement]
[Last executed query: SELECT category_id FROM product_category_map WHERE (product_id = '') AND (type = '0') LIMIT 1;]
[Native message: ERROR: invalid input syntax for integer: ""
LINE 1: ..._id FROM product_category_map WHERE (product_id = '') AND (t...
^]
Code: -11
Message: MDB2 Error: invalid number
Additional Info: Unable to retrieve primary category id for product.