Fatal error: Declaration of _JchOptimizeVendor\Laminas\ServiceManager\ServiceManager::has($name) must be compatible with Psr\Container\ContainerInterface::has(string $id): bool in /home/users/k/kubtaxi_jm2/site/administrator/components/com_jchoptimize/lib/vendor/laminas/laminas-servicemanager/src/ServiceManager.php on line 240
Compile Error: Declaration of _JchOptimizeVendor\Laminas\ServiceManager\ServiceManager::has($name) must be compatible with Psr\Container\ContainerInterface::has(string $id): bool (500 Whoops, looks like something went wrong.)

FatalError

HTTP 500 Whoops, looks like something went wrong.

Compile Error: Declaration of _JchOptimizeVendor\Laminas\ServiceManager\ServiceManager::has($name) must be compatible with Psr\Container\ContainerInterface::has(string $id): bool

Exception

Symfony\Component\ErrorHandler\Error\ FatalError

Show exception properties
Symfony\Component\ErrorHandler\Error\FatalError {#836
  -error: array:4 [
    "type" => 64
    "message" => "Declaration of _JchOptimizeVendor\Laminas\ServiceManager\ServiceManager::has($name) must be compatible with Psr\Container\ContainerInterface::has(string $id): bool"
    "file" => "/home/users/k/kubtaxi_jm2/site/administrator/components/com_jchoptimize/lib/vendor/laminas/laminas-servicemanager/src/ServiceManager.php"
    "line" => 240
  ]
}
  1. * {@inheritDoc}
  2. *
  3. * @param string|class-string $name
  4. * @return bool
  5. */
  6. public function has($name)
  7. {
  8. // Check static services and factories first to speedup the most common requests.
  9. return $this->staticServiceOrFactoryCanCreate($name) || $this->abstractFactoryCanCreate($name);
  10. }
  11. /**

Stack Trace

FatalError
Symfony\Component\ErrorHandler\Error\FatalError:
Compile Error: Declaration of _JchOptimizeVendor\Laminas\ServiceManager\ServiceManager::has($name) must be compatible with Psr\Container\ContainerInterface::has(string $id): bool

  at /home/users/k/kubtaxi_jm2/site/administrator/components/com_jchoptimize/lib/vendor/laminas/laminas-servicemanager/src/ServiceManager.php:240