In the xmlsitemap_taxonomy_xmlsitemap_index_links() function, there is a database query that still tries to join to the taxonomy_vocabulary table, but that table has been removed from Backdrop. Vocabulary info is now stored in config.
Line 66:
$tids = db_query_range("SELECT t.tid FROM {taxonomy_term_data} t INNER JOIN {taxonomy_vocabulary} tv USING (vocabulary) LEFT JOIN {xmlsitemap} x ON x.type = 'taxonomy_term' AND t.tid = x.id WHERE x.id IS NULL AND tv.machine_name IN (:bundles) ORDER BY t.tid DESC", 0, $limit, array(':bundles' => $bundles))->fetchCol();
should maybe be something more like this?
$tids = db_query_range("SELECT t.tid
FROM {taxonomy_term_data} t
LEFT JOIN {xmlsitemap} x ON x.type = 'taxonomy_term' AND t.tid = x.id
WHERE x.id IS NULL
AND t.vocabulary IN (:bundles)
ORDER BY t.tid
DESC", 0, $limit, array(':bundles' => $bundles))->fetchCol();
In the
xmlsitemap_taxonomy_xmlsitemap_index_links()
function, there is a database query that still tries to join to thetaxonomy_vocabulary
table, but that table has been removed from Backdrop. Vocabulary info is now stored in config.Line 66:
should maybe be something more like this?