3.8.2 fixes my issues. However, it is impossible to update the plugin from WordPress admin as the error prevents login. If the site is using Softaculous, the site’s plugins can be upgraded from the Softaculous WordPress menu via the control panel rather than logging into the site.