PHP 8.5 Deprecation Warning in Tracker.js
-
Hi,
I’m currently running the latest PHP 8.5, and I’m also using the latest versions of WP Statistics, WordPress, and my other relevant plugins.
I noticed the following warning in the WP Statistics Tracker Debugger:
Type: Deprecated
Message: Method SplObjectStorage::attach() is deprecated since 8.5; use method SplObjectStorage::offsetSet() instead.The Tracker.js Status and Hit Endpoint Status are both successful, so tracking appears to be working correctly.
Could you please confirm whether this warning is generated by WP Statistics itself or by one of its dependencies?
Since I’m using the latest PHP 8.5 and the latest software versions, should WP Statistics be updated to replace SplObjectStorage::attach() with SplObjectStorage::offsetSet() for full PHP 8.5 compatibility?
Thank you.
You must be logged in to reply to this topic.