Warning: Attempt to read property "id" on array in /home/corladarequipa/public_html/src/Views/postview.php on line 3

Warning: Attempt to read property "categoria" on array in /home/corladarequipa/public_html/src/Views/postview.php on line 3

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 categoria =' at line 1 in /home/corladarequipa/public_html/classes/DB.php:40 Stack trace: #0 /home/corladarequipa/public_html/classes/DB.php(40): PDOStatement->execute() #1 /home/corladarequipa/public_html/classes/Corlad.php(50): DB->query() #2 /home/corladarequipa/public_html/src/Views/postview.php(3): Corlad->comentarios() #3 /home/corladarequipa/public_html/index.php(10): include('...') #4 {main} thrown in /home/corladarequipa/public_html/classes/DB.php on line 40