Warning (2): Undefined array key "noticias" [APP/Controller/PostsController.php, line 52]
Warning (2): Attempt to read property "imagem" on null [APP/Controller/PostsController.php, line 87]
Notice (8): getimagesize() [<a href='https://secure.php.net/function.getimagesize'>function.getimagesize</a>]: Read of 8192 bytes failed with errno=21 Is a directory [APP/Controller/PostsController.php, line 87]
Notice (8): getimagesize() [<a href='https://secure.php.net/function.getimagesize'>function.getimagesize</a>]: Error reading from /home/storage/5/33/6f/greenlike1/public_html/webroot/content/categories/! [APP/Controller/PostsController.php, line 87]
Warning (2): Attempt to read property "categorias_idiomas" on null [APP/Controller/PostsController.php, line 91]
Warning (2): Trying to access array offset on value of type null [APP/Controller/PostsController.php, line 91]
Warning (2): Attempt to read property "titulo_pagina" on null [APP/Controller/PostsController.php, line 91]
Warning (2): Attempt to read property "categorias_idiomas" on null [APP/Controller/PostsController.php, line 92]
Warning (2): Trying to access array offset on value of type null [APP/Controller/PostsController.php, line 92]
Warning (2): Attempt to read property "descricao_pagina" on null [APP/Controller/PostsController.php, line 92]
Warning (2): Attempt to read property "categorias_idiomas" on null [APP/Controller/PostsController.php, line 93]
Warning (2): Trying to access array offset on value of type null [APP/Controller/PostsController.php, line 93]
Warning (2): Attempt to read property "titulo_compartilhamento" on null [APP/Controller/PostsController.php, line 93]
Warning (2): Attempt to read property "categorias_idiomas" on null [APP/Controller/PostsController.php, line 94]
Warning (2): Trying to access array offset on value of type null [APP/Controller/PostsController.php, line 94]
Warning (2): Attempt to read property "descricao_compartilhamento" on null [APP/Controller/PostsController.php, line 94]
Warning (512): Unable to emit headers. Headers sent in file=/home/storage/5/33/6f/greenlike1/public_html/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 /home/storage/5/33/6f/greenlike1/public_html/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 /home/storage/5/33/6f/greenlike1/public_html/vendor/cakephp/cakephp/src/Error/Debugger.php:970) [CORE/src/Http/ResponseEmitter.php, line 197]
Error: image_type_to_mime_type(): Argument #1 ($image_type) must be of type int, null given

image_type_to_mime_type(): Argument #1 ($image_type) must be of type int, null given 📋

TypeError
Toggle Vendor Stack Frames
                'tituloCompartilhamento' => $categoria->categorias_idiomas[0]->titulo_compartilhamento,
                'descricaoCompartilhamento' => $categoria->categorias_idiomas[0]->descricao_compartilhamento,
                'imagem' => [
                    'endereco' => '/content/categories/' $categoria->imagem,
                    'tipo' => image_type_to_mime_type($type),
                    'largura' => $width,
                    'altura' => $height,
                ]
            ],
Error in: ROOT/src/Controller/PostsController.php, line 97

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