Title: Errors in Firefox and Chrome
Last modified: February 8, 2018

---

# Errors in Firefox and Chrome

 *  Resolved [louiscuvelier](https://wordpress.org/support/users/louiscuvelier/)
 * (@louiscuvelier)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/errors-in-firefox-and-chrome/)
 * Hey,
 * Thanks for the plugin !
 * I have two erros after multiple pages reloads on Chrome and Firefox.
    1. In Chrome(
   64.0.3282.140) I have this : `superpwa-sw.js:3 Uncaught (in promise) TypeError:
   Request method 'POST' is unsupported`
 * 2. And in Firefox (64.0.3282.140), this :
    `Service worker event waitUntil() 
   was passed a promise that rejected with 'InvalidStateError: An attempt was made
   to use an object that is not, or is no longer, usable'.`
    -  This topic was modified 8 years, 3 months ago by [louiscuvelier](https://wordpress.org/support/users/louiscuvelier/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ferrors-in-firefox-and-chrome%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 15 replies - 1 through 15 (of 27 total)

1 [2](https://wordpress.org/support/topic/errors-in-firefox-and-chrome/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/errors-in-firefox-and-chrome/page/2/?output_format=md)

 *  [Arun Basil Lal](https://wordpress.org/support/users/arunbasillal/)
 * (@arunbasillal)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/errors-in-firefox-and-chrome/#post-9953291)
 * Hey [@louiscuvelier](https://wordpress.org/support/users/louiscuvelier/)
 * Thanks for using SuperPWA and for your kind words!
 * I have opened a GitHub issue for this case and I will fix it in the upcoming 
   update – [https://github.com/SuperPWA/Super-Progressive-Web-Apps/issues/6](https://github.com/SuperPWA/Super-Progressive-Web-Apps/issues/6)
 * I will update you once it is fixed. Thanks for your patience.
 *  [Arun Basil Lal](https://wordpress.org/support/users/arunbasillal/)
 * (@arunbasillal)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/errors-in-firefox-and-chrome/#post-9959416)
 * Hey [@louiscuvelier](https://wordpress.org/support/users/louiscuvelier/)
 * I have just release version 1.3. It should take care of this issue.
 * Please upgrade and let me know how it goes. Thanks!
 * Here is the changelog:
 * = 1.3 =
    * Date: 10. February.2018 * New Feature: Added support for high-quality
   splash screen. You can now set the 512×512 icon for the splash screen of your
   Progressive Web App. * Enhancement: Super Progressive Web Apps now accounts for
   content updates and will update the cache as you update the website. * Enhancement:
   Improved in-browser service worker update handling. * Enhancement: Added automatic
   upgrade of manifest and service worker on plugin upgrade. * Bug fix: Only GET
   requests are served from the cache now.
    -  This reply was modified 8 years, 3 months ago by [Arun Basil Lal](https://wordpress.org/support/users/arunbasillal/).
 *  Thread Starter [louiscuvelier](https://wordpress.org/support/users/louiscuvelier/)
 * (@louiscuvelier)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/errors-in-firefox-and-chrome/#post-9959606)
 * Hey [@arunbasillal](https://wordpress.org/support/users/arunbasillal/)
 * It’s working great ! Thanks !
 * But, now I have an issue with Google Adsense, SuperPWA and only Chrome.
 * When I first load my page with no cache, ads showed up without errors.
    But, 
   on the second reload (and all others) there is no more ads and an error with 
   the Adsense code snippet.
 * `Uncaught SyntaxError: Unexpected token <`
 * It’s odd … Can you do you something ?
    I can give you an Adsense code snippet
   if you want to test it.
    -  This reply was modified 8 years, 3 months ago by [louiscuvelier](https://wordpress.org/support/users/louiscuvelier/).
    -  This reply was modified 8 years, 3 months ago by [louiscuvelier](https://wordpress.org/support/users/louiscuvelier/).
 *  Thread Starter [louiscuvelier](https://wordpress.org/support/users/louiscuvelier/)
 * (@louiscuvelier)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/errors-in-firefox-and-chrome/#post-9959666)
 * Hey [@arunbasillal](https://wordpress.org/support/users/arunbasillal/),
 * Forgot what I said. The problem appears oddly only when Chrome console is opened…
   
   So, it’s ok 🙂
 * Thanks again !
 *  [Arun Basil Lal](https://wordpress.org/support/users/arunbasillal/)
 * (@arunbasillal)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/errors-in-firefox-and-chrome/#post-9959732)
 * [@louiscuvelier](https://wordpress.org/support/users/louiscuvelier/)
 * Even with the Chrome console open, does it go away if you deactivate SuperPWA?
   
   Please do that and kindly let me know if you still see the error in the chrome.
 *  Thread Starter [louiscuvelier](https://wordpress.org/support/users/louiscuvelier/)
 * (@louiscuvelier)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/errors-in-firefox-and-chrome/#post-9959769)
 * [@arunbasillal](https://wordpress.org/support/users/arunbasillal/)
 * Yup, it goes away if I disabled SuperPWA, “Clear Site Data” (Inspector > Application
   > Clear Storage > Clear Site Data) and do multiple reloads.
    So, it seems to 
   be a SuperPWA problem.
    -  This reply was modified 8 years, 3 months ago by [louiscuvelier](https://wordpress.org/support/users/louiscuvelier/).
 *  [Arun Basil Lal](https://wordpress.org/support/users/arunbasillal/)
 * (@arunbasillal)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/errors-in-firefox-and-chrome/#post-9959850)
 * Does it show up on a specific page? I tried reloading many pages, I see the Adsense
   ad, but no error in console yet.
 * Any tips on how I can recreate this? My version of Chrome is: `64.0.3282.140`
 *  [Arun Basil Lal](https://wordpress.org/support/users/arunbasillal/)
 * (@arunbasillal)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/errors-in-firefox-and-chrome/#post-9959922)
 * Okay, I see the error when the browser is offline. Do you see it when you are
   online as well?
 *  Thread Starter [louiscuvelier](https://wordpress.org/support/users/louiscuvelier/)
 * (@louiscuvelier)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/errors-in-firefox-and-chrome/#post-9959944)
 * There was some cache from WP Super Cache when I disabled SuperPWA, so the SW 
   was not served.
    I cleaned the cache. Now, you should see the error on any page
   of the website.
 * PS : Even with WP Super Cache disabled, I still have the error.
 * EDIT : I see it online.
    -  This reply was modified 8 years, 3 months ago by [louiscuvelier](https://wordpress.org/support/users/louiscuvelier/).
    -  This reply was modified 8 years, 3 months ago by [louiscuvelier](https://wordpress.org/support/users/louiscuvelier/).
 *  [Arun Basil Lal](https://wordpress.org/support/users/arunbasillal/)
 * (@arunbasillal)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/errors-in-firefox-and-chrome/#post-9960231)
 * Hello again [@louiscuvelier](https://wordpress.org/support/users/louiscuvelier/)
 * Via FTP, please replace the superpwa-sw.js in the root directory of your WordPress
   install (the same directory as wp-config.php) with the one in here: [https://www.dropbox.com/s/7i2lpod3zfjxa94/devenir-superpwa-sw.zip?dl=0](https://www.dropbox.com/s/7i2lpod3zfjxa94/devenir-superpwa-sw.zip?dl=0)
 * Please do not save the settings of SuperPWA as that would overwrite this file.
 * Please let me know once it is done so that I can test the site again. Looking
   forward to it.
 *  Thread Starter [louiscuvelier](https://wordpress.org/support/users/louiscuvelier/)
 * (@louiscuvelier)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/errors-in-firefox-and-chrome/#post-9960318)
 * Hello again [@arunbasillal](https://wordpress.org/support/users/arunbasillal/)
 * I did it. I also disabled Cloudflare and WP Super Cache, so you can test more
   easily.
 *  [Arun Basil Lal](https://wordpress.org/support/users/arunbasillal/)
 * (@arunbasillal)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/errors-in-firefox-and-chrome/#post-9960492)
 * Everything looks good at my end. No more `Uncaught SyntaxError: Unexpected token
   <` errors.
 * The only error I see is `ERR_INTERNET_DISCONNECTED` when I am offline. Which 
   is expected because these are external sources.
 * I will include the code I sent you in the next update on the plugin, so you can
   update safely.
 * Please check at your end and let me know. Thanks.
 *  Thread Starter [louiscuvelier](https://wordpress.org/support/users/louiscuvelier/)
 * (@louiscuvelier)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/errors-in-firefox-and-chrome/#post-9960504)
 * Yes, it seems be ok.
 * Thanks a lot !
 *  [Arun Basil Lal](https://wordpress.org/support/users/arunbasillal/)
 * (@arunbasillal)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/errors-in-firefox-and-chrome/#post-9960521)
 * Glad to hear that [@louiscuvelier](https://wordpress.org/support/users/louiscuvelier/)
 * Hope you enjoy your Super Progressive Web App! Please share it with your friends
   and support us if you can 🙂
 * Also feel free to let us know your feedback at any point. We are always looking
   for ways to improve our plugin.
 *  [Arun Basil Lal](https://wordpress.org/support/users/arunbasillal/)
 * (@arunbasillal)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/errors-in-firefox-and-chrome/#post-9975927)
 * Hey [@louiscuvelier](https://wordpress.org/support/users/louiscuvelier/)
 * In version 1.3.1 I have added the fix I did for you, but with a minor twist. 
   I tested the same on another website and the `Uncaught SyntaxError: Unexpected
   token <` no longer shows up.
 * Please update and let me know your feedback. Looking forward to it.

Viewing 15 replies - 1 through 15 (of 27 total)

1 [2](https://wordpress.org/support/topic/errors-in-firefox-and-chrome/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/errors-in-firefox-and-chrome/page/2/?output_format=md)

The topic ‘Errors in Firefox and Chrome’ is closed to new replies.

 * ![](https://ps.w.org/super-progressive-web-apps/assets/icon-128x128.png?rev=1842063)
 * [Super Progressive Web Apps](https://wordpress.org/plugins/super-progressive-web-apps/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/super-progressive-web-apps/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/super-progressive-web-apps/)
 * [Active Topics](https://wordpress.org/support/plugin/super-progressive-web-apps/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/super-progressive-web-apps/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/super-progressive-web-apps/reviews/)

 * 27 replies
 * 3 participants
 * Last reply from: [louiscuvelier](https://wordpress.org/support/users/louiscuvelier/)
 * Last activity: [8 years, 3 months ago](https://wordpress.org/support/topic/errors-in-firefox-and-chrome/page/2/#post-9995447)
 * Status: resolved