[06-Feb-2024 15:09:47 America/New_York] PHP Warning:  Undefined array key "ordersid" in /home/natagnvz/public_html/ecommerce/functions.php on line 13
[06-Feb-2024 15:09:47 America/New_York] PHP Warning:  Undefined array key "usersid" in /home/natagnvz/public_html/ecommerce/functions.php on line 13
[06-Feb-2024 15:09:47 America/New_York] PHP 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 orders_status=0' at line 1 in /home/natagnvz/public_html/ecommerce/functions.php:108
Stack trace:
#0 /home/natagnvz/public_html/ecommerce/functions.php(108): PDOStatement->execute()
#1 /home/natagnvz/public_html/ecommerce/admin/order/approve.php(9): updateData()
#2 {main}
  thrown in /home/natagnvz/public_html/ecommerce/functions.php on line 108
[06-Feb-2024 15:24:22 America/New_York] PHP Warning:  Undefined array key "ordersid" in /home/natagnvz/public_html/ecommerce/functions.php on line 13
[06-Feb-2024 15:24:22 America/New_York] PHP Warning:  Undefined array key "usersid" in /home/natagnvz/public_html/ecommerce/functions.php on line 13
[06-Feb-2024 15:24:22 America/New_York] PHP 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 orders_status=0' at line 1 in /home/natagnvz/public_html/ecommerce/functions.php:108
Stack trace:
#0 /home/natagnvz/public_html/ecommerce/functions.php(108): PDOStatement->execute()
#1 /home/natagnvz/public_html/ecommerce/admin/order/approve.php(9): updateData()
#2 {main}
  thrown in /home/natagnvz/public_html/ecommerce/functions.php on line 108
