Warning: Undefined array key "id" in /home/mohsalah/public_html/flutter.ecommerce/functions.php on line 11

Deprecated: strip_tags(): Passing null to parameter #1 ($string) of type string is deprecated in /home/mohsalah/public_html/flutter.ecommerce/functions.php on line 11

Warning: Undefined array key "id" in /home/mohsalah/public_html/flutter.ecommerce/functions.php on line 11

Deprecated: strip_tags(): Passing null to parameter #1 ($string) of type string is deprecated in /home/mohsalah/public_html/flutter.ecommerce/functions.php on line 11

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 MySQL server version for the right syntax to use near 'WHERE categories_id = UNION ALL SELECT * , 0 as favorite FROM itemsview WHER' at line 3 in /home/mohsalah/public_html/flutter.ecommerce/items/items.php:18 Stack trace: #0 /home/mohsalah/public_html/flutter.ecommerce/items/items.php(18): PDOStatement->execute() #1 {main} thrown in /home/mohsalah/public_html/flutter.ecommerce/items/items.php on line 18