diff --git a/debian/patches/0004-Replace-E_STRICT-by-E_DEPRECATED.patch b/debian/patches/0004-Replace-E_STRICT-by-E_DEPRECATED.patch
new file mode 100644
index 0000000000000000000000000000000000000000..c64c7996524a8cd62af10250fb30dffe69e723ae
--- /dev/null
+++ b/debian/patches/0004-Replace-E_STRICT-by-E_DEPRECATED.patch
@@ -0,0 +1,23 @@
+From: William Desportes <williamdes@wdes.fr>
+Date: Tue, 24 Dec 2024 11:29:54 +0100
+Subject: Replace E_STRICT by E_DEPRECATED
+
+Origin: vendor
+Forwarded: no
+---
+ lib/functions.php | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/lib/functions.php b/lib/functions.php
+index 8162408..293df6b 100644
+--- a/lib/functions.php
++++ b/lib/functions.php
+@@ -145,7 +145,7 @@ function app_error_handler($errno,$errstr,$file,$lineno) {
+ 	$errtype = '';
+ 
+ 	switch ($errno) {
+-		case E_STRICT: $errtype = 'E_STRICT'; break;
++		case E_DEPRECATED: $errtype = 'E_DEPRECATED'; break;
+ 		case E_ERROR: $errtype = 'E_ERROR'; break;
+ 		case E_WARNING: $errtype = 'E_WARNING'; break;
+ 		case E_PARSE: $errtype = 'E_PARSE'; break;
diff --git a/debian/patches/series b/debian/patches/series
index 5bf39d2383db2899749af628e44ad510d968a32e..d3752f15aff41774f7ca710bbfb930a812e8bfb4 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
 Fix-dynamic-property-PHP-8.2.patch
 Update-documentation-for-Debian.patch
 Update-the-VERSION-file.patch
+0004-Replace-E_STRICT-by-E_DEPRECATED.patch