Liebe contao-Gemeinde,
ich betreibe eine Webseite mit contao 3.5.8 und wollte nun cookiebar einbinden.
Im Backend funktioniert alles wunderbar, aber im Frontend kommt folgender Fehler:
Code:
Warning: in_array() expects parameter 2 to be array, null given in system/modules/core/library/Contao/System.php on line 140
#0 [internal function]: __error(2, 'in_array() expe...', '/...', 140, Array)
#1 system/modules/core/library/Contao/System.php(140): in_array('getInstance', NULL)
#2 system/modules/core/classes/FrontendTemplate.php(88): Contao\System->import('Codefog\\Cookieb...')
#3 system/modules/core/pages/PageRegular.php(190): Contao\FrontendTemplate->output(true)
#4 system/modules/core/controllers/FrontendIndex.php(267): Contao\PageRegular->generate(Object(Contao\PageModel), true)
#5 index.php(20): Contao\FrontendIndex->run()
#6 {main}
Fatal error: Class 'Codefog\Cookiebar\EventListener\TemplateListener' not found in /.../system/modules/core/library/Contao/System.php on line 140
Was muss ich tun, damit es wieder läuft?
Für Eure Hilfe schon mal vielen Dank.
Lesezeichen