Desfrute de receitas e recomendações escolhidas a dedo semanalmente
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 recipe_id != 408 AND recipe_status = 1 ORDER BY RAND() LIMIT 9' at line 1 in /home/i10tec/foofit.com.br/functions.php:459
Stack trace:
#0 /home/i10tec/foofit.com.br/functions.php(459): PDO->query('SELECT recipes....')
#1 /home/i10tec/foofit.com.br/sections/related-recipes.php(3): getRelatedRecipes(Object(PDO), 408, NULL)
#2 /home/i10tec/foofit.com.br/views/single-recipe.view.php(221): require('/home/i10tec/fo...')
#3 /home/i10tec/foofit.com.br/single-recipe.php(40): require('/home/i10tec/fo...')
#4 {main}
thrown in /home/i10tec/foofit.com.br/functions.php on line 459