[ERROR] I can't delete the website

when I try to delete a website from the panel, it gives the message of success, but when I see the website list it is still there …
This appears in the server log:

[04.16.2020_12-24-15] (1452, ‘Cannot add or update a child row: a foreign key constraint fails (cyberpanel.e_domains, CONSTRAINT e_domains_domainOwner_id_581e752a_fk_websiteFu FOREIGN KEY (domainOwner_id) REFERENCES websiteFunctions_websites (id))’) [Not able to remove virtual host configuration from main configuration file.]

Panel version 2.0