It is probably due to using the visual editor. I’ve only used shortcodes with the HTML editor.
I was able to work around it by modifying the plugin’s sitemap-core.php file, changing the SetUrl function to:
/**
* Sets the URL of the page
*
* @param string $url The new URL
*/
function SetUrl($url) {
$temp_url=(string) $url;
if(substr($temp_url,0,7)!="http://") $temp_url="http://www.example.com" . $temp_url;
$this->_url=$temp_url;
}
Try searching your theme directory for “cat_id, cat_name” to find places where this database call is getting made, and commenting them out. I just ran into this on an old blog with an old theme, and it was hiding in the sidebar.php file.