Warning (2): getimagesize(/var/www/vhosts/arcari.com.br/Site_2022/webroot/content/blog/d/81f8097f499c818a1a978922dc33fe73.jfi): failed to open stream: No such file or directory [APP/Controller/BlogController.php, line 155]
Warning (512): Unable to emit headers. Headers sent in file=/var/www/vhosts/arcari.com.br/Site_2022/vendor/cakephp/cakephp/src/Error/Debugger.php line=970 [CORE/src/Http/ResponseEmitter.php, line 71]
Warning (2): Cannot modify header information - headers already sent by (output started at /var/www/vhosts/arcari.com.br/Site_2022/vendor/cakephp/cakephp/src/Error/Debugger.php:970) [CORE/src/Http/ResponseEmitter.php, line 168]
Warning (2): Cannot modify header information - headers already sent by (output started at /var/www/vhosts/arcari.com.br/Site_2022/vendor/cakephp/cakephp/src/Error/Debugger.php:970) [CORE/src/Http/ResponseEmitter.php, line 197]
Error: image_type_to_mime_type() expects parameter 1 to be int, null given

image_type_to_mime_type() expects parameter 1 to be int, null given 📋

TypeError
Toggle Vendor Stack Frames
                'tituloCompartilhamento' => $post->titulo_compartilhamento,
                'descricaoCompartilhamento' => $post->descricao_compartilhamento,
                'imagem' => [
                    'endereco' => '/content/blog/d/' $post->imagem,
                    'tipo' => image_type_to_mime_type($type),
                    'largura' => $width,
                    'altura' => $height,
                ]
            ],
Error in: ROOT/src/Controller/BlogController.php, line 172

If you want to customize this error message, create templates/Error/error500.php