ALERTA - Este erro não irá aparecer em produção.

Alertas não aparecem em produção mas devem ser corrigidos para evitar que o sistema se comporte de maneira não esperada.

ALERTA DE ERRO

/src/Html/Arquivo/imagem.php

*0

imageavif(): avif error - Could not encode image: No codec available

Linha: 85

Pilha de restreio:

Arquivos da pilha
  • /src/Html/Arquivo/imagem.php

    imageavif()

    Linha: 85

  • /src/Html/Arquivo/imagem.php

    gerarImagemAvif()

    Linha: 16

  • /src/Html/Arquivo/privado.php

    include()

    Linha: 56

  • /src/Public/index.php

    require_once()

    Linha: 100

  • /public/index.php

    require_once()

    Linha: 3

imageavif ()

/src/Html/Arquivo/imagem.php

77

[...]

79

80

header('Content-Type: image/avif');

81

header('Expires: ' . gmdate('D, d M Y H:i:s', time() + 86400) . ' GMT');

82

header('Cache-Control: max-age=86400');

83

header('Pragma: cache');

84

85

imageavif($imagemNova, quality: 90, speed: 8);

86

87

imagedestroy($imagem);

88

imagedestroy($imagemNova);

89

exit();

90

} catch (\Throwable) {

91

return '';

92

}

93

}

94

[...]

gerarImagemAvif ()

/src/Html/Arquivo/imagem.php

8

[...]

10

11

if (!$download && $eImagem && !empty($width) && !empty($height) && array_key_exists('whc', $_GET)) {

12

gerarImagemRedirecionada($path, $mimeType, $width, $height, true);

13

} elseif (!$download && $eImagem && !empty($width) && !empty($height) && array_key_exists('wh', $_GET)) {

14

gerarImagemRedirecionada($path, $mimeType, $width, $height);

15

} elseif (!$download && $eImagem && $mimeType != 'image/avif') {

16

gerarImagemAvif($path, $mimeType);

17

}

18

19

function pegarTipoImagem($path, $mimeType)

20

{

21

if (in_array($mimeType, ['image/jpeg', 'image/jpg'])) {

22

return imagecreatefromjpeg($path);

23

} elseif ($mimeType == 'image/png') {

24

return imagecreatefrompng($path);

25

[...]

include ()

/src/Html/Arquivo/privado.php

48

[...]

50

mensagemStatus(401, localhost: 'Esse arquivo é privado.');

51

}

52

53

$path = DIRETORIO_PRIVADO . '/' . $Grupo->diretorio . '/' . $Arquivo->arquivo;

54

require_once 'validar_path.php';

55

56

include 'imagem.php';

57

58

if (!$download) {

59

$Response = new Response(arquivo: $path);

60

$Response->render();

61

exit();

62

} elseif ($download) {

63

$Response = new Response(download: $path);

64

$Response->render();

65

[...]

require_once ()

/src/Public/index.php

92

[...]

94

require_once __DIR__ . '/../Html/RandomEncode/index.php';

95

exit();

96

} elseif ($diretorioStatus === true && str_starts_with($requestUri, 'aqioulc.') && METODO == 'GET') {

97

require_once __DIR__ . '/../Html/Arquivo/publico.php';

98

exit();

99

} elseif ($diretorioStatus === true && str_starts_with($requestUri, 'aqiorvd.') && METODO == 'GET') {

100

require_once __DIR__ . '/../Html/Arquivo/privado.php';

101

exit();

102

} elseif ($diretorioStatus === true && str_starts_with($requestUri, 'aqiornm.') && METODO == 'GET') {

103

require_once __DIR__ . '/../Html/Arquivo/nome.php';

104

exit();

105

} elseif ($requestUri == 'fw-erro-status' && METODO == 'POST') {

106

require_once __DIR__ . '/../Html/Erro/projeto.php';

107

exit();

108

}

109

[...]

require_once ()

/public/index.php

1

<?php

2

3

require_once __DIR__ . '/../src/Public/index.php';

4

Informações gerais

Requisição

GET:
Array
(
)
POST:
Array
(
)
PUT:
Array
(
)
FILES:
Array
(
)
Método:

GET

Protocolo:

Erro ao pegar protocolo

URL:

apiv4hml.youhuul.com

URI:

/aqiorvd.d1fFpM8aWE2pqVBWezc3LEEm4nwAVno6vzOYpLfPjuEJuQCYdJHG0Xl-diQHv-tW

Porta:

80

Header

x-forwarded-for:

216.73.216.65

accept-encoding:

gzip, br

user-agent:

Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)

accept:

*/*

cf-ray:

a51e6682fcdc6c66-DFW

cdn-loop:

cloudflare; loops=1

CF-Connecting-IP:

216.73.216.65

CF-IPCountry:

US

CF-Visitor:

{"scheme":"https"}

X-Forwarded-Proto:

https

Connection:

Keep-Alive

Host:

apiv4hml.youhuul.com

SERVER

REDIRECT_STATUS:

200

HTTP_X_FORWARDED_FOR:

216.73.216.65

HTTP_ACCEPT_ENCODING:

gzip, br

HTTP_USER_AGENT:

Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)

HTTP_ACCEPT:

*/*

HTTP_CF_RAY:

a51e6682fcdc6c66-DFW

HTTP_CDN_LOOP:

cloudflare; loops=1

HTTP_CF_CONNECTING_IP:

216.73.216.65

HTTP_CF_IPCOUNTRY:

US

HTTP_CF_VISITOR:

{"scheme":"https"}

HTTP_X_FORWARDED_PROTO:

https

HTTP_CONNECTION:

Keep-Alive

HTTP_HOST:

apiv4hml.youhuul.com

PATH:

/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

SERVER_SIGNATURE:

SERVER_SOFTWARE:

Apache

SERVER_NAME:

apiv4hml.youhuul.com

SERVER_ADDR:

137.184.235.197

SERVER_PORT:

80

REMOTE_ADDR:

172.71.167.101

DOCUMENT_ROOT:

/var/www/html/clube_novo/public_html/public

REQUEST_SCHEME:

http

CONTEXT_PREFIX:

CONTEXT_DOCUMENT_ROOT:

/var/www/html/clube_novo/public_html/public

SERVER_ADMIN:

[no address given]

SCRIPT_FILENAME:

/var/www/html/clube_novo/public_html/public/index.php

REMOTE_PORT:

21429

REDIRECT_URL:

/aqiorvd.d1fFpM8aWE2pqVBWezc3LEEm4nwAVno6vzOYpLfPjuEJuQCYdJHG0Xl-diQHv-tW

REDIRECT_QUERY_STRING:

c=121

GATEWAY_INTERFACE:

CGI/1.1

SERVER_PROTOCOL:

HTTP/1.1

REQUEST_METHOD:

GET

QUERY_STRING:

c=121

REQUEST_URI:

/aqiorvd.d1fFpM8aWE2pqVBWezc3LEEm4nwAVno6vzOYpLfPjuEJuQCYdJHG0Xl-diQHv-tW?c=121

SCRIPT_NAME:

/index.php

PHP_SELF:

/index.php

REQUEST_TIME_FLOAT:

1793237274.2223

REQUEST_TIME:

1793237274