Google XML Sitemaps
Incompatibility with taxonomy.php? (1 post)

  1. travelvice
    Posted 5 years ago #

    XML Sitemap Generator for WordPress 3.2.4

    I'm getting errors every time build the sitemap. In the debug area, this is repeated many, many times over:

    Notice: Only variable references should be returned by reference in /wp-includes/taxonomy.php on line 1233

    This is the function in question in taxonomy.php:

    function &get_object_term_cache($id, $taxonomy) {
    	global $object_term_cache, $blog_id;
    	if ( isset($object_term_cache[$blog_id][$id][$taxonomy]) )
    		return $object_term_cache[$blog_id][$id][$taxonomy];
    	if ( isset($object_term_cache[$blog_id][$id]) )
    		return array();
    	return false;

    I believe as a result it looks like the category (which is a country name) is being stripped from the sitemap, breaking the links: http://travelogue.travelvice.com/sitemap.xml


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Google XML Sitemaps
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic