Closed abfadel closed 3 years ago
`Invalid argument supplied for foreach()
at vendor/ytake/laravel-smarty/src/SmartyFactory.php:214 210▕ 211▕ $smarty->error_reporting = Arr::get($config, 'error_reporting', E_ALL & ~E_NOTICE); 212▕ // SmartyTemplate class for laravel 213▕ $smarty->template_class = SmartyTemplate::class; ➜ 214▕ foreach ($config as $key => $value) { 215▕ if (in_array($key, $this->configKeys)) { 216▕ $smarty->{$key} = $value; 217▕ } 218▕ }
+21 vendor frames
22 artisan:37 Illuminate\Foundation\Console\Kernel::handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))`
cleared bootstrap cache and tried again and it worked. false alarm :)
`Invalid argument supplied for foreach()
at vendor/ytake/laravel-smarty/src/SmartyFactory.php:214 210▕ 211▕ $smarty->error_reporting = Arr::get($config, 'error_reporting', E_ALL & ~E_NOTICE); 212▕ // SmartyTemplate class for laravel 213▕ $smarty->template_class = SmartyTemplate::class; ➜ 214▕ foreach ($config as $key => $value) { 215▕ if (in_array($key, $this->configKeys)) { 216▕ $smarty->{$key} = $value; 217▕ } 218▕ }
22 artisan:37 Illuminate\Foundation\Console\Kernel::handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))`