Hallo!
Heute wollte ich die PHP-Version von 5.6 auf 7.3 wechseln. Leider ist meine Website danach nicht mehr erreichbar. Ich verwende Contao 3.5.17 und das "Cords Theme". Anbei die letzten 2 Fehlermeldung des "error.log".
Es scheint als hätte es was mit den PCT Elements zu tun...
Was kann ich machen?
Schöne Grüße,
René
[06-Sep-2019 16:59:22 Europe/Vienna]
PHP Warning: count(): Parameter must be an array or an object that implements Countable in /home/.sites/6/site2992/web/system/modules/pct_customelements/PCT/CustomElements/Helper/QueryBuilder.php on line 256
#0 [internal function]: __error(2, 'count(): Parame...', '/home/.sites/6/...', 256, Array)
#1 /home/.sites/6/site2992/web/system/modules/pct_customelements/PCT/CustomElements/Helper/QueryBuilder.php(256): count(NULL)
#2 /home/.sites/6/site2992/web/system/modules/pct_customelements/PCT/CustomElements/Helper/QueryBuilder.php(114): PCT\CustomElements\Helper\QueryBuilder->buildSelectQuery(Array)
#3 /home/.sites/6/site2992/web/system/modules/pct_customelements/PCT/CustomElements/Core/AttributeFactory.php(55): PCT\CustomElements\Helper\QueryBuilder::find(Array )
#4 /home/.sites/6/site2992/web/system/modules/pct_customelements/PCT/CustomElements/Core/AttributeFactory.php(206): PCT\CustomElements\Core\AttributeFactory::find(Arr ay)
#5 /home/.sites/6/site2992/web/system/modules/pct_customelements/PCT/CustomElements/Core/CustomElement.php(433): PCT\CustomElements\Core\AttributeFactory::findPubl ishedById('73')
#6 /home/.sites/6/site2992/web/system/modules/pct_customelements/PCT/CustomElements/Core/CustomElement.php(324): PCT\CustomElements\Core\CustomElement->addToTemplate(Object(PCT\CustomElements\Core\Fron tendTemplate))
#7 /home/.sites/6/site2992/web/system/modules/pct_customelements/PCT/CustomElements/Frontend/ModuleCustomElement.php(154): PCT\CustomElements\Core\CustomElement->render()
#8 /home/.sites/6/site2992/web/system/modules/core/modules/Module.php(287): PCT\CustomElements\Frontend\ModuleCustomElement->compile()
#9 /home/.sites/6/site2992/web/system/modules/pct_customelements/PCT/CustomElements/Frontend/ModuleCustomElement.php(127): Contao\Module->generate()
#10 /home/.sites/6/site2992/web/system/modules/core/library/Contao/Controller.php(321): PCT\CustomElements\Frontend\ModuleCustomElement->generate()
#11 /home/.sites/6/site2992/web/system/modules/core/pages/PageRegular.php(133): Contao\Controller::getFrontendModule(Object(Contao \ModuleModel), 'header')
#12 /home/.sites/6/site2992/web/system/modules/core/controllers/FrontendIndex.php(285): Contao\PageRegular->generate(Object(Contao\PageModel), true)
#13 /home/.sites/6/site2992/web/index.php(20): Contao\FrontendIndex->run()
#14 {main}
[06-Sep-2019 16:59:22 Europe/Vienna] PHP Fatal error: Uncaught exception 'Error' with message 'Function name must be a string' thrown in /home/.sites/6/site2992/web/system/modules/pct_customelements/PCT/CustomElements/Core/Hooks.php on line 413
#0 [internal function]: PCT\CustomElements\Core\Hooks->loadValueHook('', Object(PCT\CustomElements\Attributes\Checkbox))
#1 /home/.sites/6/site2992/web/system/modules/pct_customelements/PCT/CustomElements/Core/Hooks.php(77): call_user_func_array(Array, Array)
#2 /home/.sites/6/site2992/web/system/modules/pct_customelements/PCT/CustomElements/Core/Attribute.php(311): PCT\CustomElements\Core\Hooks::callstatic('loadVal ueHook', Array)
#3 /home/.sites/6/site2992/web/system/modules/pct_customelements/PCT/CustomElements/Core/Attribute.php(324): PCT\CustomElements\Core\Attribute->loadValue('10k9j115xzsy4cj', '122', 'tl_module', Array)
#4 /home/.sites/6/site2992/web/system/modules/pct_customelements/PCT/CustomElements/Core/TemplateAttribute.php(48): PCT\CustomElements\Core\Attribute->load()
#5 /home/.sites/6/site2992/web/templates/cords/customelement_layout_sprachwechsler.html5(1): PCT\CustomElements\Core\TemplateAttribute->value()
#6 /home/.sites/6/site2992/web/system/modules/core/library/Contao/BaseTemplate.php(88): include('/home/.sites/6/...')
#7 /home/.sites/6/site2992/web/system/modules/core/library/Contao/Template.php(277): Contao\BaseTemplate->parse()
#8 /home/.sites/6/site2992/web/system/modules/core/classes/FrontendTemplate.php(46): Contao\Template->parse()
#9 /home/.sites/6/site2992/web/system/modules/pct_customelements/PCT/CustomElements/Core/CustomElement.php(336): Contao\FrontendTemplate->parse()
#10 /home/.sites/6/site2992/web/system/modules/pct_customelements/PCT/CustomElements/Frontend/ModuleCustomElement.php(154): PCT\CustomElements\Core\CustomElement->render()
#11 /home/.sites/6/site2992/web/system/modules/core/modules/Module.php(287): PCT\CustomElements\Frontend\ModuleCustomElement->compile()
#12 /home/.sites/6/site2992/web/system/modules/pct_customelements/PCT/CustomElements/Frontend/ModuleCustomElement.php(127): Contao\Module->generate()
#13 /home/.sites/6/site2992/web/system/modules/core/library/Contao/Controller.php(321): PCT\CustomElements\Frontend\ModuleCustomElement->generate()
#14 /home/.sites/6/site2992/web/system/modules/core/pages/PageRegular.php(133): Contao\Controller::getFrontendModule(Object(Contao \ModuleModel), 'header')
#15 /home/.sites/6/site2992/web/system/modules/core/controllers/FrontendIndex.php(285): Contao\PageRegular->generate(Object(Contao\PageModel), true)
#16 /home/.sites/6/site2992/web/index.php(20): Contao\FrontendIndex->run()
#17 {main}
Heute wollte ich die PHP-Version von 5.6 auf 7.3 wechseln. Leider ist meine Website danach nicht mehr erreichbar. Ich verwende Contao 3.5.17 und das "Cords Theme". Anbei die letzten 2 Fehlermeldung des "error.log".
Es scheint als hätte es was mit den PCT Elements zu tun...
Was kann ich machen?
Schöne Grüße,
René
[06-Sep-2019 16:59:22 Europe/Vienna]
PHP Warning: count(): Parameter must be an array or an object that implements Countable in /home/.sites/6/site2992/web/system/modules/pct_customelements/PCT/CustomElements/Helper/QueryBuilder.php on line 256
#0 [internal function]: __error(2, 'count(): Parame...', '/home/.sites/6/...', 256, Array)
#1 /home/.sites/6/site2992/web/system/modules/pct_customelements/PCT/CustomElements/Helper/QueryBuilder.php(256): count(NULL)
#2 /home/.sites/6/site2992/web/system/modules/pct_customelements/PCT/CustomElements/Helper/QueryBuilder.php(114): PCT\CustomElements\Helper\QueryBuilder->buildSelectQuery(Array)
#3 /home/.sites/6/site2992/web/system/modules/pct_customelements/PCT/CustomElements/Core/AttributeFactory.php(55): PCT\CustomElements\Helper\QueryBuilder::find(Array )
#4 /home/.sites/6/site2992/web/system/modules/pct_customelements/PCT/CustomElements/Core/AttributeFactory.php(206): PCT\CustomElements\Core\AttributeFactory::find(Arr ay)
#5 /home/.sites/6/site2992/web/system/modules/pct_customelements/PCT/CustomElements/Core/CustomElement.php(433): PCT\CustomElements\Core\AttributeFactory::findPubl ishedById('73')
#6 /home/.sites/6/site2992/web/system/modules/pct_customelements/PCT/CustomElements/Core/CustomElement.php(324): PCT\CustomElements\Core\CustomElement->addToTemplate(Object(PCT\CustomElements\Core\Fron tendTemplate))
#7 /home/.sites/6/site2992/web/system/modules/pct_customelements/PCT/CustomElements/Frontend/ModuleCustomElement.php(154): PCT\CustomElements\Core\CustomElement->render()
#8 /home/.sites/6/site2992/web/system/modules/core/modules/Module.php(287): PCT\CustomElements\Frontend\ModuleCustomElement->compile()
#9 /home/.sites/6/site2992/web/system/modules/pct_customelements/PCT/CustomElements/Frontend/ModuleCustomElement.php(127): Contao\Module->generate()
#10 /home/.sites/6/site2992/web/system/modules/core/library/Contao/Controller.php(321): PCT\CustomElements\Frontend\ModuleCustomElement->generate()
#11 /home/.sites/6/site2992/web/system/modules/core/pages/PageRegular.php(133): Contao\Controller::getFrontendModule(Object(Contao \ModuleModel), 'header')
#12 /home/.sites/6/site2992/web/system/modules/core/controllers/FrontendIndex.php(285): Contao\PageRegular->generate(Object(Contao\PageModel), true)
#13 /home/.sites/6/site2992/web/index.php(20): Contao\FrontendIndex->run()
#14 {main}
[06-Sep-2019 16:59:22 Europe/Vienna] PHP Fatal error: Uncaught exception 'Error' with message 'Function name must be a string' thrown in /home/.sites/6/site2992/web/system/modules/pct_customelements/PCT/CustomElements/Core/Hooks.php on line 413
#0 [internal function]: PCT\CustomElements\Core\Hooks->loadValueHook('', Object(PCT\CustomElements\Attributes\Checkbox))
#1 /home/.sites/6/site2992/web/system/modules/pct_customelements/PCT/CustomElements/Core/Hooks.php(77): call_user_func_array(Array, Array)
#2 /home/.sites/6/site2992/web/system/modules/pct_customelements/PCT/CustomElements/Core/Attribute.php(311): PCT\CustomElements\Core\Hooks::callstatic('loadVal ueHook', Array)
#3 /home/.sites/6/site2992/web/system/modules/pct_customelements/PCT/CustomElements/Core/Attribute.php(324): PCT\CustomElements\Core\Attribute->loadValue('10k9j115xzsy4cj', '122', 'tl_module', Array)
#4 /home/.sites/6/site2992/web/system/modules/pct_customelements/PCT/CustomElements/Core/TemplateAttribute.php(48): PCT\CustomElements\Core\Attribute->load()
#5 /home/.sites/6/site2992/web/templates/cords/customelement_layout_sprachwechsler.html5(1): PCT\CustomElements\Core\TemplateAttribute->value()
#6 /home/.sites/6/site2992/web/system/modules/core/library/Contao/BaseTemplate.php(88): include('/home/.sites/6/...')
#7 /home/.sites/6/site2992/web/system/modules/core/library/Contao/Template.php(277): Contao\BaseTemplate->parse()
#8 /home/.sites/6/site2992/web/system/modules/core/classes/FrontendTemplate.php(46): Contao\Template->parse()
#9 /home/.sites/6/site2992/web/system/modules/pct_customelements/PCT/CustomElements/Core/CustomElement.php(336): Contao\FrontendTemplate->parse()
#10 /home/.sites/6/site2992/web/system/modules/pct_customelements/PCT/CustomElements/Frontend/ModuleCustomElement.php(154): PCT\CustomElements\Core\CustomElement->render()
#11 /home/.sites/6/site2992/web/system/modules/core/modules/Module.php(287): PCT\CustomElements\Frontend\ModuleCustomElement->compile()
#12 /home/.sites/6/site2992/web/system/modules/pct_customelements/PCT/CustomElements/Frontend/ModuleCustomElement.php(127): Contao\Module->generate()
#13 /home/.sites/6/site2992/web/system/modules/core/library/Contao/Controller.php(321): PCT\CustomElements\Frontend\ModuleCustomElement->generate()
#14 /home/.sites/6/site2992/web/system/modules/core/pages/PageRegular.php(133): Contao\Controller::getFrontendModule(Object(Contao \ModuleModel), 'header')
#15 /home/.sites/6/site2992/web/system/modules/core/controllers/FrontendIndex.php(285): Contao\PageRegular->generate(Object(Contao\PageModel), true)
#16 /home/.sites/6/site2992/web/index.php(20): Contao\FrontendIndex->run()
#17 {main}
Kommentar