Products category not displaying, Fatal Error, stdClass

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
wmisk
Forum Members
Forum Members
Posts: 39
Joined: Tue Aug 02, 2011 5:00 am

Products category not displaying, Fatal Error, stdClass

Post by wmisk »

I have added items, categories, and a hierarchy to the Products Manager module. I am now trying to display one of the categories on a page by using {Products category="Basic Kits"}. When I view the page, there is no CSS formatting, and the following error is shown:
Fatal error: Cannot use object of type stdClass as array in /home/content/pathtoCMS/modules/Products/lib/class.products_resultset.php on line 144

I am using CMS Made Simple version 1.10.3
Products 2.18.2
JQueryTools 1.1
CGSimpleSmarty 1.5.1
CGExtensions 1.29.1

MySQL 5.0.92
PHP 5.3.13


Also get this error when I'm trying to show a category list in Products:
INTERNAL ERROR: Query failed - SELECT SQL_CALC_FOUND_ROWS C.*,PH.hierarchy_id FROM cms_module_products C LEFT JOIN cms_module_products_prodtohier PH ON PH.product_id = C.id LEFT JOIN cms_module_products_products_categories cc ON cc.product_id = C.id WHERE C.status = 'published' AND cc.category_id = 7 ORDER BY product_name asc LIMIT 0, 10000 -- Table 'dbname.cms_module_products_products_categories' doesn't exist

**When I use Products 2.17, there is no error**
Submitted both errors to the Bug Report, for now will use 2.17
Post Reply

Return to “Modules/Add-Ons”