SELECT ArticleType_ID, ShortName FROM article_types WHERE ArticleType_ID IN (SELECT ArticleType_ID FROM articles_to_types WHERE Article_ID = )
array(6) { [0]=> array(4) { ["file"]=> string(52) "/home/nilsson/public_html/site/includes/articles.php" ["line"]=> int(703) ["function"]=> string(7) "doQuery" ["args"]=> array(1) { [0]=> string(142) "SELECT ArticleType_ID, ShortName FROM article_types WHERE ArticleType_ID IN (SELECT ArticleType_ID FROM articles_to_types WHERE Article_ID = )" } } [1]=> array(7) { ["file"]=> string(52) "/home/nilsson/public_html/site/includes/articles.php" ["line"]=> int(543) ["function"]=> string(15) "getArticleTypes" ["class"]=> string(7) "article" ["object"]=> object(article)#6 (2) { ["error"]=> bool(true) ["subtitle"]=> string(0) "" } ["type"]=> string(2) "->" ["args"]=> array(0) { } } [2]=> array(7) { ["file"]=> string(62) "/home/nilsson/public_html/site/actions/action_displaycover.php" ["line"]=> int(124) ["function"]=> string(8) "getIcons" ["class"]=> string(7) "article" ["object"]=> object(article)#6 (2) { ["error"]=> bool(true) ["subtitle"]=> string(0) "" } ["type"]=> string(2) "->" ["args"]=> array(0) { } } [3]=> array(7) { ["file"]=> string(53) "/home/nilsson/public_html/site/includes/templates.php" ["line"]=> int(196) ["function"]=> string(10) "getContent" ["class"]=> string(19) "action_displaycover" ["object"]=> object(action_displaycover)#5 (6) { ["articleId"]=> int(1340) ["title"]=> NULL ["shorttitle"]=> NULL ["artist"]=> NULL ["redirect"]=> string(0) "" ["canonical"]=> string(73) "https://nilssonschmilsson.com/this-could-be-the-night-21052722129459.html" } ["type"]=> string(2) "->" ["args"]=> array(0) { } } [4]=> array(4) { ["file"]=> string(53) "/home/nilsson/public_html/site/includes/templates.php" ["line"]=> int(25) ["function"]=> string(11) "getTemplate" ["args"]=> array(1) { [0]=> string(7) "default" } } [5]=> array(4) { ["file"]=> string(40) "/home/nilsson/public_html/site/index.php" ["line"]=> int(141) ["function"]=> string(7) "getPage" ["args"]=> array(0) { } } }1064: 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 ')' at line 1 displaycover -