Hello,
This error comes from Joomla core.
The issue is caused by PHP 8.2 deprecating the utf8_decode() function, which Joomla is still using in /libraries/vendor/joomla/uri/src/UriHelper.php. This breaks the session and prevents access to the administrator area.
Since the admin panel isn’t accessible, here are the solutions:
- Temporarily suppress PHP deprecated warnings
• In configuration.php, set:
public $error_reporting = 'default';
• Or in .htaccess, add:
php_flag display_errors Off
• This will allow the admin area to load so you can log in and upgrade Joomla safely.
2. Patch the core Joomla file
• Replace utf8_decode() with:
mb_convert_encoding($string, 'UTF-8', 'HTML-ENTITIES');
• This fixes the deprecated function issue and prevents the session error.
3. Downgrade PHP version temporarily
• Switch the site to PHP 8.1 or 8.0, which does not trigger the deprecated warnings.
• Once Joomla is upgraded to a version compatible with PHP 8.2, you can switch back to PHP 8.2.
Once one of these is applied, the admin panel should be accessible, allowing us to upgrade Joomla and fully support PHP 8.2.
Please let me know which approach you’d like to proceed with.
Thanks,