[ThemeRepository] Theme configuration file not found for theme at `/home/kursprzesa/sklepbeautyforyou/themes/theme_1443/config/theme.yml`.
at line 132 in file src/Core/Addon/Theme/ThemeRepository.php
127. }
128.
129. private function getConfigFromFile($file)
130. {
131. if (!$this->filesystem->exists($file)) {
132. throw new PrestaShopException(sprintf(
133. '[ThemeRepository] Theme configuration file not found for theme at `%s`.',
134. $file
135. ));
136. }
137.
60. }
61.
62. if ($this->filesystem->exists($jsonConf)) {
63. $data = $this->getConfigFromFile($jsonConf);
64. } else {
65. $data = $this->getConfigFromFile($dir . '/config/theme.yml');
66.
67. // Write parsed yml data into json conf (faster parsing next time)
68. $this->filesystem->dumpFile($jsonConf, json_encode($data), 0777);
69. }
70.
Argument [0] /home/kursprzesa/sklepbeautyforyou/themes/theme_1443/config/theme.yml
486. $db = Db::getInstance();
487. $themeRepository = (new PrestaShop\PrestaShop\Core\Addon\Theme\ThemeManagerBuilder($context, $db))->buildRepository($this);
488. if (empty($this->theme_name)) {
489. $this->theme_name = 'classic';
490. }
491. $this->theme = $themeRepository->getInstanceByName($this->theme_name);
492. }
493.
494. /**
495. * Get theme directory name
496. *
Argument [0] theme_1443
130. parent::__construct($id, $id_lang, $id_shop);
131.
132. if ($this->id) {
133. $this->setUrl();
134. if ($this->theme == null) {
135. $this->setTheme();
136. }
137. }
138. }
139.
140. /**
409. }
410. } else {
411. $shop = new Shop($id_shop);
412. if (!Validate::isLoadedObject($shop) || !$shop->active) {
413. // No shop found ... too bad, let's redirect to default shop
414. $default_shop = new Shop(Configuration::get('PS_SHOP_DEFAULT'));
415.
416. // Hmm there is something really bad in your Prestashop !
417. if (!Validate::isLoadedObject($default_shop)) {
418. throw new PrestaShopException('Shop not found');
419. }
Argument [0] 2
114.
115. $context = Context::getContext();
116.
117. /* Initialize the current Shop */
118. try {
119. $context->shop = Shop::initialize();
120. } catch (PrestaShopException $e) {
121. $e->displayMessage();
122. }
123. define('_THEME_NAME_', $context->shop->theme->getName());
124. define('_PARENT_THEME_NAME_', $context->shop->theme->get('parent') ?: '');
23. * @copyright 2007-2018 PrestaShop SA
24. * @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
25. * International Registered Trademark & Property of PrestaShop SA
26. */
27.
28. require(dirname(__FILE__).'/config/config.inc.php');
29. Dispatcher::getInstance()->dispatch();
Argument [0] /home/kursprzesa/sklepbeautyforyou/config/config.inc.php