WordPress database error: [You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ') AND
t2.taxonomy = 'post_tag' AND p2.post_status = 'publish'
AND p1.ID...' at line 13]
SELECT DISTINCT terms2.term_id as tag_id, terms2.name as tag_name, null as tag_link
FROM
wp_posts as p1
LEFT JOIN wp_term_relationships as r1 ON p1.ID = r1.object_ID
LEFT JOIN wp_term_taxonomy as t1 ON r1.term_taxonomy_id = t1.term_taxonomy_id
LEFT JOIN wp_terms as terms1 ON t1.term_id = terms1.term_id,
wp_posts as p2
LEFT JOIN wp_term_relationships as r2 ON p2.ID = r2.object_ID
LEFT JOIN wp_term_taxonomy as t2 ON r2.term_taxonomy_id = t2.term_taxonomy_id
LEFT JOIN wp_terms as terms2 ON t2.term_id = terms2.term_id
WHERE
t1.taxonomy = 'category' AND p1.post_status = 'publish' AND terms1.term_id IN () AND
t2.taxonomy = 'post_tag' AND p2.post_status = 'publish'
AND p1.ID = p2.ID
ORDER by tag_name
The Homeless Hub
The Homeless Hub: The Canadian Observatory on Homelessness (COH) is a non-partisan research and policy partnership between academics, policy and decision makers, service providers and people with lived experience of homelessness. We work in collaboration with partners to conduct and mobilize research designed to have an impact on solutions to homelessness.
As one of the largest homelessness-dedicated research institutes in the world, we support service providers, policy makers, and governments to improve their capacity to end homelessness. Our philosophy is simple: through research, evaluation and design, we can develop evidence-based solutions and together, solve homelessness.
The Canadian Observatory on Homelessness/Homeless Hub, 6th Floor Kaneff Tower, York University, 4700 Keele St., Toronto, ON M3J 1P3, 416-736-2100 x30208, https://www.homelesshub.ca/