Put the phone in airplane mode, which should stop the IMS error message from popping up, and then open its settings and tap on Apps and Notifications, followed by App Info. On the App Info page, click on the three-dot menu icon in the top-right corner, tap on Show System, tap "com.lge.ims.rcsprovider" on the next page, clear cache and storage, and then tap force stop.