Fatal error: Uncaught PDOException: SQLSTATE[23000]: Integrity constraint violation: 1452 Cannot add or update a child row: a foreign key constraint fails (`siglers_live`.`company_advanced_customer_entity`, CONSTRAINT `COMPANY_ADVANCED_CSTR_ENTT_CSTR_ID_CSTR_ENTT_ENTT_ID` FOREIGN KEY (`customer_id`) REFERENCES `customer_entity` (`entity_id`) ON D) in /var/vdomain/siglers.com/htdocs/vendor/magento/framework/DB/Statement/Pdo/Mysql.php:90
Stack trace:
#0 /var/vdomain/siglers.com/htdocs/vendor/magento/framework/DB/Statement/Pdo/Mysql.php(90): PDOStatement->execute()
#1 /var/vdomain/siglers.com/htdocs/vendor/magento/framework/DB/Statement/Pdo/Mysql.php(106): Magento\Framework\DB\Statement\Pdo\Mysql->Magento\Framework\DB\Statement\Pdo\{closure}()
#2 /var/vdomain/siglers.com/htdocs/vendor/magento/framework/DB/Statement/Pdo/Mysql.php(89): Magento\Framework\DB\Statement\Pdo\Mysql->tryExecute()
#3 /var/vdomain/siglers.com/htdocs/vendor/magento/zend-db/library/Zend/Db/Statement.php(313): Magento\Framework\DB\Statement\Pdo\Mysql->_execute()
#4 /var/vdomain/siglers.com/htdocs/vendor/magento/zend-db/library/Zend/Db/Adapter/Abstract.php(480): Zend_Db_Statement->execute()
#5 /var/vdomain/siglers.com/htdocs/vendor/magento/zend-db/library/Zend/Db/Adapter/Pdo/Abstract.php(242): Zend_Db_Adapter_Abstract->query()
#6 /var/vdomain/siglers.com/htdocs/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(564): Zend_Db_Adapter_Pdo_Abstract->query()
#7 /var/vdomain/siglers.com/htdocs/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(634): Magento\Framework\DB\Adapter\Pdo\Mysql->_query()
#8 /var/vdomain/siglers.com/htdocs/pub/media/customer-assignment/index.php(36): Magento\Framework\DB\Adapter\Pdo\Mysql->query()
#9 {main}
Next Zend_Db_Statement_Exception: SQLSTATE[23000]: Integrity constraint violation: 1452 Cannot add or update a child row: a foreign key constraint fails (`siglers_live`.`company_advanced_customer_entity`, CONSTRAINT `COMPANY_ADVANCED_CSTR_ENTT_CSTR_ID_CSTR_ENTT_ENTT_ID` FOREIGN KEY (`customer_id`) REFERENCES `customer_entity` (`entity_id`) ON D), query was: Insert Into company_advanced_customer_entity (customer_id, company_id, job_title, status, telephone) Values (68,27,'LoadTest68',1, '0123456789') in /var/vdomain/siglers.com/htdocs/vendor/magento/framework/DB/Statement/Pdo/Mysql.php:109
Stack trace:
#0 /var/vdomain/siglers.com/htdocs/vendor/magento/framework/DB/Statement/Pdo/Mysql.php(89): Magento\Framework\DB\Statement\Pdo\Mysql->tryExecute()
#1 /var/vdomain/siglers.com/htdocs/vendor/magento/zend-db/library/Zend/Db/Statement.php(313): Magento\Framework\DB\Statement\Pdo\Mysql->_execute()
#2 /var/vdomain/siglers.com/htdocs/vendor/magento/zend-db/library/Zend/Db/Adapter/Abstract.php(480): Zend_Db_Statement->execute()
#3 /var/vdomain/siglers.com/htdocs/vendor/magento/zend-db/library/Zend/Db/Adapter/Pdo/Abstract.php(242): Zend_Db_Adapter_Abstract->query()
#4 /var/vdomain/siglers.com/htdocs/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(564): Zend_Db_Adapter_Pdo_Abstract->query()
#5 /var/vdomain/siglers.com/htdocs/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(634): Magento\Framework\DB\Adapter\Pdo\Mysql->_query()
#6 /var/vdomain/siglers.com/htdocs/pub/media/customer-assignment/index.php(36): Magento\Framework\DB\Adapter\Pdo\Mysql->query()
#7 {main}
thrown in /var/vdomain/siglers.com/htdocs/vendor/magento/framework/DB/Statement/Pdo/Mysql.php on line 109