Javascript Error Thrown – OneSignal Issues
-
Description:
Latest release of Chrome/Brave Browser [80.0.3987.132 (Official Build) (64-bit)] is getting the following error in the console and failing to load OneSignal:ERROR: Uncaught (in promise) DOMException: Failed to update a ServiceWorker for scope with script ('OneSignalSDKWorker.js.php'): The script has an unsupported MIME type ('text/html')
Other browsers appear to be unaffected (tested with Firefox/Edge/Opera)
Steps to Reproduce Issue:
View any page under latest Chrome/Brave browser and error is thrown.Anything else:
Noticed this issue after updating server from PHP 7.2 -> PHP 7.4 but not certain if that has anything to do with this. Also updated the plugin to 2.0.2.1 after re-activating OneSignal during debugging and admin panel was constantly displaying the custom manifest error (https://github.com/SuperPWA/Super-Progressive-Web-Apps/releases/tag/2.0.2.1)
- The topic ‘Javascript Error Thrown – OneSignal Issues’ is closed to new replies.