- Edited
saguaros
Hi! I have updated the template and turn to PHP8. But there still is an Error:
"Call to undefined function each()"
Call stack
Function Location
1 () JROOT/templates/corpway/vertex/compression/class_css_and_js_compression.php:5221
2 CssMin::initialise() JROOT/templates/corpway/vertex/compression/class_css_and_js_compression.php:5407
3 include_once() JROOT/templates/corpway/vertex/compression/top_css_and_js_compression.php:7
4 require() JROOT/templates/corpway/vertex/includes/vertex_includes_header.php:112
5 require_once() JROOT/templates/corpway/index.php:24
6 require() JROOT/libraries/src/Document/HtmlDocument.php:678
7 Joomla\CMS\Document\HtmlDocument->loadTemplate() JROOT/libraries/src/Document/HtmlDocument.php:740
8 Joomla\CMS\Document\HtmlDocument->fetchTemplate() JROOT/libraries/src/Document/HtmlDocument.php:555
9 Joomla\CMS\Document\HtmlDocument->parse() JROOT/libraries/src/Application/CMSApplication.php:1098
10 Joomla\CMS\Application\CMSApplication->render() JROOT/libraries/src/Application/SiteApplication.php:778
11 Joomla\CMS\Application\SiteApplication->render() JROOT/libraries/src/Application/CMSApplication.php:231
12 Joomla\CMS\Application\CMSApplication->execute() JROOT/index.php:49
UPDATE: The Error is when I turn on the "Enable JS Compression" in the Template!