No Code Attached Yet
avatar beni71
beni71
14 Sep 2022

Steps to reproduce the issue

In the backend:

  1. Navigate to Menu Home dashboard
  2. Click Global configuration, in TAB "Server", set Error Reporting to "Maximum".
  3. Navigate to Menu System
  4. Click Administrator Template Styles, open your active style. In my case it is "Atum - Default".
  5. In TAB "Image Settings", Select a "Brand Large" image, leave Image description empty and check the "No Description" box.
  6. Select a "Brand Small" image, leave Image description empty and check the "No Description" box.
  7. Click SAVE.

grafik

Expected result

There is no PHP deprecation warning.

Actual result

There are two PHP deprecation warnings:

Deprecated
: htmlspecialchars(): Passing null to parameter #1 ($string) of type string is deprecated in
E:\joomla\4.2.2\administrator\templates\atum\index.php
on line
56

Deprecated
: htmlspecialchars(): Passing null to parameter #1 ($string) of type string is deprecated in
E:\joomla\4.2.2\administrator\templates\atum\index.php
on line
59

System information (as much as possible)

Installed Joomla 4.2.0 and updated it to 4.2.2
mysql 10.4.24-MariaDB
Apache/2.4.53 (Win64) OpenSSL/1.1.1n PHP/8.1.6
Joomla! 4.2.2 Stable [ Uaminifu ] 16-August-2022 13:05 GMT

Additional comments

Votes

# of Users Experiencing Issue
1/1
Average Importance Score
3.00

avatar beni71 beni71 - open - 14 Sep 2022
avatar joomla-cms-bot joomla-cms-bot - change - 14 Sep 2022
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 14 Sep 2022
avatar brianteeman
brianteeman - comment - 14 Sep 2022

The current version is 4.2.2

avatar beni71 beni71 - change - 14 Sep 2022
The description was changed
avatar beni71 beni71 - edited - 14 Sep 2022
avatar beni71 beni71 - edited - 14 Sep 2022
avatar beni71
beni71 - comment - 14 Sep 2022

Your are right, sorry for that. I updated Joomla to the latest version 4.2.2, but the problem is still there.

avatar beni71 beni71 - change - 14 Sep 2022
The description was changed
avatar beni71 beni71 - edited - 14 Sep 2022
avatar beni71 beni71 - change - 14 Sep 2022
The description was changed
avatar beni71 beni71 - edited - 14 Sep 2022
avatar beni71 beni71 - change - 14 Sep 2022
The description was changed
avatar beni71 beni71 - edited - 14 Sep 2022
avatar beni71 beni71 - change - 14 Sep 2022
Title
PHP 8.1 deprecation warning htmlspecialchars(): Passing null to parameter #1 when using Brand image without description
PHP 8.1 deprecation warning "htmlspecialchars(): Passing null to parameter #1" when using Brand image without description
avatar beni71 beni71 - edited - 14 Sep 2022
avatar alikon alikon - change - 14 Sep 2022
Status New Closed
Closed_Date 0000-00-00 00:00:00 2022-09-14 14:19:14
Closed_By alikon
avatar alikon alikon - close - 14 Sep 2022
avatar alikon
alikon - comment - 14 Sep 2022

please test #38762

Add a Comment

Login with GitHub to post a comment