QuickBooks event id 4 error happens due to installation issues in the QuickBooks.

Company files are corrupted.
Deleted QuickBooks associated file.

You need to do a clean install of QuickBooks, to do so, uninstall QuickBooks and get it installed again.

Get event id 4 error fixed; connect to QBSsolved at +18889101619. For more info log on to https://www.qbssolved.com/ways....-to-fix-quickbooks-e