No Code Attached Yet PHP 8.x bug
avatar Quy
Quy
12 Oct 2023

Steps to reproduce the issue

Enable Maximum error reporting.
Enable System - Language Code.
Enable System - Language Filter.
Install German language.
Install Blog Sample Data.
Edit a category that has language All.
Click Associations button.

Actual result

Deprecated: SimpleXMLElement::addAttribute(): Passing null to parameter #2 ($value) of type string is deprecated in \administrator\components\com_categories\src\Model\CategoryModel.php on line 483

Deprecated: SimpleXMLElement::addAttribute(): Passing null to parameter #2 ($value) of type string is deprecated in \administrator\components\com_categories\src\Model\CategoryModel.php on line 483

Deprecated: explode(): Passing null to parameter #2 ($string) of type string is deprecated in \administrator\components\com_categories\src\View\Category\HtmlView.php on line 149

add-attribute

System information (as much as possible)

From v4.3.4 to v5.0

avatar Quy Quy - open - 12 Oct 2023
avatar joomla-cms-bot joomla-cms-bot - change - 12 Oct 2023
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 12 Oct 2023
avatar Fedik Fedik - change - 12 Oct 2023
Labels Added: PHP 8.x
avatar Fedik Fedik - labeled - 12 Oct 2023
avatar Hackwar Hackwar - change - 27 Mar 2024
Labels Added: bug
avatar Hackwar Hackwar - labeled - 27 Mar 2024

Add a Comment

Login with GitHub to post a comment