Warning: mysqli::real_escape_string(): Couldn't fetch mysqli in …/system/drivers/DB_Mysqli.php on line 329
#0 [internal function]: __error(2, 'mysqli::real_es...', '/homepages/21/d...', 329, Array)
#1 …/system/drivers/DB_Mysqli.php(329): mysqli->real_escape_string('BYA198042')
#2 …/system/libraries/Database.php(734): DB_Mysqli_Statement->string_escape('BYA198042')
#3 …/system/libraries/Database.php(711): Database_Statement->escapeParams(Array)
#4 …/system/libraries/Database.php(624): Database_Statement->replaceWildcards(Array)
#5 …/system/modules/catalog_otherDb/ModuleCatalogReaderOtherDb.php(89): Database_Statement->execute(Array)
#6 …/system/modules/catalog_otherDb/ModuleCatalogReaderOtherDb.php(45): ModuleCatalogReaderOtherDb->fetchCatalogItems(Array, 'nr=?', Array)
#7 …/system/modules/catalog_otherDb_editKey/ModuleCatalogReaderWithKey.php(48): ModuleCatalogReaderOtherDb->fetchCatalogItemFromRequest(Array)
#8 …/system/modules/catalog/ModuleCatalogReader.php(88): ModuleCatalogReaderWithKey->fetchCatalogItemFromRequest(Array)
#9 …/system/modules/catalog_otherDb_editKey/ModuleCatalogReaderWithKey.php(35): ModuleCatalogReader->compile()
#10 …/system/modules/frontend/Module.php(140): ModuleCatalogReaderWithKey->compile()
#11 …/system/modules/catalog/ModuleCatalog.php(164): Module->generate()
#12 …/system/modules/catalog/ModuleCatalogReader.php(74): ModuleCatalog->generate()
#13 …/system/modules/frontend/ContentModule.php(72): ModuleCatalogReader->generate()
#14 …/system/libraries/Controller.php(511): ContentModule->generate()
#15 …/system/modules/frontend/ModuleArticle.php(194): Controller->getContentElement('574')
#16 …/system/modules/frontend/Module.php(140): ModuleArticle->compile()
#17 …/system/modules/frontend/ModuleArticle.php(71): Module->generate()
#18 …/system/libraries/Controller.php(443): ModuleArticle->generate(false)
#19 …/system/libraries/Controller.php(307): Controller->getArticle('318', false, false, 'main')
#20 …/system/modules/frontend/PageRegular.php(100): Controller->getFrontendModule('0', 'main')
#21 …/index.php(279): PageRegular->generate(Object(DB_Mysqli_Result))
#22 …/index.php(414): Index->run()
#23 {main}

Fatal error: Uncaught exception Exception with message Query error: (SELECT kurzbez,nr,ort,(IF(beginn_dat=ende_dat, DATE_FORMAT(beginn_dat, GET_FORMAT(DATE, 'EUR')), CONCAT_WS('—', DATE_FORMAT(beginn_dat, GET_FORMAT(DATE, 'EUR')), DATE_FORMAT(ende_dat, GET_FORMAT(DATE, 'EUR'))))) AS datumCalc,(IF(beginn != '00:00' AND ende != '00:00' AND beginn != '' AND ende != '', CONCAT(beginn, '—', ende), '')) AS zeitCalc,punkte,((SELECT GROUP_CONCAT(DISTINCT k.text SEPARATOR ', ') FROM `kennz` AS k INNER JOIN kennz_ad AS ka ON k.kennz=ka.kennz AND ka.typ='K' WHERE ka.nr=kurse.nr)) AS kennzCalc,(IF(teil_max > 0, teil_max - (SELECT COUNT(b.id) FROM belegung AS b WHERE b.knr=nr AND (b.status_1 in ('A','T','P',' ','') OR b.status_1 IS NULL)), NULL)) AS plaetzeCalc,teil_max,webinfo,(IF(kursauswahl2 != 'W', gebuehr, '')) AS gebuehrCalc,nr AS id, 'Fortbildungen' AS catalog_name, 205 AS parentJumpTo FROM kurse WHERE nr='' LIMIT 0,1) thrown in …/system/libraries/Database.php on line 686
#0 …/system/libraries/Database.php(633): Database_Statement->query()
#1 …/system/modules/catalog_otherDb/ModuleCatalogReaderOtherDb.php(89): Database_Statement->execute(Array)
#2 …/system/modules/catalog_otherDb/ModuleCatalogReaderOtherDb.php(45): ModuleCatalogReaderOtherDb->fetchCatalogItems(Array, 'nr=?', Array)
#3 …/system/modules/catalog_otherDb_editKey/ModuleCatalogReaderWithKey.php(48): ModuleCatalogReaderOtherDb->fetchCatalogItemFromRequest(Array)
#4 …/system/modules/catalog/ModuleCatalogReader.php(88): ModuleCatalogReaderWithKey->fetchCatalogItemFromRequest(Array)
#5 …/system/modules/catalog_otherDb_editKey/ModuleCatalogReaderWithKey.php(35): ModuleCatalogReader->compile()
#6 …/system/modules/frontend/Module.php(140): ModuleCatalogReaderWithKey->compile()
#7 …/system/modules/catalog/ModuleCatalog.php(164): Module->generate()
#8 …/system/modules/catalog/ModuleCatalogReader.php(74): ModuleCatalog->generate()
#9 …/system/modules/frontend/ContentModule.php(72): ModuleCatalogReader->generate()
#10 …/system/libraries/Controller.php(511): ContentModule->generate()
#11 …/system/modules/frontend/ModuleArticle.php(194): Controller->getContentElement('574')
#12 …/system/modules/frontend/Module.php(140): ModuleArticle->compile()
#13 …/system/modules/frontend/ModuleArticle.php(71): Module->generate()
#14 …/system/libraries/Controller.php(443): ModuleArticle->generate(false)
#15 …/system/libraries/Controller.php(307): Controller->getArticle('318', false, false, 'main')
#16 …/system/modules/frontend/PageRegular.php(100): Controller->getFrontendModule('0', 'main')
#17 …/index.php(279): PageRegular->generate(Object(DB_Mysqli_Result))
#18 …/index.php(414): Index->run()
#19 {main}