Warning: Class "Laminas\Diactoros\Response" not found in /homepages/23/d380474000/htdocs/circle2020/libraries/vendor/laminas/laminas-zendframework-bridge/src/Autoloader.php on line 119
Attempted to load class "Response" from namespace "Laminas\Diactoros". Did you forget a "use" statement for another namespace? (500 Whoops, looks like something went wrong.)

ClassNotFoundError

HTTP 500 Whoops, looks like something went wrong.

Attempted to load class "Response" from namespace "Laminas\Diactoros".
Did you forget a "use" statement for another namespace?

Exception

Symfony\Component\ErrorHandler\Error\ ClassNotFoundError

  1.         $this->input  $input ?: new Input();
  2.         $this->client $client ?: new WebClient();
  3.         // Setup the response object.
  4.         if (!$response) {
  5.             $response = new Response();
  6.         }
  7.         $this->setResponse($response);
  8.         // Call the constructor as late as possible (it runs `initialise`).
  1.     public function __construct(Input $input nullRegistry $config nullWebClient $client nullResponseInterface $response null)
  2.     {
  3.         // Ensure we have a CMS Input object otherwise the DI for \Joomla\CMS\Session\Storage\JoomlaStorage fails
  4.         $input $input ?: new Input();
  5.         parent::__construct($input$config$client$response);
  6.         // Set the execution datetime and timestamp;
  7.         $this->set('execution.datetime'gmdate('Y-m-d H:i:s'));
  8.         $this->set('execution.timestamp'time());
  1.     public function __construct(Input $input nullRegistry $config nullWebClient $client nullContainer $container null)
  2.     {
  3.         $container $container ?: new Container();
  4.         $this->setContainer($container);
  5.         parent::__construct($input$config$client);
  6.         // If JDEBUG is defined, load the profiler instance
  7.         if (\defined('JDEBUG') && JDEBUG) {
  8.             $this->profiler Profiler::getInstance('Application');
  9.         }
  1.         // Register the client ID
  2.         $this->clientId 0;
  3.         // Execute the parent constructor
  4.         parent::__construct($input$config$client$container);
  5.     }
  6.     /**
  7.      * Check if the user can access the application
  8.      *
  1.         $container->alias(SiteApplication::class, 'JApplicationSite')
  2.             ->share(
  3.                 'JApplicationSite',
  4.                 function (Container $container) {
  5.                     $app = new SiteApplication(null$container->get('config'), null$container);
  6.                     // The session service provider needs Factory::$application, set it if still null
  7.                     if (Factory::$application === null) {
  8.                         Factory::$application $app;
  9.                     }
  1.         if ($this->isShared())
  2.         {
  3.             if ($this->instance === null)
  4.             {
  5.                 $this->instance $callable($this->container);
  6.             }
  7.             return $this->instance;
  8.         }
  1.             }
  2.             throw new KeyNotFoundException(sprintf("Resource '%s' has not been registered with the container."$resourceName));
  3.         }
  4.         return $this->resources[$key]->getInstance();
  5.     }
  6.     /**
  7.      * Check if specified resource exists.
  8.      *
  1.     ->alias(\Joomla\CMS\Session\Session::class, 'session.web.site')
  2.     ->alias(\Joomla\Session\Session::class, 'session.web.site')
  3.     ->alias(\Joomla\Session\SessionInterface::class, 'session.web.site');
  4. // Instantiate the application.
  5. $app $container->get(\Joomla\CMS\Application\SiteApplication::class);
  6. // Set the application as global app
  7. \Joomla\CMS\Factory::$application $app;
  8. // Execute the application.
require_once('/homepages/23/d380474000/htdocs/circle2020/includes/app.php') in /homepages/23/d380474000/htdocs/circle2020/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

ClassNotFoundError
Symfony\Component\ErrorHandler\Error\ClassNotFoundError:
Attempted to load class "Response" from namespace "Laminas\Diactoros".
Did you forget a "use" statement for another namespace?

  at /homepages/23/d380474000/htdocs/circle2020/libraries/vendor/joomla/application/src/AbstractWebApplication.php:204
  at Joomla\Application\AbstractWebApplication->__construct()
     (/homepages/23/d380474000/htdocs/circle2020/libraries/src/Application/WebApplication.php:106)
  at Joomla\CMS\Application\WebApplication->__construct()
     (/homepages/23/d380474000/htdocs/circle2020/libraries/src/Application/CMSApplication.php:175)
  at Joomla\CMS\Application\CMSApplication->__construct()
     (/homepages/23/d380474000/htdocs/circle2020/libraries/src/Application/SiteApplication.php:93)
  at Joomla\CMS\Application\SiteApplication->__construct()
     (/homepages/23/d380474000/htdocs/circle2020/libraries/src/Service/Provider/Application.php:100)
  at Joomla\CMS\Service\Provider\Application->Joomla\CMS\Service\Provider\{closure}()
     (/homepages/23/d380474000/htdocs/circle2020/libraries/vendor/joomla/di/src/ContainerResource.php:176)
  at Joomla\DI\ContainerResource->getInstance()
     (/homepages/23/d380474000/htdocs/circle2020/libraries/vendor/joomla/di/src/Container.php:96)
  at Joomla\DI\Container->get()
     (/homepages/23/d380474000/htdocs/circle2020/includes/app.php:55)
  at require_once('/homepages/23/d380474000/htdocs/circle2020/includes/app.php')
     (/homepages/23/d380474000/htdocs/circle2020/index.php:32)