Compatibility Issue with PHP 8.5 – Deprecated Method SplObjectStorage::attach()
-
Hello Solid Security Support Team,
I am currently testing my environment with PHP 8.5 and encountered a “Deprecated” warning related to the Solid Security plugin. The error points to a third-party dependency (Pimple) included in your plugin’s vendor directory.
Error Message:
Deprecated: Method SplObjectStorage::attach() is deprecated since 8.5, use method SplObjectStorage::offsetSet() instead in /home/---.com/public_html/wp-content/plugins/ithemes-security-pro/vendor-prod/pimple/pimple/src/Pimple/Container.php on line 180Environment Details:
- Plugin: Solid Security (iThemes Security) v.8.7.0
- PHP Version: 8.5
- File Path:
vendor-prod/pimple/pimple/src/Pimple/Container.php
Requested Action: Since PHP 8.5 deprecates
SplObjectStorage::attach()in favor ofSplObjectStorage::offsetSet(), could you please update the internalPimpledependency or apply a patch to ensure compatibility with the upcoming PHP versions?Thank you for your assistance.
Best regards,
You must be logged in to reply to this topic.