This error usually indicates that there’s something wrong with the installation of QuickBooks or the company file; it does not necessarily indicate an error with FM Books Connector.

This link may provide some solutions:
https://community.intuit.com/articles/1018853-error-unrecoverable-error-xxxxx-xxxxx-quickbooks-has-encountered-a-problem-and-needs-to-close