[PrestaShopException]

[ThemeRepository] Theme configuration file not found for theme at `/home/aniaduda/domains/johnstanley.pl/public_html/themes/1/config/theme.yml`.
at line 161 in file src/Core/Addon/Theme/ThemeRepository.php

156.     }
157. 
158.     private function getConfigFromFile($file)
159.     {
160.         if (!$this->filesystem->exists($file)) {
161.             throw new PrestaShopException(sprintf('[ThemeRepository] Theme configuration file not found for theme at `%s`.', $file));
162.         }
163. 
164.         $content = file_get_contents($file);
165. 
166.         if (preg_match('/.\.(yml|yaml)$/', $file)) {

( ! ) Fatal error: Uncaught PDOException: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ') AND module_shop.enable_device & 1) INNER JOIN `ps_hook_module` `hm` ON hm.`...' at line 4 in /home/aniaduda/domains/johnstanley.pl/public_html/classes/db/DbPDO.php:149 Stack trace: #0 /home/aniaduda/domains/johnstanley.pl/public_html/classes/db/DbPDO.php(149): PDO->query('SELECT h.`name`...') #1 /home/aniaduda/domains/johnstanley.pl/public_html/classes/db/Db.php(377): DbPDOCore->_query('SELECT h.`name`...') #2 /home/aniaduda/domains/johnstanley.pl/public_html/classes/db/Db.php(614): DbCore->query('SELECT h.`name`...') #3 /home/aniaduda/domains/johnstanley.pl/public_html/classes/Hook.php(1233): DbCore->executeS('SELECT h.`name`...') #4 /home/aniaduda/domains/johnstanley.pl/public_html/classes/Hook.php(735): HookCore::getAllHookRegistrations(Object(Context), 'actionLoggerLog...') #5 /home/aniaduda/domains/johnstanley.pl/public_html/classes/Hook.php(842): HookCore::getHookModuleExecList('actionLoggerLog...') #6 /home/aniaduda/domains/johnstanley.pl/public_html/classes/log/AbstractLogger.php(70): HookCore::exec('actionLoggerLog...', Array) #7 /home/aniaduda/domains/johnstanley.pl/public_html/classes/log/AbstractLogger.php(112): AbstractLoggerCore->log('[ThemeRepositor...', 3) #8 /home/aniaduda/domains/johnstanley.pl/public_html/classes/exception/PrestaShopException.php(206): AbstractLoggerCore->logError('[ThemeRepositor...') #9 /home/aniaduda/domains/johnstanley.pl/public_html/classes/exception/PrestaShopException.php(98): PrestaShopExceptionCore->logError() #10 /home/aniaduda/domains/johnstanley.pl/public_html/config/config.inc.php(119): PrestaShopExceptionCore->displayMessage() #11 /home/aniaduda/domains/johnstanley.pl/public_html/index.php(27): require('/home/aniaduda/...') #12 {main} Next PrestaShopException: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ') AND module_shop.enable_device & 1) INNER JOIN `ps_hook_module` `hm` ON hm.`...' at line 4 in /home/aniaduda/domains/johnstanley.pl/public_html/classes/db/DbPDO.php on line 151
( ! ) PrestaShopException: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ') AND module_shop.enable_device & 1) INNER JOIN `ps_hook_module` `hm` ON hm.`...' at line 4 in /home/aniaduda/domains/johnstanley.pl/public_html/classes/db/DbPDO.php on line 151
Call Stack
#TimeMemoryFunctionLocation
10.0003363744{main}( ).../index.php:0
20.0014366752require( '/home/aniaduda/domains/johnstanley.pl/public_html/config/config.inc.php ).../index.php:27
30.10141744552PrestaShopExceptionCore->displayMessage( ).../config.inc.php:119
40.10201744824PrestaShopExceptionCore->logError( ).../PrestaShopException.php:98
50.10271751624AbstractLoggerCore->logError( $message = '[ThemeRepository] Theme configuration file not found for theme at `/home/aniaduda/domains/johnstanley.pl/public_html/themes/1/config/theme.yml`. at line 161 in file src/Core/Addon/Theme/ThemeRepository.php' ).../PrestaShopException.php:206
60.10271751624AbstractLoggerCore->log( $message = '[ThemeRepository] Theme configuration file not found for theme at `/home/aniaduda/domains/johnstanley.pl/public_html/themes/1/config/theme.yml`. at line 161 in file src/Core/Addon/Theme/ThemeRepository.php', $level = 3 ).../AbstractLogger.php:112
70.10601776376HookCore::exec( $hook_name = 'actionLoggerLogMessage', $hook_args = ['message' => '[ThemeRepository] Theme configuration file not found for theme at `/home/aniaduda/domains/johnstanley.pl/public_html/themes/1/config/theme.yml`. at line 161 in file src/Core/Addon/Theme/ThemeRepository.php', 'level' => 3, 'isLogged' => TRUE], $id_module = ???, $array_return = ???, $check_exceptions = ???, $use_push = ???, $id_shop = ???, $chain = ??? ).../AbstractLogger.php:70
80.10711877176HookCore::getHookModuleExecList( $hookName = 'actionLoggerLogMessage' ).../Hook.php:842
90.10711877176HookCore::getAllHookRegistrations( $context = class Context { public $cart = NULL; public $customer = NULL; public $cookie = NULL; public $session = NULL; public $link = NULL; public $country = NULL; public $employee = NULL; public $controller = NULL; public $override_controller_name_for_translations = NULL; public $language = NULL; public $currency = NULL; public $currentLocale = NULL; public $tab = NULL; public $shop = NULL; public $tmpOldShop = NULL; public $smarty = NULL; public $mobile_detect = class Mobile_Detect { protected $cache = [...]; protected $userAgent = 'claudebot'; protected $httpHeaders = [...]; protected $cloudfrontHeaders = [...]; protected $matchingRegex = NULL; protected $matchesArray = NULL; protected $detectionType = 'mobile' }; public $mode = NULL; public $container = NULL; public $virtualTotalTaxExcluded = 0; public $virtualTotalTaxIncluded = 0; protected $translator = NULL; protected $priceComputingPrecision = NULL; protected $mobile_device = NULL; protected $is_mobile = FALSE; protected $is_tablet = FALSE }, $hookName = 'actionLoggerLogMessage' ).../Hook.php:735
100.11911932752DbCore->executeS( $sql = class DbQuery { protected $query = ['type' => 'SELECT', 'select' => [...], 'from' => [...], 'join' => [...], 'where' => [...], 'group' => [...], 'having' => [...], 'order' => [...], 'limit' => [...]] }, $array = ???, $use_cache = ??? ).../Hook.php:1233
110.11911932696DbCore->query( $sql = 'SELECT h.`name` as hook, m.`id_module`, h.`id_hook`, m.`name` as module\nFROM `ps_module` m\n INNER JOIN ps_module_shop module_shop\n ON (module_shop.id_module = m.id_module AND module_shop.id_shop IN () AND module_shop.enable_device & 1)\nINNER JOIN `ps_hook_module` `hm` ON hm.`id_module` = m.`id_module`\nINNER JOIN `ps_hook` `h` ON hm.`id_hook` = h.`id_hook`\nLEFT JOIN `ps_module_group` `mg` ON mg.`id_module` = m.`id_module`\nWHERE (h.`name` != "paymentOptions") AND (mg.`id_group` IN (1))\nGROUP BY hm.id_h'... ).../Db.php:614
120.11911932696DbPDOCore->_query( $sql = 'SELECT h.`name` as hook, m.`id_module`, h.`id_hook`, m.`name` as module\nFROM `ps_module` m\n INNER JOIN ps_module_shop module_shop\n ON (module_shop.id_module = m.id_module AND module_shop.id_shop IN () AND module_shop.enable_device & 1)\nINNER JOIN `ps_hook_module` `hm` ON hm.`id_module` = m.`id_module`\nINNER JOIN `ps_hook` `h` ON hm.`id_hook` = h.`id_hook`\nLEFT JOIN `ps_module_group` `mg` ON mg.`id_module` = m.`id_module`\nWHERE (h.`name` != "paymentOptions") AND (mg.`id_group` IN (1))\nGROUP BY hm.id_h'... ).../Db.php:377