SQL Error

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 '?' at line 1 select * from page where is_active and friendly_url = ? /var/www/html/birdjam.com/public_html/index.php at line 71


Fatal error: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, bool given in /var/www/html/birdjam.com/public_html/index.php:74 Stack trace: #0 {main} thrown in /var/www/html/birdjam.com/public_html/index.php on line 74