Index: Classes/Settings/Type/IntType.php IDEA additional info: Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP <+>UTF-8 =================================================================== diff --git a/Classes/Settings/Type/IntType.php b/Classes/Settings/Type/IntType.php --- a/Classes/Settings/Type/IntType.php +++ b/Classes/Settings/Type/IntType.php (date 1731503053539) @@ -47,7 +47,11 @@ { if (!$this->validate($value, $definition)) { $this->logger->warning('Setting validation field, reverting to default: {key}', ['key' => $definition->key]); - return $definition->default; + if (!is_scalar($definition->default)) { + $this->logger->warning("Invalid default value ".$definition->default." for site settins definition " . $definition->key); + return 0; + } + return (int) $definition->default; } return (int)$value;