Deprecated (8192) : Return type of cURL\RequestsQueue::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice [in /var/www/mapa.conflictosmineros.net/ocmal_db-v2/vendor/stil/curl-easy/src/RequestsQueue.php, line 143]
Warning (512) : Unable to emit headers. Headers sent in file=/var/www/mapa.conflictosmineros.net/ocmal_db-v2/vendor/cakephp/cakephp/src/Error/Renderer/HtmlErrorRenderer.php line=37 [in /var/www/mapa.conflictosmineros.net/ocmal_db-v2/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 71]
Warning (2) : Cannot modify header information - headers already sent by (output started at /var/www/mapa.conflictosmineros.net/ocmal_db-v2/vendor/cakephp/cakephp/src/Error/Renderer/HtmlErrorRenderer.php:37) [in /var/www/mapa.conflictosmineros.net/ocmal_db-v2/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 164]
Warning (2) : Cannot modify header information - headers already sent by (output started at /var/www/mapa.conflictosmineros.net/ocmal_db-v2/vendor/cakephp/cakephp/src/Error/Renderer/HtmlErrorRenderer.php:37) [in /var/www/mapa.conflictosmineros.net/ocmal_db-v2/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 197]
Error: Object of class cURL\Response could not be converted to string

Object of class cURL\Response could not be converted to string 📋

Error
Error in: ROOT/src/Controller/PagesController.php, line 231
APP/Controller/PagesController.php at line 231 (edit)
        {
            try {
                $xml = @Xml::toArray(@Xml::build($response->getContent()));
            } catch (\Cake\Utility\Exception\XmlException $e) {
                Log::debug('Invalid XML error in response: '.$response);
                return;
            }
            $rssChannel=$xml['rss']['channel'];
            if (!empty($rssChannel) && $rssChannel['title']=='OCMAL')

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