A PHP Error was encountered

Severity: 4096

Message: Argument 1 passed to Products\BaseProducts::areAllParentCategoriesActive() must be an instance of SProducts, null given, called in /var/www/avontjuser/data/www/avon.tj/application/modules/shop/classes/Products/BaseProducts.php on line 59 and defined

Filename: Products/BaseProducts.php

Line Number: 77