- Status: Closed
- Opened by: Jaime Rico (franciscojover)
- Open Date: 09.03.18, 11:40
- Closed by: Marek (marek)
- Closed on: 06.05.18, 20:40
- Reason: Closed
- Comment: Glad to help!
Ticket #11821 - Problems with the theme in multistore.
We need to create a MultiStore site with the Alysum theme.
At present, we have configured the Prestashop as one Store, but when we create the second Store and active the Alysum theme, we get the next error:
Fatal error: Uncaught TypeError: Argument 5 passed to PrestaShop\PrestaShop\Core\Addon\Theme\ThemeManager::construct() must be an instance of Employee, null given, called in /usr/home/ka-international.com/web/okisam/src/Core/Addon/Theme/ThemeManagerBuilder.php on line 73 and defined in /usr/home/ka-international.com/web/okisam/src/Core/Addon/Theme/ThemeManager.php:62 Stack trace: #0 /usr/home/ka-international.com/web/okisam/src/Core/Addon/Theme/ThemeManagerBuilder.php(73): PrestaShop\PrestaShop\Core\Addon\Theme\ThemeManager→construct(Object(Shop), Object(PrestaShop\PrestaShop\Adapter\Configuration), Object(PrestaShop\PrestaShop\Core\Addon\Theme\ThemeValidator), Object(PrestaShopBundle\Translation\TranslatorComponent), NULL, Object(Symfony\Component\Filesystem\Filesystem), Object(Symfony\Component\Finder\Finder), Object(PrestaShop\PrestaShop\Core\Module\HookConfigurator), Object(PrestaShop\PrestaShop\Core\Addon\Theme\ThemeRepository), Object(PrestaShop\PrestaShop\Core\Image\ImageTypeRepository)) #1 /usr/home/ka-intern in /usr/home/ka-international.com/web/okisam/src/Core/Addon/Theme/ThemeManager.php on line 62
If we change the theme from the admin panel, and reactive the Alysum, the theme seems to be charged but without the modules and wrong CSS.
Firstly, I supossed that the Alysum theme don’t support multistore, but then I saw, that it does have that feature.
I would like a Multistore, with the same theme settings and hooks positions, because I need the “same” store with different languages and prices.
Please, I need to solve this urgently, because the client needs to have the site already.