Title: PHP 8.5 deprecations (bis)
Last modified: September 15, 2026

---

# PHP 8.5 deprecations (bis)

 *  Resolved [Robin Labadie](https://wordpress.org/support/users/robin-labadie/)
 * (@robin-labadie)
 * [1 day ago](https://wordpress.org/support/topic/php-8-5-deprecations-bis/)
 * Hi,
 * ~4 months ago, a user mentioned [deprecations under PHP 8.5](https://wordpress.org/support/topic/php-8-5-deprecations/),
   noticed with Query Monitor (WP plugin).
 * The previous topic mentioned the error could easily be fixed with the next update.
   However multiple updates occurred without any of them fixing the issue.
 * I guess this happens because the topic was then locked by mods just because multiple
   people (including me) commented for having the same exact issue and adding details.
   Then it was forgotten.
 * This is showed on basically every page I visit on my site with your plugin:
 *     ```wp-block-code
       The predefined locally scoped $http_response_header variable is deprecated, call http_get_last_response_headers() insteadwp-content/plugins/wp-piwik/libs/matomo-php-tracker/MatomoTracker.php:2197require_once(wp-content/plugins/wp-piwik/classes/WP_Piwik/AjaxTracker.php)wp-content/plugins/wp-piwik/classes/WP_Piwik/AjaxTracker.php:17wp_piwik_autoloader()wp-content/plugins/wp-piwik/wp-piwik.php:40WP_Piwik\AIBotTracking->get_tracker()wp-content/plugins/wp-piwik/classes/WP_Piwik/AIBotTracking.php:228WP_Piwik\AIBotTracking->is_doing_ai_bot_tracking_this_request()wp-content/plugins/wp-piwik/classes/WP_Piwik/AIBotTracking.php:209WP_Piwik\AIBotTracking->do_ai_bot_tracking()wp-content/plugins/wp-piwik/classes/WP_Piwik/AIBotTracking.php:112do_action('wp_footer')wp-includes/general-template.php:3429wp_footer()wp-includes/general-template.php:3429Extension : wp-piwik
       ```
   
 * Previous deprecation was the exact same except line changed from 2195 to 2197.
 * For a reminder, there was also a second deprecation :
 *     ```wp-block-code
       Deprecated: Function curl_close() is deprecated since 8.5, as it has no effect since PHP 8.0 in /var/www/wordpress/wp-content/plugins/wp-piwik/classes/WP_Piwik/Request/Rest.php on line 87
       ```
   
 * Can you please fix these deprecation issues?
 * _And mods, please do NOT remove comments or lock threads when everybody tries
   to resolve an actual issue. That is counter productive and makes a quick fix 
   take months when it should take an hour._
 * Thank you

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [dizzyatinnocraft](https://wordpress.org/support/users/dizzyatinnocraft/)
 * (@dizzyatinnocraft)
 * [20 hours, 16 minutes ago](https://wordpress.org/support/topic/php-8-5-deprecations-bis/#post-19021053)
 * Apologies, this was probably pre-empted by higher priority work and then forgotten.
   I created a fix here: [https://github.com/matomo-org/WP-Matomo/pull/183](https://github.com/matomo-org/WP-Matomo/pull/183),
   which I’ll try to release later today.
 *  Plugin Author [dizzyatinnocraft](https://wordpress.org/support/users/dizzyatinnocraft/)
 * (@dizzyatinnocraft)
 * [18 hours, 21 minutes ago](https://wordpress.org/support/topic/php-8-5-deprecations-bis/#post-19021094)
 * 1.1.12 has been released and will be rolled out within the next day.
 *  Thread Starter [Robin Labadie](https://wordpress.org/support/users/robin-labadie/)
 * (@robin-labadie)
 * [11 hours, 58 minutes ago](https://wordpress.org/support/topic/php-8-5-deprecations-bis/#post-19021209)
 * Thank you so much [@dizzyatinnocraft](https://wordpress.org/support/users/dizzyatinnocraft/)
   for the quick fix!
 * I do confirm no more warnings/errors are visible after updating to 1.1.12.
 * Good job!

Viewing 3 replies - 1 through 3 (of 3 total)

You must be [logged in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fphp-8-5-deprecations-bis%2F%3Foutput_format%3Dmd&locale=en_US)
to reply to this topic.

 * ![](https://ps.w.org/wp-piwik/assets/icon-256x256.png?rev=3529668)
 * [Connect Matomo - Analytics Dashboard for WordPress](https://wordpress.org/plugins/wp-piwik/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-piwik/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-piwik/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-piwik/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-piwik/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-piwik/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [Robin Labadie](https://wordpress.org/support/users/robin-labadie/)
 * Last activity: [11 hours, 58 minutes ago](https://wordpress.org/support/topic/php-8-5-deprecations-bis/#post-19021209)
 * Status: resolved