Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Joomla 4.4.3 with PHP 8.2 : error "Call to a member function getTag() on null" in LangActiveAssetItem.php #43142

Open
frgiraud opened this issue Mar 24, 2024 · 1 comment

Comments

@frgiraud
Copy link

Steps to reproduce the issue

Using Joomla 4.4.3
I tried to use it with PHP 8.2.
I try to display the home page of my site.

Expected result

https://ctd.ufolep91-volley.org/

Actual result

When I try to display the home page of my site, the error page is displayed :

  • RuntimeException > Error
  • Call to a member function getTag() on null
  • in /homepages/36/d263187252/htdocs/clickandbuilds/Joomla/Joomla_2023/libraries/src/WebAsset/AssetItem/LangActiveAssetItem.php:48

Two warnings are also displayed :

  • Deprecated: Creation of dynamic property Joomla\Database\Mysql\MysqlDriver::$charset is deprecated in /homepages/36/d263187252/htdocs/clickandbuilds/Joomla/Joomla_2023/libraries/vendor/joomla/database/src/Mysql/MysqlDriver.php on line 121
  • Warning: session_name(): Session name cannot be changed after headers have already been sent in /homepages/36/d263187252/htdocs/clickandbuilds/Joomla/Joomla_2023/libraries/vendor/joomla/session/src/Storage/NativeStorage.php on line 405

System information (as much as possible)

  • PHP exécuté sur : Linux info 3.0 PHPCS Fixes for admin mod_menu #1337 SMP Tue Jan 01 00:00:00 CEST 2000 all GNU/Linux
  • Type de la base de données : mysql
  • Serveur web : Apache
  • Version de Joomla : Joomla! 4.4.3 Stable [ Pamoja ] 20-February-2024 16:00 GMT
  • Navigateur : Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:124.0) Gecko/20100101 Firefox/124.0

Additional comments

No error with PHP 8.0
No error with PHP 8.1.27

@frgiraud
Copy link
Author

Unable to add the error page file...
I select the TXT file in the dialog box, then OK, but no result in this page...


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/43142.

@Hackwar Hackwar added the bug label Mar 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants