Warning: include(): Failed opening '/home/richindi/public_html/cart/vendor/composer/../voku/portable-ascii/src/voku/helper/ASCII.php' for inclusion (include_path='.:/opt/cpanel/ea-php74/root/usr/share/pear') in /home/richindi/public_html/cart/vendor/composer/ClassLoader.php on line 571
Class 'voku\helper\ASCII' not found (500 Internal Server Error)

Symfony Exception

Error

HTTP 500 Internal Server Error

Class 'voku\helper\ASCII' not found

Exception

Error

  1.      * @param  string  $language
  2.      * @return string
  3.      */
  4.     public static function ascii($value, $language = 'en')
  5.     {
  6.         return ASCII::to_ascii((string) $value, $language);
  7.     }
  8.     /**
  9.      * Get the portion of a string before the first occurrence of a given value.
  10.      *
  1.      * @param  string|null  $language
  2.      * @return string
  3.      */
  4.     public static function slug($title, $separator = '-', $language = 'en')
  5.     {
  6.         $title = $language ? static::ascii($title, $language) : $title;
  7.         // Convert all dashes/underscores into separator
  8.         $flip = $separator === '-' ? '_' : '-';
  9.         $title = preg_replace('!['.preg_quote($flip).']+!u', $separator, $title);
Str::slug('Your App', '_') in /home/richindi/public_html/cart/config/cache.php (line 108)
  1.     | be other applications utilizing the same cache. So, we'll specify a
  2.     | value to get prefixed to all our keys so we can avoid collisions.
  3.     |
  4.     */
  5.     'prefix' => env('CACHE_PREFIX', Str::slug(env('APP_NAME', 'laravel'), '_').'_cache'),
  6. ];
  1.         if (! isset($files['app'])) {
  2.             throw new Exception('Unable to load the "app" configuration file.');
  3.         }
  4.         foreach ($files as $key => $path) {
  5.             $repository->set($key, require $path);
  6.         }
  7.     }
  8.     /**
  9.      * Get all of the configuration files for the application.
  1.         // directory and load each one into the repository. This will make all of the
  2.         // options available to the developer for use in various parts of this app.
  3.         $app->instance('config', $config = new Repository($items));
  4.         if (! isset($loadedFromCache)) {
  5.             $this->loadConfigurationFiles($app, $config);
  6.         }
  7.         // Finally, we will set the application's environment based on the configuration
  8.         // values that were loaded. We will pass a callback which will be used to get
  9.         // the environment in a web context where an "--env" switch is not present.
  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.     public function handle($request)
  2.     {
  3.         try {
  4.             $request->enableHttpMethodParameterOverride();
  5.             $response = $this->sendRequestThroughRouter($request);
  6.         } catch (Throwable $e) {
  7.             $this->reportException($e);
  8.             $response = $this->renderException($request, $e);
  9.         }
Kernel->handle(object(Request)) in /home/richindi/public_html/cart/public/index.php (line 56)
  1. });
  2. $kernel = $app->make(Kernel::class);
  3. $response = tap($kernel->handle(
  4.     $request = Request::capture()
  5. ))->send();
  6. $kernel->terminate($request, $response);

Stack Trace

Error
Error:
Class 'voku\helper\ASCII' not found

  at /home/richindi/public_html/cart/vendor/laravel/framework/src/Illuminate/Support/Str.php:99
  at Illuminate\Support\Str::ascii('Your App', 'en')
     (/home/richindi/public_html/cart/vendor/laravel/framework/src/Illuminate/Support/Str.php:767)
  at Illuminate\Support\Str::slug('Your App', '_')
     (/home/richindi/public_html/cart/config/cache.php:108)
  at require('/home/richindi/public_html/cart/config/cache.php')
     (/home/richindi/public_html/cart/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/LoadConfiguration.php:72)
  at Illuminate\Foundation\Bootstrap\LoadConfiguration->loadConfigurationFiles(object(Application), object(Repository))
     (/home/richindi/public_html/cart/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/LoadConfiguration.php:39)
  at Illuminate\Foundation\Bootstrap\LoadConfiguration->bootstrap(object(Application))
     (/home/richindi/public_html/cart/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:237)
  at Illuminate\Foundation\Application->bootstrapWith(array('Illuminate\\Foundation\\Bootstrap\\LoadEnvironmentVariables', 'Illuminate\\Foundation\\Bootstrap\\LoadConfiguration', 'Illuminate\\Foundation\\Bootstrap\\HandleExceptions', 'Illuminate\\Foundation\\Bootstrap\\RegisterFacades', 'Illuminate\\Foundation\\Bootstrap\\RegisterProviders', 'Illuminate\\Foundation\\Bootstrap\\BootProviders'))
     (/home/richindi/public_html/cart/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:153)
  at Illuminate\Foundation\Http\Kernel->bootstrap()
     (/home/richindi/public_html/cart/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:137)
  at Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter(object(Request))
     (/home/richindi/public_html/cart/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:111)
  at Illuminate\Foundation\Http\Kernel->handle(object(Request))
     (/home/richindi/public_html/cart/public/index.php:56)