Notice: Undefined index: company_padre in C:\xampp-7.3\htdocs\CIUDADHIVE_AMAZON\CIUDADHIVE\objects\customer.php on line 400

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 'AND customer_id = 18971483' at line 1 in C:\xampp-7.3\htdocs\CIUDADHIVE_AMAZON\CIUDADHIVE\objects\customer.php:403 Stack trace: #0 C:\xampp-7.3\htdocs\CIUDADHIVE_AMAZON\CIUDADHIVE\objects\customer.php(403): PDOStatement->execute() #1 C:\xampp-7.3\htdocs\CIUDADHIVE_AMAZON\CIUDADHIVE\i-start.php(153): Customer->existeCustomerid() #2 C:\xampp-7.3\htdocs\CIUDADHIVE_AMAZON\CIUDADHIVE\verProducto.php(9): include_once('C:\\xampp-7.3\\ht...') #3 {main} thrown in C:\xampp-7.3\htdocs\CIUDADHIVE_AMAZON\CIUDADHIVE\objects\customer.php on line 403