Bug description
helix3.php uses wrong arguments for addStyleSheet() in Line 642 and 648.
|
self::getInstance()->document->addStyleSheet(JURI::base(true) . '/templates/' . $template . '/css/' . $src, 'text/css', null, $attribs); |
|
self::getInstance()->document->addStyleSheet($src, 'text/css', null, $attribs); |
With PHP7.x and Joomla3 this does not impact anything, but if the user upgrades to Joomla4 and PHP8 he will get a error message.
Steps to reproduce
- setup a server instance with php8.x
- setup a new joomla4 instance
- install helix 3
- set helix3 as default
- check the frontpage
Expected behavior
No error exception should be thrown.
Screenshots

Environment
- Ubuntu server minimal 20.04 LTS
- PHP 8.x
- Apache 2.4
- Mysql 5.x+
- Joomla 4