PHP Catchable fatal error when access first time /sitemap-index.xml
After configure sitemaps options. When try to access the /sitemap-index.xml I've got a PHP Catchable Fatal Error, My WP version is wordpress-3.5.2-es_ES
Attach stack trace of catchable error.
errno: 4096 errstr: Object of class stdClass could not be converted to string errfile: /home/web/WwwRoot/wp.in.psiquiatria.com/wp-includes/taxonomy.php errline: 752 #0 myErrorHandler(4096, Object of class stdClass could not be converted to string, /home/web/WwwRoot/wp.in.psiquiatria.com/wp-includes/taxonomy.php, 752, Array ([query] => Array ([taxonomy] => post_tag,[terms] => Array ([0] => stdClass Object ([term_id] => 708,[name] => Noticia,[slug] => noticia,[term_group] => 0,[term_taxonomy_id] => 709,[taxonomy] => post_tag,[description] => ,[parent] => 0,[count] => 20),[1] => stdClass Object ([term_id] => 717,[name] => Artículo,[slug] => articulo,[term_group] => 0,[term_taxonomy_id] => 718,[taxonomy] => post_tag,[description] => ,[parent] => 0,[count] => 8),[2] => stdClass Object ([term_id] => 783,[name] => Revista Neuropsicología,[slug] => revista-neuropsicologia,[term_group] => 0,[term_taxonomy_id] => 784,[taxonomy] => post_tag,[description] => ,[parent] => 0,[count] => 1),[3] => stdClass Object ([term_id] => 784,[name] => Neuropsiquiatría y Neurociencias,[slug] => neuropsiquiatria-y-neurociencias,[term_group] => 0,[term_taxonomy_id] => 785,[taxonomy] => post_tag,[description] => ,[parent] => 0,[count] => 1),[4] => stdClass Object ([term_id] => 707,[name] => Documento,[slug] => documento,[term_group] => 0,[term_taxonomy_id] => 708,[taxonomy] => post_tag,[description] => ,[parent] => 0,[count] => 1),[5] => stdClass Object ([term_id] => 670,[name] => ansiedad,[slug] => ansiedad-2,[term_group] => 0,[term_taxonomy_id] => 671,[taxonomy] => post_tag,[description] => ,[parent] => 0,[count] => 1),[6] => stdClass Object ([term_id] => 718,[name] => ios,[slug] => ios,[term_group] => 0,[term_taxonomy_id] => 719,[taxonomy] => post_tag,[description] => ,[parent] => 0,[count] => 1),[7] => stdClass Object ([term_id] => 719,[name] => android,[slug] => android,[term_group] => 0,[term_taxonomy_id] => 720,[taxonomy] => post_tag,[description] => ,[parent] => 0,[count] => 1),[8] => stdClass Object ([term_id] => 729,[name] => La Vanguardia,[slug] => la-vanguardia,[term_group] => 0,[term_taxonomy_id] => 730,[taxonomy] => post_tag,[description] => ,[parent] => 0,[count] => 1),[9] => stdClass Object ([term_id] => 730,[name] => JAMA Psychiatry,[slug] => jama-psychiatry,[term_group] => 0,[term_taxonomy_id] => 731,[taxonomy] => post_tag,[description] => ,[parent] => 0,[count] => 1),[10] => stdClass Object ([term_id] => 782,[name] => Psychological Science,[slug] => psychological-science,[term_group] => 0,[term_taxonomy_id] => 783,[taxonomy] => post_tag,[description] => ,[parent] => 0,[count] => 1)),[include_children] => 1,[field] => slug,[operator] => IN))) #1 array_unique(Array ([0] => stdClass Object ([term_id] => 708,[name] => Noticia,[slug] => noticia,[term_group] => 0,[term_taxonomy_id] => 709,[taxonomy] => post_tag,[description] => ,[parent] => 0,[count] => 20),[1] => stdClass Object ([term_id] => 717,[name] => Artículo,[slug] => articulo,[term_group] => 0,[term_taxonomy_id] => 718,[taxonomy] => post_tag,[description] => ,[parent] => 0,[count] => 8),[2] => stdClass Object ([term_id] => 783,[name] => Revista Neuropsicología,[slug] => revista-neuropsicologia,[term_group] => 0,[term_taxonomy_id] => 784,[taxonomy] => post_tag,[description] => ,[parent] => 0,[count] => 1),[3] => stdClass Object ([term_id] => 784,[name] => Neuropsiquiatría y Neurociencias,[slug] => neuropsiquiatria-y-neurociencias,[term_group] => 0,[term_taxonomy_id] => 785,[taxonomy] => post_tag,[description] => ,[parent] => 0,[count] => 1),[4] => stdClass Object ([term_id] => 707,[name] => Documento,[slug] => documento,[term_group] => 0,[term_taxonomy_id] => 708,[taxonomy] => post_tag,[description] => ,[parent] => 0,[count] => 1),[5] => stdClass Object ([term_id] => 670,[name] => ansiedad,[slug] => ansiedad-2,[term_group] => 0,[term_taxonomy_id] => 671,[taxonomy] => post_tag,[description] => ,[parent] => 0,[count] => 1),[6] => stdClass Object ([term_id] => 718,[name] => ios,[slug] => ios,[term_group] => 0,[term_taxonomy_id] => 719,[taxonomy] => post_tag,[description] => ,[parent] => 0,[count] => 1),[7] => stdClass Object ([term_id] => 719,[name] => android,[slug] => android,[term_group] => 0,[term_taxonomy_id] => 720,[taxonomy] => post_tag,[description] => ,[parent] => 0,[count] => 1),[8] => stdClass Object ([term_id] => 729,[name] => La Vanguardia,[slug] => la-vanguardia,[term_group] => 0,[term_taxonomy_id] => 730,[taxonomy] => post_tag,[description] => ,[parent] => 0,[count] => 1),[9] => stdClass Object ([term_id] => 730,[name] => JAMA Psychiatry,[slug] => jama-psychiatry,[term_group] => 0,[term_taxonomy_id] => 731,[taxonomy] => post_tag,[description] => ,[parent] => 0,[count] => 1),[10] => stdClass Object ([term_id] => 782,[name] => Psychological Science,[slug] => psychological-science,[term_group] => 0,[term_taxonomy_id] => 783,[taxonomy] => post_tag,[description] => ,[parent] => 0,[count] => 1))) called at [/home/web/WwwRoot/wp.in.psiquiatria.com/wp-includes/taxonomy.php:752] #2 WP_Tax_Query->clean_query(Array ([taxonomy] => post_tag,[terms] => Array ([0] => stdClass Object ([term_id] => 708,[name] => Noticia,[slug] => noticia,[term_group] => 0,[term_taxonomy_id] => 709,[taxonomy] => post_tag,[description] => ,[parent] => 0,[count] => 20),[1] => stdClass Object ([term_id] => 717,[name] => Artículo,[slug] => articulo,[term_group] => 0,[term_taxonomy_id] => 718,[taxonomy] => post_tag,[description] => ,[parent] => 0,[count] => 8),[2] => stdClass Object ([term_id] => 783,[name] => Revista Neuropsicología,[slug] => revista-neuropsicologia,[term_group] => 0,[term_taxonomy_id] => 784,[taxonomy] => post_tag,[description] => ,[parent] => 0,[count] => 1),[3] => stdClass Object ([term_id] => 784,[name] => Neuropsiquiatría y Neurociencias,[slug] => neuropsiquiatria-y-neurociencias,[term_group] => 0,[term_taxonomy_id] => 785,[taxonomy] => post_tag,[description] => ,[parent] => 0,[count] => 1),[4] => stdClass Object ([term_id] => 707,[name] => Documento,[slug] => documento,[term_group] => 0,[term_taxonomy_id] => 708,[taxonomy] => post_tag,[description] => ,[parent] => 0,[count] => 1),[5] => stdClass Object ([term_id] => 670,[name] => ansiedad,[slug] => ansiedad-2,[term_group] => 0,[term_taxonomy_id] => 671,[taxonomy] => post_tag,[description] => ,[parent] => 0,[count] => 1),[6] => stdClass Object ([term_id] => 718,[name] => ios,[slug] => ios,[term_group] => 0,[term_taxonomy_id] => 719,[taxonomy] => post_tag,[description] => ,[parent] => 0,[count] => 1),[7] => stdClass Object ([term_id] => 719,[name] => android,[slug] => android,[term_group] => 0,[term_taxonomy_id] => 720,[taxonomy] => post_tag,[description] => ,[parent] => 0,[count] => 1),[8] => stdClass Object ([term_id] => 729,[name] => La Vanguardia,[slug] => la-vanguardia,[term_group] => 0,[term_taxonomy_id] => 730,[taxonomy] => post_tag,[description] => ,[parent] => 0,[count] => 1),[9] => stdClass Object ([term_id] => 730,[name] => JAMA Psychiatry,[slug] => jama-psychiatry,[term_group] => 0,[term_taxonomy_id] => 731,[taxonomy] => post_tag,[description] => ,[parent] => 0,[count] => 1),[10] => stdClass Object ([term_id] => 782,[name] => Psychological Science,[slug] => psychological-science,[term_group] => 0,[term_taxonomy_id] => 783,[taxonomy] => post_tag,[description] => ,[parent] => 0,[count] => 1)),[include_children] => 1,[field] => slug,[operator] => IN)) called at [/home/web/WwwRoot/wp.in.psiquiatria.com/wp-includes/taxonomy.php:670] #3 WP_Tax_Query->get_sql(wp_posts, ID) called at [/home/web/WwwRoot/wp.in.psiquiatria.com/wp-includes/query.php:2215] #4 WP_Query->get_posts() called at [/home/web/WwwRoot/wp.in.psiquiatria.com/wp-includes/query.php:2972] #5 WP_Query->query(Array ([post_type] => Array ([0] => post,[1] => psi_enlace,[2] => psi_novedadvip,[3] => psi_appmovil,[4] => psi_farmaco,[5] => psi_fichainfop,[6] => psi_destacado,[7] => psi_testonline),[tax_query] => Array ([0] => Array ([taxonomy] => post_tag,[field] => slug,[terms] => Array ([0] => stdClass Object ([term_id] => 708,[name] => Noticia,[slug] => noticia,[term_group] => 0,[term_taxonomy_id] => 709,[taxonomy] => post_tag,[description] => ,[parent] => 0,[count] => 20),[1] => stdClass Object ([term_id] => 717,[name] => Artículo,[slug] => articulo,[term_group] => 0,[term_taxonomy_id] => 718,[taxonomy] => post_tag,[description] => ,[parent] => 0,[count] => 8),[2] => stdClass Object ([term_id] => 783,[name] => Revista Neuropsicología,[slug] => revista-neuropsicologia,[term_group] => 0,[term_taxonomy_id] => 784,[taxonomy] => post_tag,[description] => ,[parent] => 0,[count] => 1),[3] => stdClass Object ([term_id] => 784,[name] => Neuropsiquiatría y Neurociencias,[slug] => neuropsiquiatria-y-neurociencias,[term_group] => 0,[term_taxonomy_id] => 785,[taxonomy] => post_tag,[description] => ,[parent] => 0,[count] => 1),[4] => stdClass Object ([term_id] => 707,[name] => Documento,[slug] => documento,[term_group] => 0,[term_taxonomy_id] => 708,[taxonomy] => post_tag,[description] => ,[parent] => 0,[count] => 1),[5] => stdClass Object ([term_id] => 670,[name] => ansiedad,[slug] => ansiedad-2,[term_group] => 0,[term_taxonomy_id] => 671,[taxonomy] => post_tag,[description] => ,[parent] => 0,[count] => 1),[6] => stdClass Object ([term_id] => 718,[name] => ios,[slug] => ios,[term_group] => 0,[term_taxonomy_id] => 719,[taxonomy] => post_tag,[description] => ,[parent] => 0,[count] => 1),[7] => stdClass Object ([term_id] => 719,[name] => android,[slug] => android,[term_group] => 0,[term_taxonomy_id] => 720,[taxonomy] => post_tag,[description] => ,[parent] => 0,[count] => 1),[8] => stdClass Object ([term_id] => 729,[name] => La Vanguardia,[slug] => la-vanguardia,[term_group] => 0,[term_taxonomy_id] => 730,[taxonomy] => post_tag,[description] => ,[parent] => 0,[count] => 1),[9] => stdClass Object ([term_id] => 730,[name] => JAMA Psychiatry,[slug] => jama-psychiatry,[term_group] => 0,[term_taxonomy_id] => 731,[taxonomy] => post_tag,[description] => ,[parent] => 0,[count] => 1),[10] => stdClass Object ([term_id] => 782,[name] => Psychological Science,[slug] => psychological-science,[term_group] => 0,[term_taxonomy_id] => 783,[taxonomy] => post_tag,[description] => ,[parent] => 0,[count] => 1)))),[orderby] => modified,[order] => DESC)) called at [/home/web/WwwRoot/wp.in.psiquiatria.com/wp-includes/query.php:3059] #6 WP_Query->__construct(Array ([post_type] => Array ([0] => post,[1] => psi_enlace,[2] => psi_novedadvip,[3] => psi_appmovil,[4] => psi_farmaco,[5] => psi_fichainfop,[6] => psi_destacado,[7] => psi_testonline),[tax_query] => Array ([0] => Array ([taxonomy] => post_tag,[field] => slug,[terms] => Array ([0] => stdClass Object ([term_id] => 708,[name] => Noticia,[slug] => noticia,[term_group] => 0,[term_taxonomy_id] => 709,[taxonomy] => post_tag,[description] => ,[parent] => 0,[count] => 20),[1] => stdClass Object ([term_id] => 717,[name] => Artículo,[slug] => articulo,[term_group] => 0,[term_taxonomy_id] => 718,[taxonomy] => post_tag,[description] => ,[parent] => 0,[count] => 8),[2] => stdClass Object ([term_id] => 783,[name] => Revista Neuropsicología,[slug] => revista-neuropsicologia,[term_group] => 0,[term_taxonomy_id] => 784,[taxonomy] => post_tag,[description] => ,[parent] => 0,[count] => 1),[3] => stdClass Object ([term_id] => 784,[name] => Neuropsiquiatría y Neurociencias,[slug] => neuropsiquiatria-y-neurociencias,[term_group] => 0,[term_taxonomy_id] => 785,[taxonomy] => post_tag,[description] => ,[parent] => 0,[count] => 1),[4] => stdClass Object ([term_id] => 707,[name] => Documento,[slug] => documento,[term_group] => 0,[term_taxonomy_id] => 708,[taxonomy] => post_tag,[description] => ,[parent] => 0,[count] => 1),[5] => stdClass Object ([term_id] => 670,[name] => ansiedad,[slug] => ansiedad-2,[term_group] => 0,[term_taxonomy_id] => 671,[taxonomy] => post_tag,[description] => ,[parent] => 0,[count] => 1),[6] => stdClass Object ([term_id] => 718,[name] => ios,[slug] => ios,[term_group] => 0,[term_taxonomy_id] => 719,[taxonomy] => post_tag,[description] => ,[parent] => 0,[count] => 1),[7] => stdClass Object ([term_id] => 719,[name] => android,[slug] => android,[term_group] => 0,[term_taxonomy_id] => 720,[taxonomy] => post_tag,[description] => ,[parent] => 0,[count] => 1),[8] => stdClass Object ([term_id] => 729,[name] => La Vanguardia,[slug] => la-vanguardia,[term_group] => 0,[term_taxonomy_id] => 730,[taxonomy] => post_tag,[description] => ,[parent] => 0,[count] => 1),[9] => stdClass Object ([term_id] => 730,[name] => JAMA Psychiatry,[slug] => jama-psychiatry,[term_group] => 0,[term_taxonomy_id] => 731,[taxonomy] => post_tag,[description] => ,[parent] => 0,[count] => 1),[10] => stdClass Object ([term_id] => 782,[name] => Psychological Science,[slug] => psychological-science,[term_group] => 0,[term_taxonomy_id] => 783,[taxonomy] => post_tag,[description] => ,[parent] => 0,[count] => 1)))),[orderby] => modified,[order] => DESC)) called at [/home/web/WwwRoot/wp.in.psiquiatria.com/wp-content/plugins/wordpress-seo/inc/class-sitemaps.php:266] #7 WPSEO_Sitemaps->build_root_map() called at [/home/web/WwwRoot/wp.in.psiquiatria.com/wp-content/plugins/wordpress-seo/inc/class-sitemaps.php:165] #8 WPSEO_Sitemaps->build_sitemap(1) called at [/home/web/WwwRoot/wp.in.psiquiatria.com/wp-content/plugins/wordpress-seo/inc/class-sitemaps.php:143] #9 WPSEO_Sitemaps->redirect() #10 call_user_func_array(Array ([0] => WPSEO_Sitemaps Object ([] =>
Attach copy of sitemap configuration

Closing this issue because it's most likely outdated. Please open a new issue if you're still experiencing the same behavior in the latest version.