Deprecated: Symfony\Component\ErrorHandler\ErrorHandler::register(): Implicitly marking parameter $handler as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/symfonytest/vendor/symfony/error-handler/ErrorHandler.php on line 110

Deprecated: Symfony\Component\ErrorHandler\ErrorHandler::__construct(): Implicitly marking parameter $bootstrappingLogger as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/symfonytest/vendor/symfony/error-handler/ErrorHandler.php on line 181

Deprecated: Symfony\Component\ErrorHandler\ErrorHandler::handleFatalError(): Implicitly marking parameter $error as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/symfonytest/vendor/symfony/error-handler/ErrorHandler.php on line 569

Deprecated: Symfony\Component\ErrorHandler\DebugClassLoader::checkClass(): Implicitly marking parameter $file as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/symfonytest/vendor/symfony/error-handler/DebugClassLoader.php on line 308

Deprecated: Symfony\Component\ErrorHandler\DebugClassLoader::setReturnType(): Implicitly marking parameter $returnType as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/symfonytest/vendor/symfony/error-handler/DebugClassLoader.php on line 795

Deprecated: Constant E_STRICT is deprecated in /var/www/html/symfonytest/vendor/symfony/error-handler/ErrorHandler.php on line 58

Deprecated: Constant E_STRICT is deprecated in /var/www/html/symfonytest/vendor/symfony/error-handler/ErrorHandler.php on line 76

Deprecated: Symfony\Component\Config\ResourceCheckerConfigCache::write(): Implicitly marking parameter $metadata as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/symfonytest/vendor/symfony/config/ResourceCheckerConfigCache.php on line 113

Deprecated: Symfony\Component\Config\ConfigCacheInterface::write(): Implicitly marking parameter $metadata as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/symfonytest/vendor/symfony/config/ConfigCacheInterface.php on line 44

Deprecated: Symfony\Component\HttpFoundation\Request::duplicate(): Implicitly marking parameter $query as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/symfonytest/vendor/symfony/http-foundation/Request.php on line 436

Deprecated: Symfony\Component\HttpFoundation\Request::duplicate(): Implicitly marking parameter $request as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/symfonytest/vendor/symfony/http-foundation/Request.php on line 436

Deprecated: Symfony\Component\HttpFoundation\Request::duplicate(): Implicitly marking parameter $attributes as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/symfonytest/vendor/symfony/http-foundation/Request.php on line 436

Deprecated: Symfony\Component\HttpFoundation\Request::duplicate(): Implicitly marking parameter $cookies as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/symfonytest/vendor/symfony/http-foundation/Request.php on line 436

Deprecated: Symfony\Component\HttpFoundation\Request::duplicate(): Implicitly marking parameter $files as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/symfonytest/vendor/symfony/http-foundation/Request.php on line 436

Deprecated: Symfony\Component\HttpFoundation\Request::duplicate(): Implicitly marking parameter $server as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/symfonytest/vendor/symfony/http-foundation/Request.php on line 436

Deprecated: Symfony\Component\HttpFoundation\Request::getPreferredLanguage(): Implicitly marking parameter $locales as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/symfonytest/vendor/symfony/http-foundation/Request.php on line 1541

Deprecated: Symfony\Component\HttpFoundation\Request::getTrustedValues(): Implicitly marking parameter $ip as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/symfonytest/vendor/symfony/http-foundation/Request.php on line 1928

Deprecated: Symfony\Component\HttpFoundation\ParameterBag::all(): Implicitly marking parameter $key as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/symfonytest/vendor/symfony/http-foundation/ParameterBag.php on line 40

Deprecated: Symfony\Component\HttpFoundation\HeaderBag::all(): Implicitly marking parameter $key as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/symfonytest/vendor/symfony/http-foundation/HeaderBag.php on line 68

Deprecated: Symfony\Component\HttpFoundation\HeaderBag::get(): Implicitly marking parameter $default as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/symfonytest/vendor/symfony/http-foundation/HeaderBag.php on line 109

Deprecated: Symfony\Component\HttpFoundation\HeaderBag::getDate(): Implicitly marking parameter $default as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/symfonytest/vendor/symfony/http-foundation/HeaderBag.php on line 190

Deprecated: Symfony\Component\Cache\Adapter\ApcuAdapter::__construct(): Implicitly marking parameter $version as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/symfonytest/vendor/symfony/cache/Adapter/ApcuAdapter.php on line 28

Deprecated: Symfony\Component\Cache\Adapter\ApcuAdapter::__construct(): Implicitly marking parameter $marshaller as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/symfonytest/vendor/symfony/cache/Adapter/ApcuAdapter.php on line 28

Deprecated: Symfony\Component\Cache\Adapter\AbstractAdapter::createSystemCache(): Implicitly marking parameter $logger as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/symfonytest/vendor/symfony/cache/Adapter/AbstractAdapter.php on line 90

Deprecated: Symfony\Component\Cache\Traits\ContractsTrait::doGet(): Implicitly marking parameter $metadata as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/symfonytest/vendor/symfony/cache/Traits/ContractsTrait.php on line 64

Deprecated: Symfony\Contracts\Cache\CacheTrait::get(): Implicitly marking parameter $beta as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/symfonytest/vendor/symfony/cache-contracts/CacheTrait.php on line 28

Deprecated: Symfony\Contracts\Cache\CacheTrait::get(): Implicitly marking parameter $metadata as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/symfonytest/vendor/symfony/cache-contracts/CacheTrait.php on line 28

Deprecated: Symfony\Contracts\Cache\CacheTrait::doGet(): Implicitly marking parameter $metadata as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/symfonytest/vendor/symfony/cache-contracts/CacheTrait.php on line 38

Deprecated: Symfony\Contracts\Cache\CacheTrait::doGet(): Implicitly marking parameter $logger as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/symfonytest/vendor/symfony/cache-contracts/CacheTrait.php on line 38

Deprecated: Symfony\Contracts\Cache\CacheInterface::get(): Implicitly marking parameter $beta as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/symfonytest/vendor/symfony/cache-contracts/CacheInterface.php on line 47

Deprecated: Symfony\Contracts\Cache\CacheInterface::get(): Implicitly marking parameter $metadata as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/symfonytest/vendor/symfony/cache-contracts/CacheInterface.php on line 47

Deprecated: Symfony\Component\Cache\Adapter\ArrayAdapter::get(): Implicitly marking parameter $beta as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/symfonytest/vendor/symfony/cache/Adapter/ArrayAdapter.php on line 80

Deprecated: Symfony\Component\Cache\Adapter\ArrayAdapter::get(): Implicitly marking parameter $metadata as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/symfonytest/vendor/symfony/cache/Adapter/ArrayAdapter.php on line 80

Deprecated: Symfony\Component\Cache\Adapter\ChainAdapter::get(): Implicitly marking parameter $beta as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/symfonytest/vendor/symfony/cache/Adapter/ChainAdapter.php on line 94

Deprecated: Symfony\Component\Cache\Adapter\ChainAdapter::get(): Implicitly marking parameter $metadata as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/symfonytest/vendor/symfony/cache/Adapter/ChainAdapter.php on line 94

Deprecated: {closure:Symfony\Component\Cache\Adapter\ChainAdapter::get():106}(): Implicitly marking parameter $item as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/symfonytest/vendor/symfony/cache/Adapter/ChainAdapter.php on line 106

Deprecated: Symfony\Component\Cache\Adapter\PhpArrayAdapter::get(): Implicitly marking parameter $beta as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/symfonytest/vendor/symfony/cache/Adapter/PhpArrayAdapter.php on line 84

Deprecated: Symfony\Component\Cache\Adapter\PhpArrayAdapter::get(): Implicitly marking parameter $metadata as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/symfonytest/vendor/symfony/cache/Adapter/PhpArrayAdapter.php on line 84

Deprecated: Symfony\Component\Cache\Adapter\PhpFilesAdapter::__construct(): Implicitly marking parameter $directory as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/symfonytest/vendor/symfony/cache/Adapter/PhpFilesAdapter.php on line 46

Deprecated: Symfony\Component\Cache\Traits\FilesystemCommonTrait::write(): Implicitly marking parameter $expiresAt as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/symfonytest/vendor/symfony/cache/Traits/FilesystemCommonTrait.php on line 91

Deprecated: Symfony\Component\Cache\Traits\FilesystemCommonTrait::getFile(): Implicitly marking parameter $directory as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/symfonytest/vendor/symfony/cache/Traits/FilesystemCommonTrait.php on line 121

Deprecated: Symfony\Component\DependencyInjection\ContainerAwareTrait::setContainer(): Implicitly marking parameter $container as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/symfonytest/vendor/symfony/dependency-injection/ContainerAwareTrait.php on line 26

Deprecated: Symfony\Component\DependencyInjection\ContainerAwareInterface::setContainer(): Implicitly marking parameter $container as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/symfonytest/vendor/symfony/dependency-injection/ContainerAwareInterface.php on line 24

Deprecated: Symfony\Component\DependencyInjection\Container::__construct(): Implicitly marking parameter $parameterBag as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/symfonytest/vendor/symfony/dependency-injection/Container.php on line 65

Deprecated: Symfony\Component\DependencyInjection\Argument\ServiceLocator::__construct(): Implicitly marking parameter $serviceTypes as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/symfonytest/vendor/symfony/dependency-injection/Argument/ServiceLocator.php on line 27

Deprecated: Symfony\Component\DependencyInjection\ServiceLocator::formatAlternatives(): Implicitly marking parameter $alternatives as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/symfonytest/vendor/symfony/dependency-injection/ServiceLocator.php on line 137

Deprecated: Symfony\Component\Config\Resource\ClassExistenceResource::__construct(): Implicitly marking parameter $exists as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/symfonytest/vendor/symfony/config/Resource/ClassExistenceResource.php on line 37

Deprecated: Symfony\Component\Config\Resource\ClassExistenceResource::throwOnRequiredClass(): Implicitly marking parameter $previous as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/symfonytest/vendor/symfony/config/Resource/ClassExistenceResource.php on line 146

Deprecated: Symfony\Component\Config\Resource\DirectoryResource::__construct(): Implicitly marking parameter $pattern as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/symfonytest/vendor/symfony/config/Resource/DirectoryResource.php on line 32

Deprecated: Symfony\Component\ErrorHandler\ErrorRenderer\HtmlErrorRenderer::__construct(): Implicitly marking parameter $charset as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/symfonytest/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php on line 49

Deprecated: Symfony\Component\ErrorHandler\ErrorRenderer\HtmlErrorRenderer::__construct(): Implicitly marking parameter $fileLinkFormat as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/symfonytest/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php on line 49

Deprecated: Symfony\Component\ErrorHandler\ErrorRenderer\HtmlErrorRenderer::__construct(): Implicitly marking parameter $projectDir as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/symfonytest/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php on line 49

Deprecated: Symfony\Component\ErrorHandler\ErrorRenderer\HtmlErrorRenderer::__construct(): Implicitly marking parameter $logger as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/symfonytest/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php on line 49

Deprecated: Symfony\Component\ErrorHandler\ErrorRenderer\HtmlErrorRenderer::formatFile(): Implicitly marking parameter $text as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/symfonytest/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php on line 222

Deprecated: Symfony\Component\ErrorHandler\Exception\FlattenException::create(): Implicitly marking parameter $statusCode as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/symfonytest/vendor/symfony/error-handler/Exception/FlattenException.php on line 40

Deprecated: Symfony\Component\ErrorHandler\Exception\FlattenException::createFromThrowable(): Implicitly marking parameter $statusCode as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/symfonytest/vendor/symfony/error-handler/Exception/FlattenException.php on line 45

Deprecated: Symfony\Component\HttpFoundation\Response::setStatusCode(): Implicitly marking parameter $text as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/symfonytest/vendor/symfony/http-foundation/Response.php on line 445

Deprecated: Symfony\Component\HttpFoundation\Response::setExpires(): Implicitly marking parameter $date as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/symfonytest/vendor/symfony/http-foundation/Response.php on line 719

Deprecated: Symfony\Component\HttpFoundation\Response::setLastModified(): Implicitly marking parameter $date as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/symfonytest/vendor/symfony/http-foundation/Response.php on line 898

Deprecated: Symfony\Component\HttpFoundation\Response::setEtag(): Implicitly marking parameter $etag as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/symfonytest/vendor/symfony/http-foundation/Response.php on line 936

Deprecated: Symfony\Component\HttpFoundation\Response::isRedirect(): Implicitly marking parameter $location as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/symfonytest/vendor/symfony/http-foundation/Response.php on line 1236

Deprecated: Symfony\Component\HttpFoundation\ResponseHeaderBag::all(): Implicitly marking parameter $key as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/symfonytest/vendor/symfony/http-foundation/ResponseHeaderBag.php on line 89

Deprecated: Symfony\Component\HttpFoundation\ResponseHeaderBag::removeCookie(): Implicitly marking parameter $domain as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/symfonytest/vendor/symfony/http-foundation/ResponseHeaderBag.php on line 187

Deprecated: Symfony\Component\HttpFoundation\ResponseHeaderBag::clearCookie(): Implicitly marking parameter $domain as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/symfonytest/vendor/symfony/http-foundation/ResponseHeaderBag.php on line 240

Deprecated: Symfony\Component\HttpFoundation\ResponseHeaderBag::clearCookie(): Implicitly marking parameter $sameSite as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/symfonytest/vendor/symfony/http-foundation/ResponseHeaderBag.php on line 240
Unable to write in the "cache" directory (/var/www/html/symfonytest/var/cache/dev). (500 Internal Server Error)

Symfony Exception

RuntimeException

HTTP 500 Internal Server Error

Unable to write in the "cache" directory (/var/www/html/symfonytest/var/cache/dev).

Exception

RuntimeException

require_once('/var/www/html/symfonytest/vendor/autoload_runtime.php') in /var/www/html/symfonytest/public/index.php (line 5)
  1. <?php
    
    use App\Kernel;
    
    require_once dirname(__DIR__).'/vendor/autoload_runtime.php';
    
    return function (array $context) {
        return new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']);
    };
    

Stack Trace

RuntimeException
RuntimeException:
Unable to write in the "cache" directory (/var/www/html/symfonytest/var/cache/dev).

  at /var/www/html/symfonytest/vendor/symfony/http-kernel/Kernel.php:629
  at Symfony\Component\HttpKernel\Kernel->buildContainer()
     (/var/www/html/symfonytest/vendor/symfony/http-kernel/Kernel.php:537)
  at Symfony\Component\HttpKernel\Kernel->initializeContainer()
     (/var/www/html/symfonytest/vendor/symfony/http-kernel/Kernel.php:767)
  at Symfony\Component\HttpKernel\Kernel->preBoot()
     (/var/www/html/symfonytest/vendor/symfony/http-kernel/Kernel.php:190)
  at Symfony\Component\HttpKernel\Kernel->handle()
     (/var/www/html/symfonytest/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php:35)
  at Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run()
     (/var/www/html/symfonytest/vendor/autoload_runtime.php:29)
  at require_once('/var/www/html/symfonytest/vendor/autoload_runtime.php')
     (/var/www/html/symfonytest/public/index.php:5)