FilamentF
Filament3y ago
10 replies
StanProg

Target class [translator] does not exist.

This error appeared when I upgraded v3.0.12 => v3.0.14. Does anybody have any idea what is broken is 3.0.13 or 3.0.14? Maybe translation engine is no longer available for AppPanelProvider?

Generating optimized autoload files
> Illuminate\Foundation\ComposerScripts::postAutoloadDump
> @php artisan package:discover --ansi

   Illuminate\Contracts\Container\BindingResolutionException

  Target class [translator] does not exist.

  at vendor/laravel/framework/src/Illuminate/Container/Container.php:914
    910▕
    911▕         try {
    912▕             $reflector = new ReflectionClass($concrete);
    913▕         } catch (ReflectionException $e) {
  ➜ 914▕             throw new BindingResolutionException("Target class [$concrete] does not exist.", 0, $e);
    915▕         }
    916▕
    917▕         // If the type is not instantiable, the developer is attempting to resolve
    918▕         // an abstract type such as an Interface or Abstract Class and there is

      +9 vendor frames
  10  app/Providers/Filament/AppPanelProvider.php:229

  11  app/Providers/Filament/AppPanelProvider.php:84
      App\Providers\Filament\AppPanelProvider::getUserMenuItems()

Script @php artisan package:discover --ansi handling the post-autoload-dump event returned with error code 1
Was this page helpful?