Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fehler unter PHP 7.2 #30

Closed
k-webdesign opened this issue Nov 15, 2018 · 1 comment
Closed

Fehler unter PHP 7.2 #30

k-webdesign opened this issue Nov 15, 2018 · 1 comment
Assignees
Labels
Milestone

Comments

@k-webdesign
Copy link

k-webdesign commented Nov 15, 2018

In v3.0.8 Unter PHP 7.2 kommt:

Warning: count(): Parameter must be an array or an object that implements Countable in system/modules/tabcontrol/elements/ContentTabControl.php on line 41
#0 [internal function]: __error(2, 'count(): Parame...', '/kunden/***...', 41, Array)
#1 system/modules/tabcontrol/elements/ContentTabControl.php(41): count('')
#2 system/modules/core/elements/ContentElement.php(265): Contao\ContentTabControl->compile()
#3 system/modules/core/library/Contao/Controller.php(484): Contao\ContentElement->generate()
#4 system/modules/core/modules/ModuleArticle.php(213): Contao\Controller::getContentElement(Object(Contao\ContentModel), 'main')
#5 system/modules/core/modules/Module.php(287): Contao\ModuleArticle->compile()
#6 system/modules/core/modules/ModuleArticle.php(67): Contao\Module->generate()
#7 system/modules/core/library/Contao/Controller.php(417): Contao\ModuleArticle->generate(false)
#8 system/modules/core/library/Contao/Controller.php(277): Contao\Controller::getArticle(Object(Contao\ArticleModel), true, false, 'main')
#9 system/modules/core/pages/PageRegular.php(133): Contao\Controller::getFrontendModule('0', 'main')
#10 system/modules/core/controllers/FrontendIndex.php(285): Contao\PageRegular->generate(Object(Contao\PageModel), true)
#11 index.php(20): Contao\FrontendIndex->run()
#12 {main}

Warning: Cannot modify header information - headers already sent by (output started at /kunden//webseiten/contao-messeabteilung-2016/system/helper/functions.php:65) in system/modules/core/library/Contao/Template.php on line 294
#0 [internal function]: __error(2, 'Cannot modify h...', '/kunden/
...', 294, Array)
#1 system/modules/core/library/Contao/Template.php(294): header('Vary: User-Agen...', false)
#2 system/modules/core/classes/FrontendTemplate.php(121): Contao\Template->output()
#3 system/modules/core/pages/PageRegular.php(190): Contao\FrontendTemplate->output(true)
#4 system/modules/core/controllers/FrontendIndex.php(285): Contao\PageRegular->generate(Object(Contao\PageModel), true)
#5 index.php(20): Contao\FrontendIndex->run()
#6 {main}

Warning: Cannot modify header information - headers already sent by (output started at /kunden//webseiten/contao-messeabteilung-2016/system/helper/functions.php:65) in system/modules/core/library/Contao/Template.php on line 295
#0 [internal function]: __error(2, 'Cannot modify h...', '/kunden/
...', 295, Array)
#1 system/modules/core/library/Contao/Template.php(295): header('Content-Type: t...')
#2 system/modules/core/classes/FrontendTemplate.php(121): Contao\Template->output()
#3 system/modules/core/pages/PageRegular.php(190): Contao\FrontendTemplate->output(true)
#4 system/modules/core/controllers/FrontendIndex.php(285): Contao\PageRegular->generate(Object(Contao\PageModel), true)
#5 index.php(20): Contao\FrontendIndex->run()
#6 {main}

Mit 7.1 geht es.

@crckmc
Copy link

crckmc commented Jan 15, 2019

Hallo,

bei mir ist es genau der gleiche Fehler bei PHP > 7.1 mit 7.1 geht es.

@christianbarkowsky christianbarkowsky self-assigned this Jan 17, 2019
@christianbarkowsky christianbarkowsky added this to the 3.0.9 milestone Jan 17, 2019
christianbarkowsky added a commit that referenced this issue Jan 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants