The Language class is defined in the namespace \Joomla\CMS\Language instead of \Joomla\Language\Language as it is written in the OutputFilter class. However, changing the use of line 11 in this class into Joola\CMS\Language\Language raises the runtime error Too few arguments to function Joomla\CMS\Language\Language::getInstance(), 0 passed in /var/www/html/libraries/vendor/joomla/filter/src/OutputFilter.php on line 100 and at least 1 expected
Labels |
Added:
J3 Issue
|
Status | New | ⇒ | Information Required |
@jlainezs if the Comment above solve the Issue please close it, thanks.
Change to used class to the one suggested solved the issue.
Thanks!
Status | Information Required | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2018-09-22 19:10:04 |
Closed_By | ⇒ | jlainezs |
You should be using the
Joomla\CMS\Filter\OutputFilter
class, not theJoomla\Filter\OutputFilter
class.