Nulumia
Customer
Hello, So far everything's been great setting up my new shop. Just noticed I get this error when trying to leave a review for a product:
This error appears within the popup rating box after hitting the "Submit Rating" button.

I've checked that usergroups have permission to leave ratings, and the rating functionality works elsewhere such as in Resource Manager etc.
Thanks for any help,
-Robert
Code:
ErrorException: [E_NOTICE] Trying to get property of non-object in src\addons\DBTech\eCommerce\Service\Product\Rate.php at line 68
XF::handlePhpError() in src\addons\DBTech\eCommerce\Service\Product\Rate.php at line 68
DBTech\eCommerce\Service\Product\Rate->setupRating() in src\addons\DBTech\eCommerce\Service\Product\Rate.php at line 51
DBTech\eCommerce\Service\Product\Rate->__construct() in src\XF\Container.php at line 274
XF\Container->createObject() in src\XF\App.php at line 1359
XF\App->XF\{closure}() in src\XF\Container.php at line 228
XF\Container->create() in src\XF\App.php at line 2508
XF\App->service()
call_user_func_array() in src\XF\Mvc\Controller.php at line 717
XF\Mvc\Controller->service() in src\addons\DBTech\eCommerce\Pub\Controller\Product.php at line 765
DBTech\eCommerce\Pub\Controller\Product->setupProductRate() in src\addons\DBTech\eCommerce\Pub\Controller\Product.php at line 733
DBTech\eCommerce\Pub\Controller\Product->actionRate() in src\XF\Mvc\Dispatcher.php at line 249
XF\Mvc\Dispatcher->dispatchClass() in src\XF\Mvc\Dispatcher.php at line 87
XF\Mvc\Dispatcher->dispatchLoop() in src\XF\Mvc\Dispatcher.php at line 41
XF\Mvc\Dispatcher->run() in src\XF\App.php at line 1931
XF\App->run() in src\XF.php at line 329
XF::runApp() in index.php at line 13
This error appears within the popup rating box after hitting the "Submit Rating" button.

I've checked that usergroups have permission to leave ratings, and the rating functionality works elsewhere such as in Resource Manager etc.
Thanks for any help,
-Robert