Deprecated: explode(): Passing null to parameter #2 ($string) of type string is deprecated in /var/www/new/vendor/sroehrl/php-i18n-translate/src/Translate.php on line 25
Fatal error: Uncaught TypeError: Cannot assign null to property I18nTranslate\Translate::$locale of type string in /var/www/new/vendor/sroehrl/php-i18n-translate/src/Translate.php:26
Stack trace:
#0 /var/www/new/php/Controllers/TranslateController.php(9): I18nTranslate\Translate->__construct()
#1 /var/www/new/public/index.php(27): App\Controllers\TranslateController->__construct()
#2 {main}
thrown in /var/www/new/vendor/sroehrl/php-i18n-translate/src/Translate.php on line 26