Warning: Trying to access array offset on value of type null in /home/xiaomag/public_html/src/Core/Addon/Module/ModuleManagerBuilder.php on line 190 Warning: Trying to access array offset on value of type null in /home/xiaomag/public_html/src/Core/Addon/Module/ModuleManagerBuilder.php on line 190 Warning: Trying to access array offset on value of type null in /home/xiaomag/public_html/src/Core/Addon/Module/ModuleManagerBuilder.php on line 190 Fatal error: Uncaught TypeError: PrestaShopBundle\Service\DataProvider\Admin\CategoriesProvider::__construct(): Argument #1 ($addonsCategories) must be of type array, null given, called in /home/xiaomag/public_html/src/Core/Addon/Module/ModuleManagerBuilder.php on line 190 and defined in /home/xiaomag/public_html/src/PrestaShopBundle/Service/DataProvider/Admin/CategoriesProvider.php:65 Stack trace: #0 /home/xiaomag/public_html/src/Core/Addon/Module/ModuleManagerBuilder.php(190): PrestaShopBundle\Service\DataProvider\Admin\CategoriesProvider->__construct(NULL, Array) #1 /home/xiaomag/public_html/src/Core/Addon/Module/ModuleManagerBuilder.php(89): PrestaShop\PrestaShop\Core\Addon\Module\ModuleManagerBuilder->__construct() #2 /home/xiaomag/public_html/modules/klaviyopsautomation/vendor/prestashop/prestashop-accounts-installer/src/Installer/Installer.php(48): PrestaShop\PrestaShop\Core\Addon\Module\ModuleManagerBuilder::getInstance() #3 /home/xiaomag/public_html/var/cache/dev/Ps_checkout8440FrontContainer.php(1279): PrestaShop\PsAccountsInstaller\Installer\Installer->__construct('4.0.0') #4 /home/xiaomag/public_html/var/cache/dev/Ps_checkout8440FrontContainer.php(1149): Ps_checkout8440FrontContainer->getPsAccounts_FacadeService() #5 /home/xiaomag/public_html/var/cache/dev/Ps_checkout8440FrontContainer.php(1239): Ps_checkout8440FrontContainer->getPsAccountRepositoryService() #6 /home/xiaomag/public_html/var/cache/dev/Ps_checkout8440FrontContainer.php(1229): Ps_checkout8440FrontContainer->getMerchantValidatorService() #7 /home/xiaomag/public_html/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Container.php(257): Ps_checkout8440FrontContainer->getFrontControllerValidatorService() #8 /home/xiaomag/public_html/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Container.php(231): Symfony\Component\DependencyInjection\Container->make('PrestaShop\\Modu...', 1) #9 /home/xiaomag/public_html/modules/klaviyopsautomation/vendor/prestashop/module-lib-service-container/src/DependencyInjection/ServiceContainer.php(64): Symfony\Component\DependencyInjection\Container->get('PrestaShop\\Modu...') #10 /home/xiaomag/public_html/modules/ps_checkout/ps_checkout.php(1519): PrestaShop\ModuleLibServiceContainer\DependencyInjection\ServiceContainer->getService('PrestaShop\\Modu...') #11 /home/xiaomag/public_html/modules/ps_checkout/ps_checkout.php(913): Ps_checkout->getService('PrestaShop\\Modu...') #12 /home/xiaomag/public_html/classes/Hook.php(1077): Ps_checkout->hookActionFrontControllerSetMedia(Array) #13 /home/xiaomag/public_html/classes/Hook.php(418): HookCore::coreCallHook(Object(Ps_checkout), 'hookActionFront...', Array) #14 /home/xiaomag/public_html/classes/Hook.php(983): HookCore::callHookOn(Object(Ps_checkout), 'actionFrontCont...', Array) #15 /home/xiaomag/public_html/classes/controller/FrontController.php(1004): HookCore::exec('actionFrontCont...', Array) #16 /home/xiaomag/public_html/classes/controller/Controller.php(304): FrontControllerCore->setMedia() #17 /home/xiaomag/public_html/classes/Dispatcher.php(510): ControllerCore->run() #18 /home/xiaomag/public_html/index.php(28): DispatcherCore->dispatch() #19 {main} thrown in /home/xiaomag/public_html/src/PrestaShopBundle/Service/DataProvider/Admin/CategoriesProvider.php on line 65