Notice: Trying to access array offset on value of type bool in /var/www/lmadvocacia.com.br/public_html/app/pagelet/blog_read.pagelet.php on line 23

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 active=1 ORDER BY id DESC' at line 1 in /var/www/lmadvocacia.com.br/public_html/admin/conn.php:70 Stack trace: #0 /var/www/lmadvocacia.com.br/public_html/admin/conn.php(70): PDO->query() #1 /var/www/lmadvocacia.com.br/public_html/app/pagelet/blog_read.pagelet.php(23): DB::__callStatic() #2 /var/www/lmadvocacia.com.br/public_html/index.php(124): include_once('/var/www/lmadvo...') #3 {main} thrown in /var/www/lmadvocacia.com.br/public_html/admin/conn.php on line 70