[][] include(/mnt/web423/d2/85/59697285/htdocs/Travelar/vendor/composer/../maatwebsite/excel/src/Mixins/DownloadCollectionMixin.php): Failed to open stream: No such file or directory (500 Internal Server Error)

Symfony Exception

ErrorException

HTTP 500 Internal Server Error

include(/mnt/web423/d2/85/59697285/htdocs/Travelar/vendor/composer/../maatwebsite/excel/src/Mixins/DownloadCollectionMixin.php): Failed to open stream: No such file or directory

Exception

ErrorException

Show exception properties
ErrorException {#167
  #severity: E_WARNING
}
  1. *
  2. * @param string $file
  3. * @return void
  4. */
  5. self::$includeFile = \Closure::bind(static function($file) {
  6. include $file;
  7. }, null, null);
  8. }
  9. }
  1. * @return callable
  2. */
  3. protected function forwardsTo($method)
  4. {
  5. return fn (...$arguments) => static::$app
  6. ? $this->{$method}(...$arguments)
  7. : false;
  8. }
  9. /**
  10. * Determine if the error level is a deprecation.
in /mnt/web423/d2/85/59697285/htdocs/Travelar/vendor/composer/ClassLoader.php -> Illuminate\Foundation\Bootstrap\{closure} (line 576)
  1. *
  2. * @param string $file
  3. * @return void
  4. */
  5. self::$includeFile = \Closure::bind(static function($file) {
  6. include $file;
  7. }, null, null);
  8. }
  9. }
  1. *
  2. * @param string $file
  3. * @return void
  4. */
  5. self::$includeFile = \Closure::bind(static function($file) {
  6. include $file;
  7. }, null, null);
  8. }
  9. }
  1. */
  2. public function loadClass($class)
  3. {
  4. if ($file = $this->findFile($class)) {
  5. $includeFile = self::$includeFile;
  6. $includeFile($file);
  7. return true;
  8. }
  9. return null;
  1. $this->app->alias('excel', Excel::class);
  2. $this->app->alias('excel', Exporter::class);
  3. $this->app->alias('excel', Importer::class);
  4. Collection::mixin(new DownloadCollectionMixin);
  5. Collection::mixin(new StoreCollectionMixin);
  6. Builder::macro('downloadExcel', (new DownloadQueryMacro)());
  7. Builder::macro('storeExcel', (new StoreQueryMacro())());
  8. Builder::macro('import', (new ImportMacro())());
  9. Builder::macro('importAs', (new ImportAsMacro())());
  1. // a more convenient way of specifying your service provider classes.
  2. if (is_string($provider)) {
  3. $provider = $this->resolveProvider($provider);
  4. }
  5. $provider->register();
  6. // If there are bindings / singletons set as properties on the provider we
  7. // will spin through them and register them with the application, which
  8. // serves as a convenience layer while registering a lot of bindings.
  9. if (property_exists($provider, 'bindings')) {
  1. // We will go ahead and register all of the eagerly loaded providers with the
  2. // application so their services can be registered with the application as
  3. // a provided service. Then we will set the deferred service list on it.
  4. foreach ($manifest['eager'] as $provider) {
  5. $this->app->register($provider);
  6. }
  7. $this->app->addDeferredServices($manifest['deferred']);
  8. }
  1. });
  2. $providers->splice(1, 0, [$this->make(PackageManifest::class)->providers()]);
  3. (new ProviderRepository($this, new Filesystem, $this->getCachedServicesPath()))
  4. ->load($providers->collapse()->toArray());
  5. }
  6. /**
  7. * Register a service provider with the application.
  8. *
  1. * @param \Illuminate\Contracts\Foundation\Application $app
  2. * @return void
  3. */
  4. public function bootstrap(Application $app)
  5. {
  6. $app->registerConfiguredProviders();
  7. }
  8. }
  1. $this->hasBeenBootstrapped = true;
  2. foreach ($bootstrappers as $bootstrapper) {
  3. $this['events']->dispatch('bootstrapping: '.$bootstrapper, [$this]);
  4. $this->make($bootstrapper)->bootstrap($this);
  5. $this['events']->dispatch('bootstrapped: '.$bootstrapper, [$this]);
  6. }
  7. }
  1. * @return void
  2. */
  3. public function bootstrap()
  4. {
  5. if (! $this->app->hasBeenBootstrapped()) {
  6. $this->app->bootstrapWith($this->bootstrappers());
  7. }
  8. }
  9. /**
  10. * Get the route dispatcher callback.
  1. {
  2. $this->app->instance('request', $request);
  3. Facade::clearResolvedInstance('request');
  4. $this->bootstrap();
  5. return (new Pipeline($this->app))
  6. ->send($request)
  7. ->through($this->app->shouldSkipMiddleware() ? [] : $this->middleware)
  8. ->then($this->dispatchToRouter());
  1. $this->requestStartedAt = Carbon::now();
  2. try {
  3. $request->enableHttpMethodParameterOverride();
  4. $response = $this->sendRequestThroughRouter($request);
  5. } catch (Throwable $e) {
  6. $this->reportException($e);
  7. $response = $this->renderException($request, $e);
  8. }
  1. $app = require_once __DIR__.'/../bootstrap/app.php';
  2. $kernel = $app->make(Kernel::class);
  3. $response = $kernel->handle(
  4. $request = Request::capture()
  5. )->send();
  6. $kernel->terminate($request, $response);

Stack Trace

ErrorException
ErrorException:
include(/mnt/web423/d2/85/59697285/htdocs/Travelar/vendor/composer/../maatwebsite/excel/src/Mixins/DownloadCollectionMixin.php): Failed to open stream: No such file or directory

  at /mnt/web423/d2/85/59697285/htdocs/Travelar/vendor/composer/ClassLoader.php:576
  at Illuminate\Foundation\Bootstrap\HandleExceptions->handleError()
     (/mnt/web423/d2/85/59697285/htdocs/Travelar/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php:266)
  at Illuminate\Foundation\Bootstrap\HandleExceptions->Illuminate\Foundation\Bootstrap\{closure}()
     (/mnt/web423/d2/85/59697285/htdocs/Travelar/vendor/composer/ClassLoader.php:576)
  at include('/mnt/web423/d2/85/59697285/htdocs/Travelar/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php')
     (/mnt/web423/d2/85/59697285/htdocs/Travelar/vendor/composer/ClassLoader.php:576)
  at Composer\Autoload\{closure}()
     (/mnt/web423/d2/85/59697285/htdocs/Travelar/vendor/composer/ClassLoader.php:427)
  at Composer\Autoload\ClassLoader->loadClass()
     (/mnt/web423/d2/85/59697285/htdocs/Travelar/vendor/maatwebsite/excel/src/ExcelServiceProvider.php:106)
  at Maatwebsite\Excel\ExcelServiceProvider->register()
     (/mnt/web423/d2/85/59697285/htdocs/Travelar/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:689)
  at Illuminate\Foundation\Application->register()
     (/mnt/web423/d2/85/59697285/htdocs/Travelar/vendor/laravel/framework/src/Illuminate/Foundation/ProviderRepository.php:75)
  at Illuminate\Foundation\ProviderRepository->load()
     (/mnt/web423/d2/85/59697285/htdocs/Travelar/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:666)
  at Illuminate\Foundation\Application->registerConfiguredProviders()
     (/mnt/web423/d2/85/59697285/htdocs/Travelar/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/RegisterProviders.php:17)
  at Illuminate\Foundation\Bootstrap\RegisterProviders->bootstrap()
     (/mnt/web423/d2/85/59697285/htdocs/Travelar/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:242)
  at Illuminate\Foundation\Application->bootstrapWith()
     (/mnt/web423/d2/85/59697285/htdocs/Travelar/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:176)
  at Illuminate\Foundation\Http\Kernel->bootstrap()
     (/mnt/web423/d2/85/59697285/htdocs/Travelar/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:160)
  at Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter()
     (/mnt/web423/d2/85/59697285/htdocs/Travelar/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:134)
  at Illuminate\Foundation\Http\Kernel->handle()
     (/mnt/web423/d2/85/59697285/htdocs/Travelar/public/index.php:72)