Application in system plugin constructor / provider is different on J6 then on J5.3.3 / J5.4
In file: ./plugins/system/actionlogs/services/provider.php
Add in line 43 (line before the return statement): dd(Factory::getApplication()->getLanguage());
In Joomla 5.3.3 Joomla\CMS\Language\Language is returned
In Joomla 5.4.0-Beta2 Joomla\CMS\Language\Language is returned
in Joomla 6.0.0.Beta2 \Null is returned
The above code is just to show the (potential) issue.
The result of this changed behavior is that the language object is NOT available in e.g. the plugins constructor.
If this is an intended change, then it should be documented
Hope this helps!
Labels |
Removed:
?
|
Labels |
Added:
No Code Attached Yet
|