Warning: Invalid argument supplied for foreach()
500 Internal Server Error - ContextErrorException
Stack Trace
-
in src/DT/CatalogueBundle/Services/ExtracteurDeContesTypes.php at line 51
}
public function leConteTypeExiste($ctCode,$tableauDesContesType ){
foreach ($tableauDesContesType as $ct) {
if ($ct->ctCode == $ctCode) return true;
}
return false;
-
at
ErrorHandler
->handleError
('2', 'Invalid argument supplied for foreach()', '/home/peyroulent/www/LeConteMerveilleux/src/DT/CatalogueBundle/Services/ExtracteurDeContesTypes.php', '51', array('ctCode' => 'T400', 'tableauDesContesType' => null))
in src/DT/CatalogueBundle/Services/ExtracteurDeContesTypes.php at line 51 -
at
ExtracteurDeContesTypes
->leConteTypeExiste
('T400', null)
in src/DT/CatalogueBundle/Services/ExtracteurDeContesTypes.php at line 30 -
at
ExtracteurDeContesTypes
->listeLesContesTypesContenusDansLaLigne
('*Fb "glarbjrg" I 459f., IV 180b, "heks" I 582, "jrnsko" II 63; *Types 400, 425, 451, 530; *BP I 233ff., III 111 n. 3; *Boberg Danske Studier (1928) 16--53; Hdwb. d. Mrch. II 627; Khler-Bolte I 444; *Patch PMLA XXXIII 610 n. 30, Harvard Studies and Not', null)
in src/PHB/BaseIndexBundle/Controller/RequeteMotifIndexController.php at line 32 - at RequeteMotifIndexController ->requestMotifAction ('F751')
-
at
call_user_func_array
(array(object(RequeteMotifIndexController), 'requestMotifAction'), array('F751'))
in vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php at line 153 -
at
HttpKernel
->handleRaw
(object(Request), '1')
in vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php at line 68 -
at
HttpKernel
->handle
(object(Request), '1', true)
in vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php at line 169 -
at
Kernel
->handle
(object(Request))
in web/app.php at line 16