An uncaught Exception was encountered

Type: Zend_Db_Statement_Exception

Message: SQLSTATE[23000]: Integrity constraint violation: 1452 Cannot add or update a child row: a foreign key constraint fails (`shoponline_store`.`wishlist`, CONSTRAINT `FK_WISHLIST_CUSTOMER_ID_CUSTOMER_ENTITY_ENTITY_ID` FOREIGN KEY (`customer_id`) REFERENCES `customer_entity` (`entity_id`) ON DELETE CASCADE ON UPDATE), query was: INSERT INTO `wishlist` (`customer_id`, `sharing_code`, `updated_at`) VALUES (?, ?, '2020-01-25 14:16:50')

Filename: /home/shoponline/domains/indexlivingmall.com/public_html/lib/Zend/Db/Statement/Pdo.php

Line Number: 235

Backtrace:

File: /home/shoponline/domains/indexlivingmall.com/public_html/lib/Varien/Db/Statement/Pdo/Mysql.php
Line: 110
Function: _execute

File: /home/shoponline/domains/indexlivingmall.com/public_html/app/code/core/Zend/Db/Statement.php
Line: 291
Function: _execute

File: /home/shoponline/domains/indexlivingmall.com/public_html/lib/Zend/Db/Adapter/Abstract.php
Line: 480
Function: execute

File: /home/shoponline/domains/indexlivingmall.com/public_html/lib/Zend/Db/Adapter/Pdo/Abstract.php
Line: 238
Function: query

File: /home/shoponline/domains/indexlivingmall.com/public_html/lib/Varien/Db/Adapter/Pdo/Mysql.php
Line: 504
Function: query

File: /home/shoponline/domains/indexlivingmall.com/public_html/lib/Zend/Db/Adapter/Abstract.php
Line: 576
Function: query

File: /home/shoponline/domains/indexlivingmall.com/public_html/app/code/core/Mage/Core/Model/Resource/Db/Abstract.php
Line: 453
Function: insert

File: /home/shoponline/domains/indexlivingmall.com/public_html/app/code/core/Mage/Core/Model/Abstract.php
Line: 318
Function: save

File: /home/shoponline/domains/indexlivingmall.com/public_html/app/code/core/Mage/Wishlist/Model/Wishlist.php
Line: 616
Function: save

File: /home/shoponline/domains/indexlivingmall.com/public_html/app/code/core/Mage/Wishlist/Model/Wishlist.php
Line: 107
Function: save

File: /home/shoponline/domains/indexlivingmall.com/public_html/active/application/controllers/Customer.php
Line: 766
Function: loadByCustomer

File: /home/shoponline/domains/indexlivingmall.com/public_html/active/index.php
Line: 323
Function: require_once