Symfony Exception

Error

HTTP 500 Internal Server Error

Class "ZipArchive" not found

Exception

Error

  1.              * ZipArchive::CM_BZIP2
  2.              * ZipArchive::CM_XZ
  3.              *
  4.              * For more check https://www.php.net/manual/zip.constants.php and confirm it's supported by your system.
  5.              */
  6.             'compression_method' => ZipArchive::CM_DEFAULT,
  7.             /*
  8.              * The compression level corresponding to the used algorithm; an integer between 0 and 9.
  9.              *
  10.              * Check supported levels for the chosen algorithm, usually 1 means the fastest and weakest compression,
  1.     {
  2.         if (! ($this->app instanceof CachesConfiguration && $this->app->configurationIsCached())) {
  3.             $config $this->app->make('config');
  4.             $config->set($keyarray_merge(
  5.                 require $path$config->get($key, [])
  6.             ));
  7.         }
  8.     }
  9.     /**
  1.         if (empty($this->package->name)) {
  2.             throw InvalidPackage::nameIsRequired();
  3.         }
  4.         foreach ($this->package->configFileNames as $configFileName) {
  5.             $this->mergeConfigFrom($this->package->basePath("/../config/{$configFileName}.php"), $configFileName);
  6.         }
  7.         $this->packageRegistered();
  8.         return $this;
  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.                         ->partition(fn ($provider) => str_starts_with($provider'Illuminate\\'));
  2.         $providers->splice(10, [$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);
require('/home/verbiilan.com/public_html/public/main.php') in /home/verbiilan.com/public_html/public/index.php (line 64)
  1.         unlink($file);
  2.     }
  3. }
  4. // Load Laravel Framework
  5. require 'main.php';
  6. // ==========================================================================================
  7. // THESE FUNCTIONS WILL RUN BEFORE LARAVEL LIBRARIES
  8. // ==========================================================================================

Stack Trace

Error
Error:
Class "ZipArchive" not found

  at /home/verbiilan.com/public_html/vendor/spatie/laravel-backup/config/backup.php:128
  at require()
     (/home/verbiilan.com/public_html/vendor/laravel/framework/src/Illuminate/Support/ServiceProvider.php:138)
  at Illuminate\Support\ServiceProvider->mergeConfigFrom()
     (/home/verbiilan.com/public_html/vendor/spatie/laravel-package-tools/src/PackageServiceProvider.php:33)
  at Spatie\LaravelPackageTools\PackageServiceProvider->register()
     (/home/verbiilan.com/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:786)
  at Illuminate\Foundation\Application->register()
     (/home/verbiilan.com/public_html/vendor/laravel/framework/src/Illuminate/Foundation/ProviderRepository.php:75)
  at Illuminate\Foundation\ProviderRepository->load()
     (/home/verbiilan.com/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:763)
  at Illuminate\Foundation\Application->registerConfiguredProviders()
     (/home/verbiilan.com/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/RegisterProviders.php:17)
  at Illuminate\Foundation\Bootstrap\RegisterProviders->bootstrap()
     (/home/verbiilan.com/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:261)
  at Illuminate\Foundation\Application->bootstrapWith()
     (/home/verbiilan.com/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:186)
  at Illuminate\Foundation\Http\Kernel->bootstrap()
     (/home/verbiilan.com/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:170)
  at Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter()
     (/home/verbiilan.com/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:144)
  at Illuminate\Foundation\Http\Kernel->handle()
     (/home/verbiilan.com/public_html/public/main.php:51)
  at require('/home/verbiilan.com/public_html/public/main.php')
     (/home/verbiilan.com/public_html/public/index.php:64)