No Code Attached Yet PHP 8.x bug
avatar HLeithner
HLeithner
21 Nov 2024

Issue to collect PHP 8.4 deprecation messages and fixes

Transitive dependencies:

  • GuzzleHttp\Promise
avatar HLeithner HLeithner - open - 21 Nov 2024
avatar joomla-cms-bot joomla-cms-bot - change - 21 Nov 2024
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 21 Nov 2024
avatar HLeithner HLeithner - change - 21 Nov 2024
The description was changed
avatar HLeithner HLeithner - edited - 21 Nov 2024
avatar HLeithner HLeithner - change - 21 Nov 2024
The description was changed
avatar HLeithner HLeithner - edited - 21 Nov 2024
avatar HLeithner HLeithner - change - 21 Nov 2024
The description was changed
avatar HLeithner HLeithner - edited - 21 Nov 2024
avatar Fedik Fedik - change - 21 Nov 2024
Labels Added: PHP 8.x
avatar Fedik Fedik - labeled - 21 Nov 2024
avatar Hackwar Hackwar - change - 23 Nov 2024
Labels Added: bug
avatar Hackwar Hackwar - labeled - 23 Nov 2024
avatar HLeithner HLeithner - change - 10 Dec 2024
The description was changed
avatar HLeithner HLeithner - edited - 10 Dec 2024
avatar t0mtaylor
t0mtaylor - comment - 30 Dec 2024

The currently installed Joomla! version is "‎5.2.2", with Php 8.4

"PHP message: PHP Deprecated: Function lcg_value() is deprecated since 8.4, use \Random\Randomizer::getFloat() instead in /joomla/plugins/system/sessiongc/src/Extension/SessionGC.php on line 66"

PHP message: PHP Deprecated: Tuf\Client\Repository::getSnapshot(): Implicitly marking parameter $maxBytes as nullable is deprecated, the explicit nullable type must be used instead in /joomla/libraries/vendor/php-tuf/php-tuf/src/Client/Repository.php

PHP message: PHP Deprecated: GuzzleHttp\Promise\FulfilledPromise::then(): Implicitly marking parameter $onRejected as nullable is deprecated, the explicit nullable type must be used instead in /joomla/libraries/vendor/guzzlehttp/promises/src/FulfilledPromise.php on line 26

PHP message: PHP Deprecated: GuzzleHttp\Promise\PromiseInterface::then(): Implicitly marking parameter $onFulfilled as nullable is deprecated, the explicit nullable type must be used instead in /joomla/libraries/vendor/guzzlehttp/promises/src/PromiseInterface.php on line 29

PHP message: PHP Deprecated: Function xml_set_object() is deprecated since 8.4, provide a proper method callable to xml_set_*_handler() functions in /joomla/libraries/src/Updater/Update.php on line 660; PHP message: PHP Deprecated: xml_set_element_handler(): Passing non-callable strings is deprecated since 8.4 in /joomla/libraries/src/Updater/Update.php on line 661; PHP message: PHP Deprecated: xml_set_character_data_handler(): Passing non-callable strings is deprecated since 8.4 in /joomla/libraries/src/Updater/Update.php on line 662

PHP Deprecated: xml_set_element_handler(): Passing non-callable strings is deprecated since 8.4 in /joomla/libraries/src/Updater/Adapter/ExtensionAdapter.php on line 284; PHP message: PHP Deprecated: xml_set_character_data_handler(): Passing non-callable strings is deprecated since 8.4 in /joomla/libraries/src/Updater/Adapter/ExtensionAdapter.php on line 285; PHP message: PHP Deprecated: Function xml_set_object() is deprecated since 8.4, provide a proper method callable to xml_set_*_handler() functions in /joomla/libraries/src/Updater/Adapter/ExtensionAdapter.php on line 283;

avatar brianteeman
brianteeman - comment - 19 Mar 2025

PHP Deprecated:

strtotime(): Passing null to parameter #1 ($datetime) of type string is deprecated in \administrator\components\com_users\src\Model\CaptiveModel.php on line 429

PR #45169

PHP Warning:

Only the first byte will be assigned to the string offset in administrator\components\com_users\src\Model\BackupcodesModel.php on line 258

PR #45170

avatar laoneo laoneo - change - 20 Mar 2025
The description was changed
avatar laoneo laoneo - edited - 20 Mar 2025
avatar laoneo laoneo - change - 20 Mar 2025
The description was changed
avatar laoneo laoneo - edited - 20 Mar 2025
avatar laoneo laoneo - change - 20 Mar 2025
The description was changed
avatar laoneo laoneo - edited - 20 Mar 2025
avatar laoneo laoneo - change - 20 Mar 2025
The description was changed
avatar laoneo laoneo - edited - 20 Mar 2025
avatar brianteeman
brianteeman - comment - 26 Mar 2025

I believe all the php 8.4 issues have now been resolved with 5.3

avatar HLeithner
HLeithner - comment - 26 Mar 2025

I think laminas-diactoros is still missing, not sure if it's still relevant.

Add a Comment

Login with GitHub to post a comment