Fatal error: Uncaught TypeError: SmsCashbackShopping\Models\SmsCashbackProduct::getCategories(): Return value must be of type Doctrine\Common\Collections\ArrayCollection, Doctrine\ORM\PersistentCollection returned in /var/www/html/giroxtra/custom/plugins/SmsCashbackShopping/Models/SmsCashbackProduct.php:351 Stack trace: #0 /var/www/html/giroxtra/custom/plugins/SmsCashbackShopping/Components/CashbackShop/ProductService.php(116): SmsCashbackShopping\Models\SmsCashbackProduct->getCategories() #1 /var/www/html/giroxtra/custom/plugins/SmsCashbackShopping/Components/CashbackShop/ProductService.php(62): SmsCashbackShopping\Components\CashbackShop\ProductService->findMainCategoriesOfProduct(Object(SmsCashbackShopping\Models\SmsCashbackProduct)) #2 /var/www/html/giroxtra/custom/plugins/SmsCashbackShopping/Subscribers/Listing.php(121): SmsCashbackShopping\Components\CashbackShop\ProductService->renderForViewWithMainCategories(Array) #3 /var/www/html/giroxtra/engine/Library/Enlight/Event/Handler/Default.php(90): SmsCashbackShopping\Subscribers\Listing->handleCashbackListing(Object(Enlight_Controller_ActionEventArgs)) #4 /var/www/html/giroxtra/engine/Library/Enlight/Event/EventManager.php(208): Enlight_Event_Handler_Default->execute(Object(Enlight_Controller_ActionEventArgs)) #5 /var/www/html/giroxtra/engine/Library/Enlight/Controller/Action.php(172): Enlight_Event_EventManager->notify('Enlight_Control...', Object(Enlight_Controller_ActionEventArgs)) #6 /var/www/html/giroxtra/engine/Library/Enlight/Controller/Dispatcher/Default.php(461): Enlight_Controller_Action->dispatch('indexAction') #7 /var/www/html/giroxtra/engine/Library/Enlight/Controller/Front.php(225): Enlight_Controller_Dispatcher_Default->dispatch(Object(Enlight_Controller_Request_RequestHttp), Object(Enlight_Controller_Response_ResponseHttp)) #8 /var/www/html/giroxtra/engine/Shopware/Kernel.php(197): Enlight_Controller_Front->dispatch() #9 /var/www/html/giroxtra/vendor/symfony/http-kernel/HttpCache/SubRequestHandler.php(85): Shopware\Kernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #10 /var/www/html/giroxtra/vendor/symfony/http-kernel/HttpCache/HttpCache.php(479): Symfony\Component\HttpKernel\HttpCache\SubRequestHandler::handle(Object(Shopware\Kernel), Object(Symfony\Component\HttpFoundation\Request), 1, true) #11 /var/www/html/giroxtra/engine/Shopware/Components/HttpCache/AppCache.php(266): Symfony\Component\HttpKernel\HttpCache\HttpCache->forward(Object(Symfony\Component\HttpFoundation\Request), true, NULL) #12 /var/www/html/giroxtra/vendor/symfony/http-kernel/HttpCache/HttpCache.php(452): Shopware\Components\HttpCache\AppCache->forward(Object(Symfony\Component\HttpFoundation\Request), true) #13 /var/www/html/giroxtra/vendor/symfony/http-kernel/HttpCache/HttpCache.php(346): Symfony\Component\HttpKernel\HttpCache\HttpCache->fetch(Object(Symfony\Component\HttpFoundation\Request), true) #14 /var/www/html/giroxtra/engine/Shopware/Components/HttpCache/AppCache.php(192): Symfony\Component\HttpKernel\HttpCache\HttpCache->lookup(Object(Symfony\Component\HttpFoundation\Request), true) #15 /var/www/html/giroxtra/vendor/symfony/http-kernel/HttpCache/HttpCache.php(224): Shopware\Components\HttpCache\AppCache->lookup(Object(Symfony\Component\HttpFoundation\Request), true) #16 /var/www/html/giroxtra/engine/Shopware/Components/HttpCache/AppCache.php(117): Symfony\Component\HttpKernel\HttpCache\HttpCache->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #17 /var/www/html/giroxtra/shopware.php(122): Shopware\Components\HttpCache\AppCache->handle(Object(Symfony\Component\HttpFoundation\Request)) #18 {main} thrown in /var/www/html/giroxtra/custom/plugins/SmsCashbackShopping/Models/SmsCashbackProduct.php on line 351