Notice: Trying to access array offset on value of type bool in /home/comixgroup/public_html/portfolio-project.php on line 26

Fatal error: Uncaught PDOException: SQLSTATE[42000]: Syntax error or access violation: 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 'AND id IN (SELECT project_id FROM project_portfolio_section WHERE portfolio_s...' at line 1 in /home/comixgroup/public_html/portfolio-project.php:62 Stack trace: #0 /home/comixgroup/public_html/portfolio-project.php(62): PDOStatement->execute() #1 {main} thrown in /home/comixgroup/public_html/portfolio-project.php on line 62