( ! ) Fatal error: Uncaught InvalidArgumentException: First argument to Stream::create() must be a string, resource or StreamInterface. in /var/www/html/corebox/sitobox.it/httpdocs/box/core/Http/Stream.php on line 83
( ! ) InvalidArgumentException: First argument to Stream::create() must be a string, resource or StreamInterface. in /var/www/html/corebox/sitobox.it/httpdocs/box/core/Http/Stream.php on line 83
Call Stack
#TimeMemoryFunctionLocation
10.0001444016{main}( ).../index.php:0
20.0001526648CoreBox\Core\Execution\Execution->__construct( $startTime = 1730643623.6683, $displayPhpError = TRUE, $charset = ???, $docRoot = ??? ).../index.php:14
30.0002528248CoreBox\Core\Execution\Execution->instance( $startTime = 1730643623.6683, $startMem = 528248, $displayPhpError = TRUE, $charset = 'UTF-8', $docRoot = NULL ).../Execution.php:82
40.0046834584CoreBox\Core\Execution\Execution->router( ).../Execution.php:158
50.0053903776CoreBox\Core\Router\Router->__construct( $request = class CoreBox\Core\Http\ServerRequest { private array $attributes = []; private object|array|null $parsedBody = []; private array $cookieParams = []; private array $queryParams = []; private array $paramDecodedList = []; private array $serverParams = ['USER' => 'www-data', 'HOME' => '/var/www', 'PATH_TRANSLATED' => 'redirect:/index.php/file/d64c53e2f744728_96683825/T.147_T.146.webp/d64c53e2f744728_96683825/T.147_T.146.webp', 'PATH_INFO' => '/file/d64c53e2f744728_96683825/T.147_T.146.webp', 'SCRIPT_NAME' => '/index.php', 'REQUEST_URI' => '/file/d64c53e2f744728_96683825/T.147_T.146.webp', 'QUERY_STRING' => '', 'REQUEST_METHOD' => 'GET', 'SERVER_PROTOCOL' => 'HTTP/2.0', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'REDIRECT_URL' => '/file/d64c53e2f744728_96683825/T.147_T.146.webp', 'REMOTE_PORT' => '22803', 'SCRIPT_FILENAME' => '/var/www/html/corebox/sitobox.it/httpdocs/index.php', 'SERVER_ADMIN' => '[no address given]', 'CONTEXT_DOCUMENT_ROOT' => '/var/www/html/corebox/sitobox.it/httpdocs', 'CONTEXT_PREFIX' => '', 'REQUEST_SCHEME' => 'https', 'DOCUMENT_ROOT' => '/var/www/html/corebox/sitobox.it/httpdocs', 'REMOTE_ADDR' => '3.145.44.192', 'SERVER_PORT' => '443', 'SERVER_ADDR' => '192.168.1.105', 'SERVER_NAME' => 'colotti.eu', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_SIGNATURE' => '', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin', 'HTTP_HOST' => 'colotti.eu', 'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate', 'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)', 'HTTP_ACCEPT' => '*/*', 'proxy-nokeepalive' => '1', 'SSL_TLS_SNI' => 'colotti.eu', 'HTTPS' => 'on', 'H2_STREAM_TAG' => '81130-113-3', 'H2_STREAM_ID' => '3', 'H2_PUSHED_ON' => '', 'H2_PUSHED' => '', 'H2_PUSH' => 'off', 'H2PUSH' => 'off', 'HTTP2' => 'on', 'REDIRECT_STATUS' => '200', 'REDIRECT_SSL_TLS_SNI' => 'colotti.eu', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_H2_STREAM_TAG' => '81130-113-3', 'REDIRECT_H2_STREAM_ID' => '3', 'REDIRECT_H2_PUSHED_ON' => '', 'REDIRECT_H2_PUSHED' => '', 'REDIRECT_H2_PUSH' => 'off', 'REDIRECT_H2PUSH' => 'off', 'REDIRECT_HTTP2' => 'on', 'FCGI_ROLE' => 'RESPONDER', 'PHP_SELF' => '/index.php/file/d64c53e2f744728_96683825/T.147_T.146.webp', 'REQUEST_TIME_FLOAT' => 1730643623.668, 'REQUEST_TIME' => 1730643623]; private array $uploadedFiles = []; protected string $lang = ''; private string $module = ''; private string $type = 'html'; private CoreBox\Core\Logger\Logger $logger = *uninitialized*; private $headers = ['Host' => [...], 'Accept-Encoding' => [...], 'User-Agent' => [...], 'Accept' => [...]]; private $headerNames = ['host' => 'Host', 'accept-encoding' => 'Accept-Encoding', 'user-agent' => 'User-Agent', 'accept' => 'Accept']; private $protocol = '2.0'; private $stream = NULL; private $method = 'GET'; private $requestTarget = NULL; private $uri = class CoreBox\Core\Http\Uri { private $scheme = 'https'; private $userInfo = ''; private $host = 'colotti.eu'; private $port = NULL; private $path = '/file/d64c53e2f744728_96683825/T.147_T.146.webp'; private $query = ''; private $fragment = '' } } ).../Execution.php:450
60.01061502264CoreBox\Core\Router\Router->loadCtrl( TRUE ).../Router.php:115
70.01151518280CoreBox\Module\File\Controller\CtrlFile->getById( $idFile = 'd64c53e2f744728_96683825', $transform = NULL ).../Router.php:290
80.01641924336CoreBox\Module\File\Controller\CtrlFile->output( $file = class CoreBox\Module\FileManager\Entity\EntityFile { protected ?CoreBox\Core\Model\MySql\MySqlDescriptor $descriptor = NULL; protected ?CoreBox\Core\Model\MySql\MySqlQuery $query = NULL; public string $idFile = 'd64c53e2f744728_96683825'; public string $name = 'T.147_T.146_0vrs'; public string $extension = 'webp'; public string $pathSystem = '/var/www/html/corebox/core.dev-box.it/httpdocs/app/host/colotti.com/userFile/fileManager/image/T.147_T.146_0vrs.webp'; public string $pathWebPhp = '/file/name/T.147_T.146_0vrs.webp'; public string $pathWebDirect = '/app/host/colotti.com/userFile/fileManager/image/T.147_T.146_0vrs.webp'; public string $mime = 'image/webp'; public int $sizeByte = 49092; public string $sizeHuman = '47.94 kB'; public bool $isReserved = FALSE; public string $idFileTree = 'M64c3e633c389f5_30292244'; public string $createdAt = '2023-07-29 18:28:31'; public ?string $createdBy = 'admin'; public string $modifiedAt = '2023-07-29 18:28:31'; public ?string $modifiedBy = 'admin'; public ?string $deletedAt = NULL; public ?string $deletedBy = NULL }, $transform = NULL ).../CtrlFile.php:76
90.01681938488CoreBox\Core\Response\BoxResponse->emit( $body = FALSE, $headers = ??? ).../CtrlFile.php:58
100.01721972080CoreBox\Core\Http\Response->__construct( $status = 200, $headers = ['Content-Type' => 'image/webp; charset=utf-8'], $body = FALSE, $version = '2.0', $reason = NULL ).../BoxResponse.php:115
110.01782012824CoreBox\Core\Http\Stream::create( $body = FALSE ).../Response.php:107