Error 406 Not Acceptable

GET http://fareast-enterprises-group.com/.DS_Store

Forwarded to ErrorController (f1cf68)

Exceptions

Page does not exist in "DS_Store" format.

Exception

Symfony\Component\HttpKernel\Exception\ NotAcceptableHttpException

Show exception properties
Symfony\Component\HttpKernel\Exception\NotAcceptableHttpException {#2894
  -statusCode: 406
  -headers: []
}
  1. }
  2. $viewTemplate = $structure->getView() . '.' . $requestFormat . '.twig';
  3. if (!$this->container->get('twig')->getLoader()->exists($viewTemplate)) {
  4. throw new NotAcceptableHttpException(\sprintf('Page does not exist in "%s" format.', $requestFormat));
  5. }
  6. // get attributes to render template
  7. $data = $this->getAttributes($attributes, $structure, $preview);
  1. *
  2. * @return Response
  3. */
  4. public function indexAction(StructureInterface $structure, $preview = false, $partial = false)
  5. {
  6. $response = $this->renderStructure(
  7. $structure,
  8. [],
  9. $preview,
  10. $partial
  11. );
in vendor/symfony/http-kernel/HttpKernel.php -> indexAction (line 183)
  1. $this->dispatcher->dispatch($event, KernelEvents::CONTROLLER_ARGUMENTS);
  2. $controller = $event->getController();
  3. $arguments = $event->getArguments();
  4. // call controller
  5. $response = $controller(...$arguments);
  6. // view
  7. if (!$response instanceof Response) {
  8. $event = new ViewEvent($this, $request, $type, $response, $event);
  9. $this->dispatcher->dispatch($event, KernelEvents::VIEW);
  1. $request->headers->set('X-Php-Ob-Level', (string) ob_get_level());
  2. $this->requestStack->push($request);
  3. $response = null;
  4. try {
  5. return $response = $this->handleRaw($request, $type);
  6. } catch (\Throwable $e) {
  7. if ($e instanceof \Error && !$this->handleAllThrowables) {
  8. throw $e;
  9. }
  1. $this->boot();
  2. ++$this->requestStackSize;
  3. $this->resetServices = true;
  4. try {
  5. return $this->getHttpKernel()->handle($request, $type, $catch);
  6. } finally {
  7. --$this->requestStackSize;
  8. }
  9. }
Kernel->handle(object(Request)) in public/index.php (line 69)
  1. // When using the HttpCache, you need to call the method in your front controller
  2. // instead of relying on the configuration parameter
  3. // https://symfony.com/doc/6.4/reference/configuration/framework.html#http-method-override
  4. Request::enableHttpMethodParameterOverride();
  5. $request = Request::createFromGlobals();
  6. $response = $kernel->handle($request);
  7. $response->send();
  8. $kernel->terminate($request, $response);

Logs

Level Channel Message
INFO 02:28:01 deprecation User Deprecated: Method "Symfony\Component\HttpKernel\Bundle\Bundle::build()" might add "void" as a native return type declaration in the future. Do the same in child class "HandcraftedInTheAlps\RestRoutingBundle\RestRoutingBundle" now to avoid errors or add an explicit @return annotation to suppress this message.
{
    "exception": {}
}
INFO 02:28:01 deprecation User Deprecated: Method "Symfony\Component\HttpKernel\Bundle\Bundle::build()" might add "void" as a native return type declaration in the future. Do the same in child class "Massive\Bundle\SearchBundle\MassiveSearchBundle" now to avoid errors or add an explicit @return annotation to suppress this message.
{
    "exception": {}
}
DEBUG 02:28:01 php Warning: Zend OPcache API is restricted by "restrict_api" configuration directive
{
    "exception": {
        "severity": 2,
        "file": "/home/fareash/www/fareastgroup/vendor/symfony/error-handler/DebugClassLoader.php",
        "line": 296,
        "trace": [
            {
                "file": "/home/fareash/www/fareastgroup/vendor/doctrine/doctrine-bundle/src/DoctrineBundle.php",
                "line": 132,
                "function": "loadClass",
                "class": "Symfony\\Component\\ErrorHandler\\DebugClassLoader",
                "type": "->"
            }
        ],
        "count": 344
    }
}
INFO 02:28:01 deprecation User Deprecated: Version detection logic for MySQL will change in DBAL 4. Please specify the version as the server reports it, e.g. "8.0.31" instead of "8". (AbstractMySQLDriver.php:89 called by AbstractDriverMiddleware.php:68, https://github.com/doctrine/dbal/pull/5779, package doctrine/orm)
{
    "exception": {}
}
INFO 02:28:01 deprecation User Deprecated: Method "PHPCR\Query\QueryManagerInterface::createQuery()" might add "QueryInterface" as a native return type declaration in the future. Do the same in implementation "Jackalope\Query\QueryManager" now to avoid errors or add an explicit @return annotation to suppress this message.
{
    "exception": {}
}
DEBUG 02:28:01 php Warning: Zend OPcache API is restricted by "restrict_api" configuration directive
{
    "exception": {
        "severity": 2,
        "file": "/home/fareash/www/fareastgroup/vendor/symfony/error-handler/DebugClassLoader.php",
        "line": 296,
        "trace": [
            {
                "file": "/home/fareash/www/fareastgroup/vendor/doctrine/doctrine-bundle/src/DoctrineBundle.php",
                "line": 132,
                "function": "loadClass",
                "class": "Symfony\\Component\\ErrorHandler\\DebugClassLoader",
                "type": "->"
            }
        ],
        "count": 344
    }
}
DEBUG 02:28:01 php Warning: Zend OPcache API is restricted by "restrict_api" configuration directive
{
    "exception": {
        "severity": 2,
        "file": "/home/fareash/www/fareastgroup/vendor/symfony/error-handler/DebugClassLoader.php",
        "line": 296,
        "trace": [
            {
                "file": "/home/fareash/www/fareastgroup/vendor/doctrine/doctrine-bundle/src/DoctrineBundle.php",
                "line": 132,
                "function": "loadClass",
                "class": "Symfony\\Component\\ErrorHandler\\DebugClassLoader",
                "type": "->"
            }
        ],
        "count": 344
    }
}
INFO 02:28:01 deprecation User Deprecated: Method "IteratorAggregate::getIterator()" might add "\Traversable" as a native return type declaration in the future. Do the same in implementation "Sulu\Component\Webspace\Manager\WebspaceCollection" now to avoid errors or add an explicit @return annotation to suppress this message.
{
    "exception": {}
}
INFO 02:28:01 deprecation User Deprecated: Method "JsonSerializable::jsonSerialize()" might add "mixed" as a native return type declaration in the future. Do the same in implementation "Sulu\Component\Localization\Localization" now to avoid errors or add an explicit @return annotation to suppress this message.
{
    "exception": {}
}
INFO 02:28:01 deprecation User Deprecated: Since sulu/sulu 2.3: The "Sulu\Component\Localization\Localization::setXDefault" method is deprecated on "Sulu\Component\Localization\Localization" use "setDefault" instead.
{
    "exception": {}
}
INFO 02:28:01 deprecation User Deprecated: Since sulu/sulu 2.3: The "Sulu\Component\Localization\Localization::setXDefault" method is deprecated on "Sulu\Component\Localization\Localization" use "setDefault" instead.
{
    "exception": {}
}
INFO 02:28:01 deprecation User Deprecated: Since sulu/sulu 2.3: The "Sulu\Component\Webspace\Portal::getXDefaultLocalization" method is deprecated on "Sulu\Component\Webspace\Portal" use "getDefaultLocalization" instead.
{
    "exception": {}
}
INFO 02:28:01 deprecation User Deprecated: Since sulu/sulu 2.3: The "Sulu\Component\Webspace\Portal::setXDefaultLocalization" method is deprecated on "Sulu\Component\Webspace\Portal" use "setDefaultLocalization" instead.
{
    "exception": {}
}
INFO 02:28:01 doctrine Connecting with parameters {params}
{
    "params": {
        "use_savepoints": true,
        "driver": "pdo_mysql",
        "idle_connection_ttl": 600,
        "host": "fareashgroup.mysql.db",
        "port": null,
        "user": "fareashgroup",
        "password": "<redacted>",
        "driverOptions": [],
        "defaultTableOptions": [],
        "dbname": "fareashgroup",
        "serverVersion": "8",
        "charset": "utf8mb4"
    }
}
DEBUG 02:28:01 doctrine Executing statement: SELECT 1 FROM phpcr_workspaces WHERE name = ? (parameters: {params}, types: {types})
{
    "sql": "SELECT 1 FROM phpcr_workspaces WHERE name = ?",
    "params": {
        "1": "default_live"
    },
    "types": {
        "1": 2
    }
}
DEBUG 02:28:01 doctrine Executing query: SELECT prefix, uri FROM phpcr_namespaces
{
    "sql": "SELECT prefix, uri FROM phpcr_namespaces"
}
DEBUG 02:28:01 doctrine Executing statement: SELECT * FROM phpcr_nodes WHERE path = ? AND workspace_name = ? ORDER BY depth, sort_order ASC (parameters: {params}, types: {types})
{
    "sql": "\n              SELECT * FROM phpcr_nodes\n              WHERE path = ?\n                AND workspace_name = ?\n              ORDER BY depth, sort_order ASC",
    "params": {
        "1": "/cmf/website/custom-urls/routes/fareast-enterprises-group.com/_profiler/0538e8?panel=exception&type=request",
        "2": "default_live"
    },
    "types": {
        "1": 2,
        "2": 2
    }
}
INFO 02:28:01 deprecation Deprecated: Exception::__construct(): Passing null to parameter #2 ($code) of type int is deprecated
{
    "exception": {}
}
INFO 02:28:01 request Matched route "_profiler".
{
    "route": "_profiler",
    "route_parameters": {
        "_route": "_profiler",
        "_controller": "web_profiler.controller.profiler::panelAction",
        "token": "0538e8"
    },
    "request_uri": "https://fareast-enterprises-group.com/_profiler/0538e8?panel=exception&type=request",
    "method": "GET"
}
INFO 02:28:01 deprecation User Deprecated: Method "JsonSerializable::jsonSerialize()" might add "mixed" as a native return type declaration in the future. Do the same in implementation "Sulu\Component\Content\Compat\Property" now to avoid errors or add an explicit @return annotation to suppress this message.
{
    "exception": {}
}
DEBUG 02:28:01 php Warning: Zend OPcache API is restricted by "restrict_api" configuration directive
{
    "exception": {
        "severity": 2,
        "file": "/home/fareash/www/fareastgroup/vendor/symfony/error-handler/DebugClassLoader.php",
        "line": 296,
        "trace": [
            {
                "file": "/home/fareash/www/fareastgroup/vendor/doctrine/doctrine-bundle/src/DoctrineBundle.php",
                "line": 132,
                "function": "loadClass",
                "class": "Symfony\\Component\\ErrorHandler\\DebugClassLoader",
                "type": "->"
            }
        ],
        "count": 344
    }
}
INFO 02:28:01 deprecation Deprecated: Exception::__construct(): Passing null to parameter #2 ($code) of type int is deprecated
{
    "exception": {}
}
INFO 02:28:01 deprecation Deprecated: Exception::__construct(): Passing null to parameter #2 ($code) of type int is deprecated
{
    "exception": {}
}

Stack Trace

NotAcceptableHttpException
Symfony\Component\HttpKernel\Exception\NotAcceptableHttpException:
Page does not exist in "DS_Store" format.

  at vendor/sulu/sulu/src/Sulu/Bundle/WebsiteBundle/Controller/WebsiteController.php:58
  at Sulu\Bundle\WebsiteBundle\Controller\WebsiteController->renderStructure(object(PageBridge), array(), false, false)
     (vendor/sulu/sulu/src/Sulu/Bundle/WebsiteBundle/Controller/DefaultController.php:33)
  at Sulu\Bundle\WebsiteBundle\Controller\DefaultController->indexAction(object(PageBridge), false, false)
     (vendor/symfony/http-kernel/HttpKernel.php:183)
  at Symfony\Component\HttpKernel\HttpKernel->handleRaw(object(Request), 1)
     (vendor/symfony/http-kernel/HttpKernel.php:76)
  at Symfony\Component\HttpKernel\HttpKernel->handle(object(Request), 1, true)
     (vendor/symfony/http-kernel/Kernel.php:182)
  at Symfony\Component\HttpKernel\Kernel->handle(object(Request))
     (public/index.php:69)