SELECT tg_tag, COUNT(*) as frequency FROM `tag_item` ti INNER JOIN `tag` t ON ti.tagid = t.tagid WHERE CONCAT(ti.plugin, ti.itemid) IN (SELECT CONCAT(plugin, itemid) FROM `tag_item` ti INNER JOIN `tag` t ON ti.tagid = t.tagid WHERE t.tg_tag IN ("hotep\","\"") GROUP BY CONCAT( plugin, itemid ) HAVING COUNT(DISTINCT ti.tagid) = 2 ) AND t.tg_tag NOT IN ("hotep\","\"") GROUP BY tg_tag; 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 '\"") GROUP BY CONCAT( plugin, itemid ) ' at line 9array(6) { [0]=> array(6) { ["file"]=> string(51) "/mnt/xvol/www/jojo4/plugins/jojo_tags/jojo_tags.php" ["line"]=> int(433) ["function"]=> string(11) "selectQuery" ["class"]=> string(4) "Jojo" ["type"]=> string(2) "::" ["args"]=> array(1) { [0]=> &string(701) "SELECT tg_tag, COUNT(*) as frequency FROM {tag_item} ti INNER JOIN {tag} t ON ti.tagid = t.tagid WHERE CONCAT(ti.plugin, ti.itemid) IN (SELECT CONCAT(plugin, itemid) FROM {tag_item} ti INNER JOIN {tag} t ON ti.tagid = t.tagid WHERE t.tg_tag IN ("hotep\","\"") GROUP BY CONCAT( plugin, itemid ) HAVING COUNT(DISTINCT ti.tagid) = 2 ) AND t.tg_tag NOT IN ("hotep\","\"") GROUP BY tg_tag;" } } [1]=> array(6) { ["file"]=> string(51) "/mnt/xvol/www/jojo4/plugins/jojo_tags/jojo_tags.php" ["line"]=> int(518) ["function"]=> string(11) "getTagCloud" ["class"]=> string(21) "Jojo_Plugin_Jojo_Tags" ["type"]=> string(2) "::" ["args"]=> array(1) { [0]=> &string(9) ""hotep\""" } } [2]=> array(4) { ["function"]=> string(14) "tagcloudfilter" ["class"]=> string(21) "Jojo_Plugin_Jojo_Tags" ["type"]=> string(2) "::" ["args"]=> array(1) { [0]=> &string(97616) " hotep" | Elsewhere by Graham Reid

hotep"

hotep" on Elsewhere by Graham Reid - Browse our selection of content tagged 'hotep"'.

Elvis Wade: Professional Lovemaker (1977)

Elvis Wade: Professional Lovemaker (1977)

In an alternate lifetime, singer Wade Cummings could have been Elvis Presley, the man he resembled and came to impersonate. He was born into a poor but musical family in rural Tennessee (his dad a moonshiner) and he was the youngest of nine children. That's the kind of almost mythical backstory we like in our rock stars. As a kid he saw...

Tags related to hotep"

[[tagcloud:"hotep\""]]
" } } [3]=> array(4) { ["file"]=> string(54) "/mnt/xvol/www/jojo4/plugins/jojo_core/classes/Jojo.php" ["line"]=> int(1741) ["function"]=> string(20) "call_user_func_array" ["args"]=> array(2) { [0]=> &array(2) { [0]=> string(21) "Jojo_Plugin_jojo_tags" [1]=> string(14) "tagcloudfilter" } [1]=> &array(1) { [0]=> string(97616) " hotep" | Elsewhere by Graham Reid

hotep"

hotep" on Elsewhere by Graham Reid - Browse our selection of content tagged 'hotep"'.

Elvis Wade: Professional Lovemaker (1977)

Elvis Wade: Professional Lovemaker (1977)

In an alternate lifetime, singer Wade Cummings could have been Elvis Presley, the man he resembled and came to impersonate. He was born into a poor but musical family in rural Tennessee (his dad a moonshiner) and he was the youngest of nine children. That's the kind of almost mythical backstory we like in our rock stars. As a kid he saw...

Tags related to hotep"

[[tagcloud:"hotep\""]]
" } } } [4]=> array(6) { ["file"]=> string(37) "/mnt/xvol/www/jojo4/includes/jojo.php" ["line"]=> int(619) ["function"]=> string(11) "applyFilter" ["class"]=> string(4) "Jojo" ["type"]=> string(2) "::" ["args"]=> array(2) { [0]=> &string(6) "output" [1]=> &string(83549) " hotep" | Elsewhere by Graham Reid

hotep"

hotep" on Elsewhere by Graham Reid - Browse our selection of content tagged 'hotep"'.

Elvis Wade: Professional Lovemaker (1977)

Elvis Wade: Professional Lovemaker (1977)

In an alternate lifetime, singer Wade Cummings could have been Elvis Presley, the man he resembled and came to impersonate. He was born into a poor but musical family in rural Tennessee (his dad a moonshiner) and he was the youngest of nine children. That's the kind of almost mythical backstory we like in our rock stars. As a kid he saw...

Tags related to hotep"

[[tagcloud:"hotep\""]]
" } } [5]=> array(4) { ["file"]=> string(37) "/mnt/xvol/www/elsewhere/www/index.php" ["line"]=> int(36) ["args"]=> array(1) { [0]=> string(37) "/mnt/xvol/www/jojo4/includes/jojo.php" } ["function"]=> string(12) "require_once" } }