Title: Error Deploying Staging
Last modified: December 2, 2021

---

# Error Deploying Staging

 *  [3quid](https://wordpress.org/support/users/3quid/)
 * (@3quid)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/error-deploying-staging/)
 * Hi,
 * Have the configurators (and conditional logic) working great on my staging site.
   here is one…
 * [https://www.staging2.go-low.golf/shop/custom-golf-snood/](https://www.staging2.go-low.golf/shop/custom-golf-snood/)
 * I then fully deployed the staging site to live and the same product now throws
   two errors in the console…
 * [https://www.go-low.golf/shop/custom-golf-snood/](https://www.go-low.golf/shop/custom-golf-snood/)
 * Error 1…
 * “Refused to execute [https://www.go-low.golf/wp-admin/admin-ajax.php?action=pc_get_data](https://www.go-low.golf/wp-admin/admin-ajax.php?action=pc_get_data)
   as script because “X-Content-Type-Options: nosniff” was given and its Content-
   Type is not a script MIME type.”
 * Error 2…
 * “TypeError: undefined is not an object (evaluating ‘PC.productData[‘prod_’ + 
   parent_id]'”
 * All products and plugins etc.. are all identical. Any ideas?
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ferror-deploying-staging%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Contributor [Marc Lacroix](https://wordpress.org/support/users/marcusig/)
 * (@marcusig)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/error-deploying-staging/#post-15125981)
 * Hi there,
 * I’m actually getting the same error on the staging site, probably because I’m
   not logged in.
    (The second error is a consequence of the first one.)
 * I’m not sure what’s causing it, but I’ve noticed that the URL is broken:
 * ![](https://i0.wp.com/i.postimg.cc/j2jv7hr9/image.png?ssl=1)
 * (See the `#038;` instead of `&`?)
 * I also notice `siteground-async=1` at the end of the url, so wondering if this
   could be causing the URL to break.
 * You may wan to try disabling that feature, at least on that script.
 * Marc
 *  Thread Starter [3quid](https://wordpress.org/support/users/3quid/)
 * (@3quid)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/error-deploying-staging/#post-15126203)
 * I think it may be sorted … looks like siteground was sneaky deferring JavaScript.
 * Sorry to bother you. Plug-in is ace by the way… loving it over my previous one
    -  This reply was modified 4 years, 5 months ago by [3quid](https://wordpress.org/support/users/3quid/).

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

The topic ‘Error Deploying Staging’ is closed to new replies.

 * ![](https://ps.w.org/product-configurator-for-woocommerce/assets/icon.svg?rev
   =2263690)
 * [Product Configurator for WooCommerce](https://wordpress.org/plugins/product-configurator-for-woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/product-configurator-for-woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/product-configurator-for-woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/product-configurator-for-woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/product-configurator-for-woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/product-configurator-for-woocommerce/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [3quid](https://wordpress.org/support/users/3quid/)
 * Last activity: [4 years, 5 months ago](https://wordpress.org/support/topic/error-deploying-staging/#post-15126203)
 * Status: not resolved