--- a/vendor/adyen/module-payment/Logger/Handler/AdyenError.php	2025-04-01 10:55:42.000000000 +0000
+++ b/vendor/adyen/module-payment/Logger/Handler/AdyenError.php	2025-06-26 12:55:14.404703400 +0000
@@ -12,7 +12,9 @@
 namespace Adyen\Payment\Logger\Handler;
 
 use Adyen\Payment\Logger\AdyenLogger;
+use Magento\Framework\Filesystem\DriverInterface;
 use Monolog\Logger;
+use Monolog\Level;
 
 class AdyenError extends AdyenBase
 {
@@ -27,7 +29,23 @@
     protected $loggerType = AdyenLogger::ERROR;
 
     /**
-     * @var
+     * AdyenNotification constructor.
+     *
+     * @param DriverInterface $filesystem
+     * @param string|null $filePath
+     * @param string|null $fileName
+     * @param string|null $logFormat
      */
-    protected $level = AdyenLogger::ERROR;
+    public function __construct(
+        DriverInterface $filesystem,
+        ?string $filePath = null,
+        ?string $fileName = null,
+        ?string $logFormat = null
+    ) {
+        // Set the level in constructor to ensure proper type
+        $this->level = Level::Error;
+        
+        // Call parent constructor with required arguments
+        parent::__construct($filesystem, $filePath, $fileName, $logFormat);
+    }
 }
