Database Query Fail

SELECT term.id,term.slug,term.title,term.name,term.description,term.image,term.sort,term.active,taxonomy.id AS taxonomy_id FROM term JOIN taxonomy ON taxonomy.term_id = term.id JOIN vocabulary ON vocabulary.id = taxonomy.vocabulary_id WHERE vocabulary.slug = 'category' ORDER BY term.active DESC, term.sort, term.slug

Location: App\Controller\Component\Sitemap->index()