QuickForm2.php(109): Deprecated - Function get_magic_quotes_gpc() is deprecated

WARNING: /var/www/html/matomo/libs/HTML/QuickForm2.php(109): Deprecated - Function get_magic_quotes_gpc() is deprecated - Matomo 3.11.0 - Please report this message in the Matomo forums: https://forum.matomo.org (please do a search first as it might have been reported already)

Hi,

Odd that noone reported this one before.

Can you try applying this patch:

diff --git a/libs/HTML/QuickForm2.php b/libs/HTML/QuickForm2.php
index 48d10de076..e3b768c39b 100644
--- a/libs/HTML/QuickForm2.php
+++ b/libs/HTML/QuickForm2.php
@@ -106,7 +106,7 @@ public function __construct($id, $method = 'post', $attributes = null, $trackSub
                               'post' == $method && (!empty($_POST) || !empty($_FILES))))
         {
             $this->addDataSource(new HTML_QuickForm2_DataSource_SuperGlobal(
-                $method, get_magic_quotes_gpc()
+                $method, False
             ));
         }
         if ($trackSubmit) {

this patch work for me :+1: