Hello, thank you Nadine for reporting this, I was going to report the same error.
I would like to confirm having the exact same error visiting any frontend page, showing with Query Monitor extension.
Here is the full output if it helps:
deprecated Function curl_close() is deprecated since 8.5, as it has no effect since PHP 8.0
wp-content/plugins/wp-piwik/classes/WP_Piwik/Request/Rest.php:87
WPForms\ErrorHandler->fallback_error_handler()
wp-content/plugins/wpforms-lite/src/ErrorHandler.php:377
WPForms\ErrorHandler->error_handler()
wp-content/plugins/wpforms-lite/src/ErrorHandler.php:271
call_user_func_array()
WPForms\ErrorHandler->fallback_error_handler()
wp-content/plugins/wpforms-lite/src/ErrorHandler.php:377
WPForms\ErrorHandler->error_handler()
wp-content/plugins/wpforms-lite/src/ErrorHandler.php:271
WP_Piwik\Request\Rest->curl()
wp-content/plugins/wp-piwik/classes/WP_Piwik/Request/Rest.php:87
WP_Piwik\Request\Rest->request()
wp-content/plugins/wp-piwik/classes/WP_Piwik/Request/Rest.php:44
WP_Piwik\Request->perform()
wp-content/plugins/wp-piwik/classes/WP_Piwik/Request.php:92
WP_Piwik->request()
wp-content/plugins/wp-piwik/classes/WP_Piwik.php:1245
WP_Piwik->update_tracking_code()
wp-content/plugins/wp-piwik/classes/WP_Piwik.php:1439
WP_Piwik\TrackingCode->__construct()
wp-content/plugins/wp-piwik/classes/WP_Piwik/TrackingCode.php:21
WP_Piwik->add_javascript_code()
wp-content/plugins/wp-piwik/classes/WP_Piwik.php:420
do_action('wp_footer')
wp-includes/general-template.php:3224
wp_footer()
wp-includes/general-template.php:3224
1 Extension : wp-piwik
I didn’d encounter the second error however, I guess this second one is settings dependant.
Hopefully this can be fixed.
Thank you very much.
Hi all, yes this can be fixed and will be in the next released (released some time this week). That said, production websites should probably not display deprecation warnings on the screen, and instead either log them to a file or ignore them entirely. These warnings are primarily for developers.