Warning: include(/homepages/41/d1019315596/htdocs/web/templates/yootheme/vendor/composer/../../packages/theme-joomla/src/Listener/LoadViewsObject.php): Failed to open stream: No such file or directory in /homepages/41/d1019315596/htdocs/web/templates/yootheme/vendor/composer/ClassLoader.php on line 571

Warning: include(): Failed opening '/homepages/41/d1019315596/htdocs/web/templates/yootheme/vendor/composer/../../packages/theme-joomla/src/Listener/LoadViewsObject.php' for inclusion (include_path='.:/usr/lib/php8.2') in /homepages/41/d1019315596/htdocs/web/templates/yootheme/vendor/composer/ClassLoader.php on line 571

Warning: include(/homepages/41/d1019315596/htdocs/web/templates/yootheme/vendor/composer/../../packages/theme-joomla-finder/src/Listener/AddJsonMimeType.php): Failed to open stream: No such file or directory in /homepages/41/d1019315596/htdocs/web/templates/yootheme/vendor/composer/ClassLoader.php on line 571

Warning: include(): Failed opening '/homepages/41/d1019315596/htdocs/web/templates/yootheme/vendor/composer/../../packages/theme-joomla-finder/src/Listener/AddJsonMimeType.php' for inclusion (include_path='.:/usr/lib/php8.2') in /homepages/41/d1019315596/htdocs/web/templates/yootheme/vendor/composer/ClassLoader.php on line 571
Service 'YOOtheme\Theme\Joomla\Listener\AddJsonMimeType' not found (500 Whoops, looks like something went wrong.)

ServiceNotFoundException

HTTP 500 Whoops, looks like something went wrong.

Service 'YOOtheme\Theme\Joomla\Listener\AddJsonMimeType' not found

Exception

YOOtheme\Container\ ServiceNotFoundException

  1.      * @return mixed
  2.      */
  3.     protected function resolveService($id)
  4.     {
  5.         if (empty($this->services[$id]) && !class_exists($id)) {
  6.             throw new ServiceNotFoundException("Service '{$id}' not found");
  7.         }
  8.         $service $this->services[$id] ?? new Service($id);
  9.         $instance $service->resolveInstance($this);
  1.      *
  2.      * @return mixed
  3.      */
  4.     protected function resolveService($id)
  5.     {
  6.         return Hook::call([$id'app.resolve'], fn($id) => parent::resolveService($id), $id$this);
  7.     }
  8.     /**
  9.      * Resolves a loader instance.
  10.      */
  1.             };
  2.         }
  3.         if ($kind === static::AFTER) {
  4.             return function (...$arguments) use ($method$callback) {
  5.                 $callback($result $method(...$arguments), ...$arguments);
  6.                 return $result;
  7.             };
  8.         }
  1.             if ($hooks $this->hooks[$name] ?? null) {
  2.                 $callback $this->build($callback$hooks);
  3.             }
  4.         }
  5.         return $callback(...$arguments);
  6.     }
  7.     /**
  8.      * Add "wrap" hook for given name.
  9.      */
  1.      * @param  string|string[] $name
  2.      * @return mixed
  3.      */
  4.     public static function call($name, callable $callback, ...$arguments)
  5.     {
  6.         return static::getCollection()->call($name$callback, ...$arguments);
  7.     }
  8.     /**
  9.      * Add "wrap" hook for given name.
  10.      */
  1.      *
  2.      * @return mixed
  3.      */
  4.     protected function resolveService($id)
  5.     {
  6.         return Hook::call([$id'app.resolve'], fn($id) => parent::resolveService($id), $id$this);
  7.     }
  8.     /**
  9.      * Resolves a loader instance.
  10.      */
  1.             return $this->instances[$id] = $this->resolving[$id];
  2.         }
  3.         $this->resolving[$id] = true;
  4.         $instance $this->resolveService($id);
  5.         if ($this->isShared($id)) {
  6.             $this->instances[$id] = $instance;
  7.         }
  1.     /**
  2.      * @inheritdoc
  3.      */
  4.     public function get($id)
  5.     {
  6.         return $this->resolve($id);
  7.     }
  8.     /**
  9.      * Sets a service instance.
  10.      *
  1.                 $callback = [$this->getAlias($service), $method];
  2.             } elseif (str_contains($callback'@')) {
  3.                 [$service$method] = explode('@'$callback2);
  4.                 $callback = [$this->get($service), $method];
  5.             } elseif ($this->has($callback) || class_exists($callback)) {
  6.                 $callback $this->get($callback);
  7.             }
  8.         }
  1.      *
  2.      * @return mixed
  3.      */
  4.     public function call($callback, array $parameters = [], $resolve true)
  5.     {
  6.         if (!($callable $this->callback($callback))) {
  7.             throw BadFunctionCallException::create($callback);
  8.         }
  9.         if ($resolve) {
  10.             $resolver = new ParameterResolver($this);
  1.         string $method,
  2.         ...$params
  3.     ): void {
  4.         $this->dispatcher->addListener(
  5.             $event,
  6.             fn(...$arguments) => $container->call(
  7.                 $method[0] === '@' $class $method : [$class$method],
  8.                 $arguments,
  9.             ),
  10.             ...$params,
  11.         );
  1.         if (version_compare(JVERSION'4.0''>=')) {
  2.             return $this->joomla
  3.                 ->getDispatcher()
  4.                 ->addListener(
  5.                     $event,
  6.                     fn($event) => $listener($this->prepareArguments($event)),
  7.                     $priority,
  8.                 );
  9.         }
  10.         if (empty($this->listeners[$event])) {
  1.                 if ($event->isStopped())
  2.                 {
  3.                     return $event;
  4.                 }
  5.                 $listener($event);
  6.             }
  7.         }
  8.         return $event;
  9.     }
  1.             ExceptionHandler::handleException($event->getError());
  2.         }
  3.         // Trigger the onBeforeRespond event.
  4.         $this->getDispatcher()->dispatch('onBeforeRespond');
  5.         // Send the application response.
  6.         $this->respond();
  7.         // Trigger the onAfterRespond event.
CMSApplication->execute() in /homepages/41/d1019315596/htdocs/web/includes/app.php (line 61)
  1. // Set the application as global app
  2. \Joomla\CMS\Factory::$application $app;
  3. // Execute the application.
  4. $app->execute();
require_once('/homepages/41/d1019315596/htdocs/web/includes/app.php') in /homepages/41/d1019315596/htdocs/web/index.php (line 32)
  1.  * define() is used rather than "const" to not error for PHP 5.2 and lower
  2.  */
  3. define('_JEXEC'1);
  4. // Run the application - All executable code should be triggered through this file
  5. require_once dirname(__FILE__) . '/includes/app.php';

Stack Trace

ServiceNotFoundException
YOOtheme\Container\ServiceNotFoundException:
Service 'YOOtheme\Theme\Joomla\Listener\AddJsonMimeType' not found

  at /homepages/41/d1019315596/htdocs/web/templates/yootheme/packages/container/src/Container.php:339
  at YOOtheme\Container->resolveService()
     (/homepages/41/d1019315596/htdocs/web/templates/yootheme/packages/application/src/Application.php:146)
  at YOOtheme\Application->YOOtheme\{closure}()
     (/homepages/41/d1019315596/htdocs/web/templates/yootheme/packages/utils/src/HookCollection.php:124)
  at YOOtheme\HookCollection->YOOtheme\{closure}()
     (/homepages/41/d1019315596/htdocs/web/templates/yootheme/packages/utils/src/HookCollection.php:30)
  at YOOtheme\HookCollection->call()
     (/homepages/41/d1019315596/htdocs/web/templates/yootheme/packages/utils/src/Hook.php:17)
  at YOOtheme\Hook::call()
     (/homepages/41/d1019315596/htdocs/web/templates/yootheme/packages/application/src/Application.php:146)
  at YOOtheme\Application->resolveService()
     (/homepages/41/d1019315596/htdocs/web/templates/yootheme/packages/container/src/Container.php:315)
  at YOOtheme\Container->resolve()
     (/homepages/41/d1019315596/htdocs/web/templates/yootheme/packages/container/src/Container.php:91)
  at YOOtheme\Container->get()
     (/homepages/41/d1019315596/htdocs/web/templates/yootheme/packages/container/src/Container.php:230)
  at YOOtheme\Container->callback()
     (/homepages/41/d1019315596/htdocs/web/templates/yootheme/packages/container/src/Container.php:252)
  at YOOtheme\Container->call()
     (/homepages/41/d1019315596/htdocs/web/templates/yootheme/packages/application/src/Application/EventLoader.php:58)
  at YOOtheme\Application\EventLoader->YOOtheme\Application\{closure}()
     (/homepages/41/d1019315596/htdocs/web/templates/yootheme/packages/platform-joomla/src/Dispatcher.php:51)
  at YOOtheme\Joomla\Dispatcher->YOOtheme\Joomla\{closure}()
     (/homepages/41/d1019315596/htdocs/web/libraries/vendor/joomla/event/src/Dispatcher.php:486)
  at Joomla\Event\Dispatcher->dispatch()
     (/homepages/41/d1019315596/htdocs/web/libraries/src/Application/CMSApplication.php:326)
  at Joomla\CMS\Application\CMSApplication->execute()
     (/homepages/41/d1019315596/htdocs/web/includes/app.php:61)
  at require_once('/homepages/41/d1019315596/htdocs/web/includes/app.php')
     (/homepages/41/d1019315596/htdocs/web/index.php:32)