diff --git a/src/Step/Deploy/InstallUpdate/ConfigUpdate/Urls/Environment.php b/src/Step/Deploy/InstallUpdate/ConfigUpdate/Urls/Environment.php index 597e087b84..22af46602a 100644 --- a/src/Step/Deploy/InstallUpdate/ConfigUpdate/Urls/Environment.php +++ b/src/Step/Deploy/InstallUpdate/ConfigUpdate/Urls/Environment.php @@ -91,6 +91,9 @@ public function execute() } array_walk_recursive($config, function (&$value) use ($baseHost, $actualHost, &$replaced) { + if (!is_string($value)) { + return; + } $value = str_replace($baseHost, $actualHost, $value, $replaceCount); if ($replaceCount) { $replaced = true;