Warning: Attempt to read property "product_id" on bool in /home/nrsol/public_html/App/WebRoute.php on line 422
Warning: Attempt to read property "manufacturer_id" on bool in /home/nrsol/public_html/App/WebRoute.php on line 422
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 Product.manufacturer_id =' at line 1 in /home/nrsol/public_html/App/Database/DbConnection.php:85
Stack trace:
#0 /home/nrsol/public_html/App/Database/DbConnection.php(85): PDO->query('SELECT Product....')
#1 /home/nrsol/public_html/App/Models/Product.php(117): Database\DbConnection::query('SELECT Product....', true)
#2 /home/nrsol/public_html/App/WebRoute.php(422): Models\Product::FindOne(Array)
#3 /home/nrsol/public_html/App/Core/Route.php(81): {closure}('2-pouces', '16x25x2', '16x25x2-maxi-12...')
#4 /home/nrsol/public_html/App/WebRoute.php(434): Core\Route::Get(Array, Object(Closure))
#5 /home/nrsol/public_html/public/index.php(48): include('/home/nrsol/pub...')
#6 {main}
thrown in /home/nrsol/public_html/App/Database/DbConnection.php on line 85