Non-static method Catalog::getAllSaleProducts() should not be called statically, assuming $this from incompatible context