( ! ) Fatal error: Uncaught UnexpectedValueException: The stream or file "/var/www/html/App/config/../../logs/app.log" could not be opened in append mode: Failed to open stream: Permission denied The exception occurred while attempting to log: Api token required. Token is Empty Context: {"file - line":"\/var\/www\/html\/App\/controller\/traits\/auth.php - 44","errorCode":401,"request_method":true,"request_uri":true,"request_params":[],"request_files":[],"query_string":true,"lastError":null} in /var/www/html/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php on line 157
( ! ) UnexpectedValueException: The stream or file "/var/www/html/App/config/../../logs/app.log" could not be opened in append mode: Failed to open stream: Permission denied The exception occurred while attempting to log: Api token required. Token is Empty Context: {"file - line":"\/var\/www\/html\/App\/controller\/traits\/auth.php - 44","errorCode":401,"request_method":true,"request_uri":true,"request_params":[],"request_files":[],"query_string":true,"lastError":null} in /var/www/html/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php on line 157
Call Stack
#TimeMemoryFunctionLocation
10.0002396712{main}( ).../index.php:0
20.04943287976Beest\App->run( ).../index.php:12
30.04943287976Slim\App->run( $request = ??? ).../App.php:106
40.05303670576Slim\App->handle( $request = class Slim\Psr7\Request { protected string $protocolVersion = '1.1'; protected $headers = class Slim\Psr7\Headers { protected array $globals = [...]; protected array $headers = [...] }; protected $body = class Slim\Psr7\Stream { protected $stream = resource(167) of type (stream); protected ?array $meta = *uninitialized*; protected ?bool $readable = NULL; protected ?bool $writable = NULL; protected ?bool $seekable = NULL; protected ?int $size = NULL; protected ?bool $isPipe = NULL; protected bool $finished = FALSE; protected ?Psr\Http\Message\StreamInterface $cache = class Slim\Psr7\Stream { ... } }; protected string $method = 'GET'; protected $uri = class Slim\Psr7\Uri { protected string $scheme = 'http'; protected string $user = ''; protected string $password = ''; protected string $host = 'valid.companee.it'; protected ?int $port = 80; protected string $path = '/sitemap.xml'; protected string $query = ''; protected string $fragment = '' }; protected $requestTarget = NULL; protected $queryParams = NULL; protected array $cookies = []; protected array $serverParams = ['REDIRECT_HTTP_AUTHORIZATION' => '', 'REDIRECT_STATUS' => '200', 'HTTP_AUTHORIZATION' => '', 'HTTP_HOST' => 'valid.companee.it', 'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)', 'HTTP_ACCEPT' => '*/*', 'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate', 'HTTP_X_FORWARDED_FOR' => '216.73.216.41', 'HTTP_X_FORWARDED_HOST' => 'valid.companee.it', 'HTTP_X_FORWARDED_PORT' => '443', 'HTTP_X_FORWARDED_PROTO' => 'https', 'HTTP_X_FORWARDED_SERVER' => 'd37238f8b161', 'HTTP_X_REAL_IP' => '216.73.216.41', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', 'SERVER_SIGNATURE' => '<address>Apache/2.4.62 (Debian) Server at valid.companee.it Port 80</address>\n', 'SERVER_SOFTWARE' => 'Apache/2.4.62 (Debian)', 'SERVER_NAME' => 'valid.companee.it', 'SERVER_ADDR' => '172.18.0.23', 'SERVER_PORT' => '80', 'REMOTE_ADDR' => '172.18.0.32', 'DOCUMENT_ROOT' => '/var/www/html/public', 'REQUEST_SCHEME' => 'http', 'CONTEXT_PREFIX' => '', 'CONTEXT_DOCUMENT_ROOT' => '/var/www/html/public', 'SERVER_ADMIN' => 'webmaster@localhost', 'SCRIPT_FILENAME' => '/var/www/html/public/index.php', 'REMOTE_PORT' => '55370', 'REDIRECT_URL' => '/sitemap.xml', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => '', 'REQUEST_URI' => '/sitemap.xml', 'SCRIPT_NAME' => '/index.php', 'PHP_SELF' => '/index.php', 'REQUEST_TIME_FLOAT' => 1768357108.3481, 'REQUEST_TIME' => 1768357108, 'argv' => [...], 'argc' => 0]; protected array $attributes = []; protected $parsedBody = NULL; protected array $uploadedFiles = [] } ).../App.php:183
50.05303670576Slim\MiddlewareDispatcher->handle( $request = class Slim\Psr7\Request { protected string $protocolVersion = '1.1'; protected $headers = class Slim\Psr7\Headers { protected array $globals = [...]; protected array $headers = [...] }; protected $body = class Slim\Psr7\Stream { protected $stream = resource(167) of type (stream); protected ?array $meta = *uninitialized*; protected ?bool $readable = NULL; protected ?bool $writable = NULL; protected ?bool $seekable = NULL; protected ?int $size = NULL; protected ?bool $isPipe = NULL; protected bool $finished = FALSE; protected ?Psr\Http\Message\StreamInterface $cache = class Slim\Psr7\Stream { ... } }; protected string $method = 'GET'; protected $uri = class Slim\Psr7\Uri { protected string $scheme = 'http'; protected string $user = ''; protected string $password = ''; protected string $host = 'valid.companee.it'; protected ?int $port = 80; protected string $path = '/sitemap.xml'; protected string $query = ''; protected string $fragment = '' }; protected $requestTarget = NULL; protected $queryParams = NULL; protected array $cookies = []; protected array $serverParams = ['REDIRECT_HTTP_AUTHORIZATION' => '', 'REDIRECT_STATUS' => '200', 'HTTP_AUTHORIZATION' => '', 'HTTP_HOST' => 'valid.companee.it', 'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)', 'HTTP_ACCEPT' => '*/*', 'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate', 'HTTP_X_FORWARDED_FOR' => '216.73.216.41', 'HTTP_X_FORWARDED_HOST' => 'valid.companee.it', 'HTTP_X_FORWARDED_PORT' => '443', 'HTTP_X_FORWARDED_PROTO' => 'https', 'HTTP_X_FORWARDED_SERVER' => 'd37238f8b161', 'HTTP_X_REAL_IP' => '216.73.216.41', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', 'SERVER_SIGNATURE' => '<address>Apache/2.4.62 (Debian) Server at valid.companee.it Port 80</address>\n', 'SERVER_SOFTWARE' => 'Apache/2.4.62 (Debian)', 'SERVER_NAME' => 'valid.companee.it', 'SERVER_ADDR' => '172.18.0.23', 'SERVER_PORT' => '80', 'REMOTE_ADDR' => '172.18.0.32', 'DOCUMENT_ROOT' => '/var/www/html/public', 'REQUEST_SCHEME' => 'http', 'CONTEXT_PREFIX' => '', 'CONTEXT_DOCUMENT_ROOT' => '/var/www/html/public', 'SERVER_ADMIN' => 'webmaster@localhost', 'SCRIPT_FILENAME' => '/var/www/html/public/index.php', 'REMOTE_PORT' => '55370', 'REDIRECT_URL' => '/sitemap.xml', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => '', 'REQUEST_URI' => '/sitemap.xml', 'SCRIPT_NAME' => '/index.php', 'PHP_SELF' => '/index.php', 'REQUEST_TIME_FLOAT' => 1768357108.3481, 'REQUEST_TIME' => 1768357108, 'argv' => [...], 'argc' => 0]; protected array $attributes = []; protected $parsedBody = NULL; protected array $uploadedFiles = [] } ).../App.php:199
60.05303670576{anonymous-class:/var/www/html/vendor/slim/slim/Slim/MiddlewareDispatcher.php:108-123}->handle( $request = class Slim\Psr7\Request { protected string $protocolVersion = '1.1'; protected $headers = class Slim\Psr7\Headers { protected array $globals = [...]; protected array $headers = [...] }; protected $body = class Slim\Psr7\Stream { protected $stream = resource(167) of type (stream); protected ?array $meta = *uninitialized*; protected ?bool $readable = NULL; protected ?bool $writable = NULL; protected ?bool $seekable = NULL; protected ?int $size = NULL; protected ?bool $isPipe = NULL; protected bool $finished = FALSE; protected ?Psr\Http\Message\StreamInterface $cache = class Slim\Psr7\Stream { ... } }; protected string $method = 'GET'; protected $uri = class Slim\Psr7\Uri { protected string $scheme = 'http'; protected string $user = ''; protected string $password = ''; protected string $host = 'valid.companee.it'; protected ?int $port = 80; protected string $path = '/sitemap.xml'; protected string $query = ''; protected string $fragment = '' }; protected $requestTarget = NULL; protected $queryParams = NULL; protected array $cookies = []; protected array $serverParams = ['REDIRECT_HTTP_AUTHORIZATION' => '', 'REDIRECT_STATUS' => '200', 'HTTP_AUTHORIZATION' => '', 'HTTP_HOST' => 'valid.companee.it', 'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)', 'HTTP_ACCEPT' => '*/*', 'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate', 'HTTP_X_FORWARDED_FOR' => '216.73.216.41', 'HTTP_X_FORWARDED_HOST' => 'valid.companee.it', 'HTTP_X_FORWARDED_PORT' => '443', 'HTTP_X_FORWARDED_PROTO' => 'https', 'HTTP_X_FORWARDED_SERVER' => 'd37238f8b161', 'HTTP_X_REAL_IP' => '216.73.216.41', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', 'SERVER_SIGNATURE' => '<address>Apache/2.4.62 (Debian) Server at valid.companee.it Port 80</address>\n', 'SERVER_SOFTWARE' => 'Apache/2.4.62 (Debian)', 'SERVER_NAME' => 'valid.companee.it', 'SERVER_ADDR' => '172.18.0.23', 'SERVER_PORT' => '80', 'REMOTE_ADDR' => '172.18.0.32', 'DOCUMENT_ROOT' => '/var/www/html/public', 'REQUEST_SCHEME' => 'http', 'CONTEXT_PREFIX' => '', 'CONTEXT_DOCUMENT_ROOT' => '/var/www/html/public', 'SERVER_ADMIN' => 'webmaster@localhost', 'SCRIPT_FILENAME' => '/var/www/html/public/index.php', 'REMOTE_PORT' => '55370', 'REDIRECT_URL' => '/sitemap.xml', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => '', 'REQUEST_URI' => '/sitemap.xml', 'SCRIPT_NAME' => '/index.php', 'PHP_SELF' => '/index.php', 'REQUEST_TIME_FLOAT' => 1768357108.3481, 'REQUEST_TIME' => 1768357108, 'argv' => [...], 'argc' => 0]; protected array $attributes = []; protected $parsedBody = NULL; protected array $uploadedFiles = [] } ).../MiddlewareDispatcher.php:65
70.05303670688Slim\Middleware\ErrorMiddleware->process( $request = class Slim\Psr7\Request { protected string $protocolVersion = '1.1'; protected $headers = class Slim\Psr7\Headers { protected array $globals = [...]; protected array $headers = [...] }; protected $body = class Slim\Psr7\Stream { protected $stream = resource(167) of type (stream); protected ?array $meta = *uninitialized*; protected ?bool $readable = NULL; protected ?bool $writable = NULL; protected ?bool $seekable = NULL; protected ?int $size = NULL; protected ?bool $isPipe = NULL; protected bool $finished = FALSE; protected ?Psr\Http\Message\StreamInterface $cache = class Slim\Psr7\Stream { ... } }; protected string $method = 'GET'; protected $uri = class Slim\Psr7\Uri { protected string $scheme = 'http'; protected string $user = ''; protected string $password = ''; protected string $host = 'valid.companee.it'; protected ?int $port = 80; protected string $path = '/sitemap.xml'; protected string $query = ''; protected string $fragment = '' }; protected $requestTarget = NULL; protected $queryParams = NULL; protected array $cookies = []; protected array $serverParams = ['REDIRECT_HTTP_AUTHORIZATION' => '', 'REDIRECT_STATUS' => '200', 'HTTP_AUTHORIZATION' => '', 'HTTP_HOST' => 'valid.companee.it', 'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)', 'HTTP_ACCEPT' => '*/*', 'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate', 'HTTP_X_FORWARDED_FOR' => '216.73.216.41', 'HTTP_X_FORWARDED_HOST' => 'valid.companee.it', 'HTTP_X_FORWARDED_PORT' => '443', 'HTTP_X_FORWARDED_PROTO' => 'https', 'HTTP_X_FORWARDED_SERVER' => 'd37238f8b161', 'HTTP_X_REAL_IP' => '216.73.216.41', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', 'SERVER_SIGNATURE' => '<address>Apache/2.4.62 (Debian) Server at valid.companee.it Port 80</address>\n', 'SERVER_SOFTWARE' => 'Apache/2.4.62 (Debian)', 'SERVER_NAME' => 'valid.companee.it', 'SERVER_ADDR' => '172.18.0.23', 'SERVER_PORT' => '80', 'REMOTE_ADDR' => '172.18.0.32', 'DOCUMENT_ROOT' => '/var/www/html/public', 'REQUEST_SCHEME' => 'http', 'CONTEXT_PREFIX' => '', 'CONTEXT_DOCUMENT_ROOT' => '/var/www/html/public', 'SERVER_ADMIN' => 'webmaster@localhost', 'SCRIPT_FILENAME' => '/var/www/html/public/index.php', 'REMOTE_PORT' => '55370', 'REDIRECT_URL' => '/sitemap.xml', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => '', 'REQUEST_URI' => '/sitemap.xml', 'SCRIPT_NAME' => '/index.php', 'PHP_SELF' => '/index.php', 'REQUEST_TIME_FLOAT' => 1768357108.3481, 'REQUEST_TIME' => 1768357108, 'argv' => [...], 'argc' => 0]; protected array $attributes = []; protected $parsedBody = NULL; protected array $uploadedFiles = [] }, $handler = class Psr\Http\Server\RequestHandlerInterface@anonymous { private Psr\Http\Server\MiddlewareInterface $middleware = class Slim\Middleware\RoutingMiddleware { protected Slim\Interfaces\RouteResolverInterface $routeResolver = class Slim\Routing\RouteResolver { ... }; protected Slim\Interfaces\RouteParserInterface $routeParser = class Slim\Routing\RouteParser { ... } }; private Psr\Http\Server\RequestHandlerInterface $next = class Psr\Http\Server\RequestHandlerInterface@anonymous { private Psr\Http\Server\MiddlewareInterface $middleware = class Slim\Middleware\BodyParsingMiddleware { ... }; private Psr\Http\Server\RequestHandlerInterface $next = class Slim\Routing\RouteRunner { ... } } } ).../MiddlewareDispatcher.php:121
80.06004295152Slim\Middleware\ErrorMiddleware->handleException( $request = class Slim\Psr7\Request { protected string $protocolVersion = '1.1'; protected $headers = class Slim\Psr7\Headers { protected array $globals = [...]; protected array $headers = [...] }; protected $body = class Slim\Psr7\Stream { protected $stream = resource(167) of type (stream); protected ?array $meta = *uninitialized*; protected ?bool $readable = NULL; protected ?bool $writable = NULL; protected ?bool $seekable = NULL; protected ?int $size = NULL; protected ?bool $isPipe = NULL; protected bool $finished = FALSE; protected ?Psr\Http\Message\StreamInterface $cache = class Slim\Psr7\Stream { ... } }; protected string $method = 'GET'; protected $uri = class Slim\Psr7\Uri { protected string $scheme = 'http'; protected string $user = ''; protected string $password = ''; protected string $host = 'valid.companee.it'; protected ?int $port = 80; protected string $path = '/sitemap.xml'; protected string $query = ''; protected string $fragment = '' }; protected $requestTarget = NULL; protected $queryParams = NULL; protected array $cookies = []; protected array $serverParams = ['REDIRECT_HTTP_AUTHORIZATION' => '', 'REDIRECT_STATUS' => '200', 'HTTP_AUTHORIZATION' => '', 'HTTP_HOST' => 'valid.companee.it', 'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)', 'HTTP_ACCEPT' => '*/*', 'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate', 'HTTP_X_FORWARDED_FOR' => '216.73.216.41', 'HTTP_X_FORWARDED_HOST' => 'valid.companee.it', 'HTTP_X_FORWARDED_PORT' => '443', 'HTTP_X_FORWARDED_PROTO' => 'https', 'HTTP_X_FORWARDED_SERVER' => 'd37238f8b161', 'HTTP_X_REAL_IP' => '216.73.216.41', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', 'SERVER_SIGNATURE' => '<address>Apache/2.4.62 (Debian) Server at valid.companee.it Port 80</address>\n', 'SERVER_SOFTWARE' => 'Apache/2.4.62 (Debian)', 'SERVER_NAME' => 'valid.companee.it', 'SERVER_ADDR' => '172.18.0.23', 'SERVER_PORT' => '80', 'REMOTE_ADDR' => '172.18.0.32', 'DOCUMENT_ROOT' => '/var/www/html/public', 'REQUEST_SCHEME' => 'http', 'CONTEXT_PREFIX' => '', 'CONTEXT_DOCUMENT_ROOT' => '/var/www/html/public', 'SERVER_ADMIN' => 'webmaster@localhost', 'SCRIPT_FILENAME' => '/var/www/html/public/index.php', 'REMOTE_PORT' => '55370', 'REDIRECT_URL' => '/sitemap.xml', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => '', 'REQUEST_URI' => '/sitemap.xml', 'SCRIPT_NAME' => '/index.php', 'PHP_SELF' => '/index.php', 'REQUEST_TIME_FLOAT' => 1768357108.3481, 'REQUEST_TIME' => 1768357108, 'argv' => [...], 'argc' => 0]; protected array $attributes = []; protected $parsedBody = NULL; protected array $uploadedFiles = [] }, $exception = class Beest\Exception { protected $message = 'Api token required. Token is Empty'; private string ${Exception}string = ''; protected $code = 401; protected string $file = '/var/www/html/App/controller/traits/auth.php'; protected int $line = 44; private array ${Exception}trace = [0 => [...], 1 => [...], 2 => [...], 3 => [...], 4 => [...], 5 => [...], 6 => [...], 7 => [...], 8 => [...], 9 => [...], 10 => [...], 11 => [...], 12 => [...], 13 => [...], 14 => [...], 15 => [...], 16 => [...], 17 => [...], 18 => [...], 19 => [...]]; private ?Throwable ${Exception}previous = NULL; private $errorDetails = NULL; private $statusCode = 401; public $xdebug_message = '<tr><th align=\'left\' bgcolor=\'#f57900\' colspan="5"><span style=\'background-color: #cc0000; color: #fce94f; font-size: x-large;\'>( ! )</span> Beest\\Exception: Api token required. Token is Empty in /var/www/html/App/controller/traits/auth.php on line <i>44</i></th></tr>\n<tr><th align=\'left\' bgcolor=\'#e9b96e\' colspan=\'5\'>Call Stack</th></tr>\n<tr><th align=\'center\' bgcolor=\'#eeeeec\'>#</th><th align=\'left\' bgcolor=\'#eeeeec\'>Time</th><th align=\'left\' bgcolor=\'#eeeeec\'>Memory</th><th align=\'left\' bgcolor=\'#eeeeec\''... } ).../ErrorMiddleware.php:78
90.06004295912Beest\App->Beest\{closure:/var/www/html/vendor/depalop/beest/src/Beest/App.php:124-182}( $request = class Slim\Psr7\Request { protected string $protocolVersion = '1.1'; protected $headers = class Slim\Psr7\Headers { protected array $globals = [...]; protected array $headers = [...] }; protected $body = class Slim\Psr7\Stream { protected $stream = resource(167) of type (stream); protected ?array $meta = *uninitialized*; protected ?bool $readable = NULL; protected ?bool $writable = NULL; protected ?bool $seekable = NULL; protected ?int $size = NULL; protected ?bool $isPipe = NULL; protected bool $finished = FALSE; protected ?Psr\Http\Message\StreamInterface $cache = class Slim\Psr7\Stream { ... } }; protected string $method = 'GET'; protected $uri = class Slim\Psr7\Uri { protected string $scheme = 'http'; protected string $user = ''; protected string $password = ''; protected string $host = 'valid.companee.it'; protected ?int $port = 80; protected string $path = '/sitemap.xml'; protected string $query = ''; protected string $fragment = '' }; protected $requestTarget = NULL; protected $queryParams = NULL; protected array $cookies = []; protected array $serverParams = ['REDIRECT_HTTP_AUTHORIZATION' => '', 'REDIRECT_STATUS' => '200', 'HTTP_AUTHORIZATION' => '', 'HTTP_HOST' => 'valid.companee.it', 'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)', 'HTTP_ACCEPT' => '*/*', 'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate', 'HTTP_X_FORWARDED_FOR' => '216.73.216.41', 'HTTP_X_FORWARDED_HOST' => 'valid.companee.it', 'HTTP_X_FORWARDED_PORT' => '443', 'HTTP_X_FORWARDED_PROTO' => 'https', 'HTTP_X_FORWARDED_SERVER' => 'd37238f8b161', 'HTTP_X_REAL_IP' => '216.73.216.41', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', 'SERVER_SIGNATURE' => '<address>Apache/2.4.62 (Debian) Server at valid.companee.it Port 80</address>\n', 'SERVER_SOFTWARE' => 'Apache/2.4.62 (Debian)', 'SERVER_NAME' => 'valid.companee.it', 'SERVER_ADDR' => '172.18.0.23', 'SERVER_PORT' => '80', 'REMOTE_ADDR' => '172.18.0.32', 'DOCUMENT_ROOT' => '/var/www/html/public', 'REQUEST_SCHEME' => 'http', 'CONTEXT_PREFIX' => '', 'CONTEXT_DOCUMENT_ROOT' => '/var/www/html/public', 'SERVER_ADMIN' => 'webmaster@localhost', 'SCRIPT_FILENAME' => '/var/www/html/public/index.php', 'REMOTE_PORT' => '55370', 'REDIRECT_URL' => '/sitemap.xml', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => '', 'REQUEST_URI' => '/sitemap.xml', 'SCRIPT_NAME' => '/index.php', 'PHP_SELF' => '/index.php', 'REQUEST_TIME_FLOAT' => 1768357108.3481, 'REQUEST_TIME' => 1768357108, 'argv' => [...], 'argc' => 0]; protected array $attributes = []; protected $parsedBody = NULL; protected array $uploadedFiles = [] }, $e = class Beest\Exception { protected $message = 'Api token required. Token is Empty'; private string ${Exception}string = ''; protected $code = 401; protected string $file = '/var/www/html/App/controller/traits/auth.php'; protected int $line = 44; private array ${Exception}trace = [0 => [...], 1 => [...], 2 => [...], 3 => [...], 4 => [...], 5 => [...], 6 => [...], 7 => [...], 8 => [...], 9 => [...], 10 => [...], 11 => [...], 12 => [...], 13 => [...], 14 => [...], 15 => [...], 16 => [...], 17 => [...], 18 => [...], 19 => [...]]; private ?Throwable ${Exception}previous = NULL; private $errorDetails = NULL; private $statusCode = 401; public $xdebug_message = '<tr><th align=\'left\' bgcolor=\'#f57900\' colspan="5"><span style=\'background-color: #cc0000; color: #fce94f; font-size: x-large;\'>( ! )</span> Beest\\Exception: Api token required. Token is Empty in /var/www/html/App/controller/traits/auth.php on line <i>44</i></th></tr>\n<tr><th align=\'left\' bgcolor=\'#e9b96e\' colspan=\'5\'>Call Stack</th></tr>\n<tr><th align=\'center\' bgcolor=\'#eeeeec\'>#</th><th align=\'left\' bgcolor=\'#eeeeec\'>Time</th><th align=\'left\' bgcolor=\'#eeeeec\'>Memory</th><th align=\'left\' bgcolor=\'#eeeeec\''... }, $displayErrorDetails = TRUE, $logErrors = TRUE, $logErrorDetails = TRUE, $logger = ??? ).../ErrorMiddleware.php:91
100.06004297776Monolog\Logger->error( $message = 'Api token required. Token is Empty', $context = ['file - line' => '/var/www/html/App/controller/traits/auth.php - 44', 'errorCode' => 401, 'request_method' => TRUE, 'request_uri' => TRUE, 'request_params' => [], 'request_files' => [], 'query_string' => TRUE, 'lastError' => NULL] ).../App.php:164
110.06004297776Monolog\Logger->addRecord( $level = 400, $message = 'Api token required. Token is Empty', $context = ['file - line' => '/var/www/html/App/controller/traits/auth.php - 44', 'errorCode' => 401, 'request_method' => TRUE, 'request_uri' => TRUE, 'request_params' => [], 'request_files' => [], 'query_string' => TRUE, 'lastError' => NULL], $datetime = ??? ).../Logger.php:651
120.06104482432Monolog\Logger->handleException( $e = class UnexpectedValueException { protected $message = 'The stream or file "/var/www/html/App/config/../../logs/app.log" could not be opened in append mode: Failed to open stream: Permission denied\nThe exception occurred while attempting to log: Api token required. Token is Empty\nContext: {"file - line":"\\/var\\/www\\/html\\/App\\/controller\\/traits\\/auth.php - 44","errorCode":401,"request_method":true,"request_uri":true,"request_params":[],"request_files":[],"query_string":true,"lastError":null}'; private string ${Exception}string = ''; protected $code = 0; protected string $file = '/var/www/html/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php'; protected int $line = 157; private array ${Exception}trace = [0 => [...], 1 => [...], 2 => [...], 3 => [...], 4 => [...], 5 => [...], 6 => [...], 7 => [...], 8 => [...], 9 => [...], 10 => [...], 11 => [...]]; private ?Throwable ${Exception}previous = NULL; public $xdebug_message = '<tr><th align=\'left\' bgcolor=\'#f57900\' colspan="5"><span style=\'background-color: #cc0000; color: #fce94f; font-size: x-large;\'>( ! )</span> UnexpectedValueException: The stream or file "/var/www/html/App/config/../../logs/app.log" could not be opened in append mode: Failed to open stream: Permission denied\nThe exception occurred while attempting to log: Api token required. Token is Empty\nContext: {"file - line":"\\/var\\/www\\/html\\/App\\/controller\\/traits\\/auth.php - 44","errorCode":401,"request_method":true'... }, $record = ['message' => 'Api token required. Token is Empty', 'context' => ['file - line' => '/var/www/html/App/controller/traits/auth.php - 44', 'errorCode' => 401, 'request_method' => TRUE, 'request_uri' => TRUE, 'request_params' => [...], 'request_files' => [...], 'query_string' => TRUE, 'lastError' => NULL], 'level' => 400, 'level_name' => 'ERROR', 'channel' => 'app', 'datetime' => class Monolog\DateTimeImmutable { private $useMicroseconds = TRUE; public $date = '2026-01-14 03:18:28.408898'; public $timezone_type = 3; public $timezone = 'Europe/Rome' }, 'extra' => []] ).../Logger.php:404