From 0913e36029e5b8c7d1c1ab419b3d5c1cce3dd60a Mon Sep 17 00:00:00 2001 From: Vincent Vanwaelscappel Date: Mon, 24 Feb 2025 16:51:48 +0100 Subject: [PATCH] #7355 @1 --- src/Translate.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Translate.php b/src/Translate.php index 895e2cf..af33428 100644 --- a/src/Translate.php +++ b/src/Translate.php @@ -54,6 +54,9 @@ class Translate $this->_paths = array_unique($this->_paths); foreach ($this->_paths as $sectionLabel => $path) { + if(!file_exists($path)) { + continue; + } if (!isset($this->_toTranslate[$sectionLabel])) { $this->_toTranslate[$sectionLabel] = []; -- 2.39.5