Pending

User tests: Successful: Unsuccessful:

avatar brianteeman
brianteeman
28 Sep 2026

Pull Request resolves #48494 .

  • I read the Generative AI policy and my contribution is either not created with the help of AI or is compatible with the policy and GNU/GPL 2 or later.

Summary of Changes

Replaces the deprecated spl_object_hash() function with spl_object_id() in PluginHelper.

spl_object_hash() was deprecated in PHP 8.6 and generates a deprecation warning when Joomla loads plugins. Both occurrences in PluginHelper have been updated to use spl_object_id() instead.

spl_object_id() provides the object identifier required by the existing caching logic without triggering the PHP 8.6 deprecation warning.

https://wiki.php.net/rfc/deprecations_php_8_6#deprecate_spl_object_hash

Testing Instructions

code review

Actual result BEFORE applying this Pull Request

Expected result AFTER applying this Pull Request

Link to documentations

Please select:

  • Documentation link for guide.joomla.org:

  • No documentation changes for guide.joomla.org needed

  • Pull Request link for manual.joomla.org:

  • No documentation changes for manual.joomla.org needed

avatar brianteeman brianteeman - open - 28 Sep 2026
avatar brianteeman brianteeman - change - 28 Sep 2026
Status New ⇒ Pending
avatar joomla-cms-bot joomla-cms-bot - change - 28 Sep 2026
Category ⇒ Administration Language & Strings Libraries

Add a Comment

Login with GitHub to post a comment