Fatal error: Uncaught Error: Cannot use object of type stdClass as array in /home/tgadmin/webapps/form/controllers/cProducts.php:134 Stack trace: #0 /home/tgadmin/webapps/form/controllers/cProducts.php(93): cProducts->calcLowestPrice(Object(stdClass)) #1 /home/tgadmin/webapps/obray/core/OObject.php(453): cProducts->index(Array) #2 /home/tgadmin/webapps/obray/core/OObject.php(313): OObject->executeMethod('lighting', Array, false, Array) #3 /home/tgadmin/webapps/obray/core/OObject.php(413): OObject->route('/lighting', Array, false) #4 /home/tgadmin/webapps/obray/core/OObject.php(320): OObject->createObject(Array, '/lighting', '', Array, false) #5 /home/tgadmin/webapps/obray/core/ORouter.php(64): OObject->route('/products/light...', Array, false) #6 /home/tgadmin/webapps/form/index.php(17): ORouter->route('/products/light...') #7 {main} thrown in /home/tgadmin/webapps/form/controllers/cProducts.php on line 134