Warning: Trying to access array offset on value of type bool in /home/sayd/public_html/includes/templates/header.php on line 43

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 'LIMIT 1' at line 1 in /home/sayd/public_html/includes/templates/header.php:47 Stack trace: #0 /home/sayd/public_html/includes/templates/header.php(47): PDOStatement->execute() #1 /home/sayd/public_html/book.php(3): include('...') #2 {main} thrown in /home/sayd/public_html/includes/templates/header.php on line 47