From efb7165098ff6c89a5d21f3ec3df363c1a95380f Mon Sep 17 00:00:00 2001 From: Semenov Date: Wed, 27 Mar 2024 15:22:38 +0300 Subject: [PATCH] dev --- src/CmsSeoComponent.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/CmsSeoComponent.php b/src/CmsSeoComponent.php index fcb0fac..3d4965c 100644 --- a/src/CmsSeoComponent.php +++ b/src/CmsSeoComponent.php @@ -972,7 +972,9 @@ public function bootstrap($application) if ($replaces) { - $response->data = strtr((string)$response->data, $replaces); + if (is_string($response->data)) { + $response->data = strtr((string)$response->data, $replaces); + } } });