Warning: Invalid argument supplied for foreach() in vendor/tecnickcom/tcpdf/tcpdf.php on line 19486
#0 vendor/tecnickcom/tcpdf/tcpdf.php(19486): __error(2, 'Invalid argumen...', '/var/www/websit...', 19486, Array)
#1 vendor/tecnickcom/tcpdf/tcpdf.php(18291): TCPDF->closeHTMLTagHandler(Array, 262, 0, 220.208344)
#2 system/modules/pdf-template/pdf_hookControl.php(160): TCPDF->writeHTML(' 
generatePdf() #5 system/modules/core/library/Contao/Controller.php(277): Contao\Controller::getArticle(Object(Contao\ArticleModel), false, false, 'main') #6 system/modules/core/pages/PageRegular.php(133): Contao\Controller::getFrontendModule('0', 'main') #7 system/modules/core/controllers/FrontendIndex.php(285): Contao\PageRegular->generate(Object(Contao\PageModel), true) #8 index.php(20): Contao\FrontendIndex->run() #9 {main}

Warning: count(): Parameter must be an array or an object that implements Countable in vendor/tecnickcom/tcpdf/tcpdf.php on line 19515
#0 vendor/tecnickcom/tcpdf/tcpdf.php(19515): __error(2, 'count(): Parame...', '/var/www/websit...', 19515, Array)
#1 vendor/tecnickcom/tcpdf/tcpdf.php(18291): TCPDF->closeHTMLTagHandler(Array, 262, 0, 220.208344)
#2 system/modules/pdf-template/pdf_hookControl.php(160): TCPDF->writeHTML(' 
generatePdf() #5 system/modules/core/library/Contao/Controller.php(277): Contao\Controller::getArticle(Object(Contao\ArticleModel), false, false, 'main') #6 system/modules/core/pages/PageRegular.php(133): Contao\Controller::getFrontendModule('0', 'main') #7 system/modules/core/controllers/FrontendIndex.php(285): Contao\PageRegular->generate(Object(Contao\PageModel), true) #8 index.php(20): Contao\FrontendIndex->run() #9 {main}

Warning: Invalid argument supplied for foreach() in vendor/tecnickcom/tcpdf/tcpdf.php on line 19518
#0 vendor/tecnickcom/tcpdf/tcpdf.php(19518): __error(2, 'Invalid argumen...', '/var/www/websit...', 19518, Array)
#1 vendor/tecnickcom/tcpdf/tcpdf.php(18291): TCPDF->closeHTMLTagHandler(Array, 262, 0, 220.208344)
#2 system/modules/pdf-template/pdf_hookControl.php(160): TCPDF->writeHTML(' 
generatePdf() #5 system/modules/core/library/Contao/Controller.php(277): Contao\Controller::getArticle(Object(Contao\ArticleModel), false, false, 'main') #6 system/modules/core/pages/PageRegular.php(133): Contao\Controller::getFrontendModule('0', 'main') #7 system/modules/core/controllers/FrontendIndex.php(285): Contao\PageRegular->generate(Object(Contao\PageModel), true) #8 index.php(20): Contao\FrontendIndex->run() #9 {main}
TCPDF ERROR: Some data has already been output, can't send PDF file