From 254afe7d321631fa9313ca3b34e2b958a5da193c Mon Sep 17 00:00:00 2001
From: Denis Lorch
Date: Fri, 23 Jan 2026 13:04:17 +0100
Subject: [PATCH] Fix fox_handler ext conf fetch php warning
* $GLOBALS['TYPO3_CONF_VARS']['EXTENSIONS']['fox_handler'] might not be available, but the error handler config
* Fix: PHP Warning: Undefined array key "fox_handler" in /app/vendor/kitzberger/fox-handler/Classes/ErrorHandler.php line 141
---
Classes/ErrorHandler.php | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Classes/ErrorHandler.php b/Classes/ErrorHandler.php
index fd90a64..314ed5d 100644
--- a/Classes/ErrorHandler.php
+++ b/Classes/ErrorHandler.php
@@ -138,7 +138,7 @@ protected function getPageUid_403($fe_group)
protected function getExtConf()
{
if (is_null($this->extConf)) {
- $this->extConf = $GLOBALS['TYPO3_CONF_VARS']['EXTENSIONS']['fox_handler'];
+ $this->extConf = $GLOBALS['TYPO3_CONF_VARS']['EXTENSIONS']['fox_handler'] ?? [];
}
return $this->extConf;