Title: admin console error on setting page
Last modified: October 7, 2020

---

# admin console error on setting page

 *  Resolved [Nicola @ironicmoka Paroldo](https://wordpress.org/support/users/photoironic/)
 * (@photoironic)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/admin-console-error-on-setting-page-2/)
 * Hi there,
 * after a migration from another hosting provider I can’t get to use SG Optimizer.
   In the settings page i keep getting this message in the console and all switcher
   are unable to work:
 *     ```
       optimizer.bundle.js?ver=5.5.0:38 Uncaught (in promise) TypeError: Cannot read property 'locationBeforeTransitions' of undefined
           at h (optimizer.bundle.js?ver=5.5.0:38)
           at m (optimizer.bundle.js?ver=5.5.0:38)
           at m (optimizer.bundle.js?ver=5.5.0:14)
           at Object.dispatch (optimizer.bundle.js?ver=5.5.0:55)
           at Object.d [as rehydrate] (optimizer.bundle.js?ver=5.5.0:55)
           at _ (optimizer.bundle.js?ver=5.5.0:14)
           at optimizer.bundle.js?ver=5.5.0:14
       ```
   
 * the message refer to the 5.5.0 version because after noticing this problem the
   first time I tried to download older versions of the plugin trying to get the
   last working version, but with no luck down to 5.5.0.

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Thread Starter [Nicola @ironicmoka Paroldo](https://wordpress.org/support/users/photoironic/)
 * (@photoironic)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/admin-console-error-on-setting-page-2/#post-13503813)
 * Also: `GET https://www.***.com/wp-json/siteground-optimizer/v1/fetch-options 
   403`
 *  Plugin Author [Hristo Pandjarov](https://wordpress.org/support/users/hristo-sg/)
 * (@hristo-sg)
 * SiteGround Representative
 * [5 years, 8 months ago](https://wordpress.org/support/topic/admin-console-error-on-setting-page-2/#post-13503970)
 * GET [https://www.***.com/wp-json/siteground-optimizer/v1/fetch-options](https://www.***.com/wp-json/siteground-optimizer/v1/fetch-options)
   403
 * means that something is blocking the WordPress rest API. Check your .htaccess
   rules or any security plugins that you may have. The other message can be safely
   ignored since it does not affect anything and will disappear in the upcoming 
   update.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘admin console error on setting page’ is closed to new replies.

 * ![](https://ps.w.org/sg-cachepress/assets/icon-256x256.gif?rev=2971889)
 * [Speed Optimizer - The All-In-One Performance-Boosting Plugin](https://wordpress.org/plugins/sg-cachepress/)
 * [Support Threads](https://wordpress.org/support/plugin/sg-cachepress/)
 * [Active Topics](https://wordpress.org/support/plugin/sg-cachepress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/sg-cachepress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/sg-cachepress/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Hristo Pandjarov](https://wordpress.org/support/users/hristo-sg/)
 * Last activity: [5 years, 8 months ago](https://wordpress.org/support/topic/admin-console-error-on-setting-page-2/#post-13503970)
 * Status: resolved