Error Updating Products
-
We have introduced a new accounting system Pastel which uses the interface Stock2Shop to connect to WooCommerce. Our agent fist loads the product description and the price and SKU code and then I am supposed to load the images and description for the product. But when I try and edit the new product, i get an error. According to the interface Stock2Shop team they say this is an error with WooCommerce.
The page I need help with: [log in to see the link]
-
Hi there!
Based on your message, it sounds like your team is creating products through Stock2Shop — with SKU, price, and description loaded first — and then you’re manually editing those products in WooCommerce to add images and descriptions. However, you’re encountering an error during that process.
To help investigate this further, could you please provide the following:
- The exact error message you’re seeing when editing the product.
- A screenshot or screen recording showing the issue.
- The steps you’re following when trying to edit the product (e.g., where you’re clicking and what changes you’re attempting).
- Whether this is happening for all products created via Stock2Shop or only specific ones.
- Your System Status Report from WooCommerce → Status → Get system report → Copy for support. Please use https://pastebin.com/ or https://gist.github.com/ and share a link to that paste in reply here. Once we have more information, we’ll be able to assist you further.
This will give us a clearer picture and help determine whether the issue lies within WooCommerce or the way Stock2Shop integrates with it.
This is the error:
TypeError: (0 , h.getQueryExcludedScreensUrlUpdate) is not a function
at Pe (https://www.valleyviewfarm.co.za/wp-content/plugins/woocommerce/assets/client/admin/app/index.js:2:163097) at div at div at me (https://www.valleyviewfarm.co.za/wp-content/plugins/woocommerce/assets/client/admin/app/index.js:2:157281) at div at hw (https://www.valleyviewfarm.co.za/wp-includes/js/dist/components.min.js:26:216841) at gw (https://www.valleyviewfarm.co.za/wp-includes/js/dist/components.min.js:26:217484) at xw (https://www.valleyviewfarm.co.za/wp-includes/js/dist/components.min.js:26:217829) at w (https://www.valleyviewfarm.co.za/wp-content/plugins/woocommerce/assets/client/admin/admin-layout/index.js:1:1989) at Pn (https://www.valleyviewfarm.co.za/wp-content/plugins/woocommerce/assets/client/admin/app/index.js:2:224526) at O (https://www.valleyviewfarm.co.za/wp-content/plugins/woocommerce/assets/client/admin/app/index.js:2:125553) at P (https://www.valleyviewfarm.co.za/wp-content/plugins/woocommerce/assets/client/admin/app/index.js:2:124994) at a (https://www.valleyviewfarm.co.za/wp-content/plugins/woocommerce/assets/client/admin/app/index.js:2:119508) at https://www.valleyviewfarm.co.za/wp-content/plugins/woocommerce/assets/client/admin/app/index.js:2:227172 at https://www.valleyviewfarm.co.za/wp-content/plugins/woocommerce/assets/client/admin/data/index.js:2:156426 at https://www.valleyviewfarm.co.za/wp-content/plugins/woocommerce/assets/client/admin/data/index.js:2:157503 at https://www.valleyviewfarm.co.za/wp-content/plugins/woocommerce/assets/client/admin/data/index.js:2:154316 at https://www.valleyviewfarm.co.za/wp-content/plugins/woocommerce/assets/client/admin/data/index.js:2:154316 at https://www.valleyviewfarm.co.za/wp-content/plugins/woocommerce/assets/client/admin/data/index.js:2:155541 at zn (https://www.valleyviewfarm.co.za/wp-content/plugins/woocommerce/assets/client/admin/app/index.js:2:228085)
Hi @johnhedouglas,
Thanks for sharing the error message!
This is a WooCommerce JavaScript error in the new product editor that’s being triggered when Stock2Shop imports products. The error
getQueryExcludedScreensUrlUpdate is not a functionindicates a compatibility issue between Stock2Shop’s product import process and WooCommerce’s admin interface.Since your workflow involves syncing products from Pastel via Stock2Shop and then manually editing them in WooCommerce, here are a few things worth checking:
- Are all plugins and WordPress core up to date? Compatibility between Stock2Shop and WooCommerce often hinges on that.
- Does this error occur only for products created via Stock2Shop, or does it happen across the board?
- Have there been any custom scripts or admin UI modifications introduced recently?
- Try temporarily switching to a default theme like Storefront and disabling all plugins except WooCommerce and Stock2Shop to see if the error persists. This can help pinpoint a conflict. See: https://woocommerce.com/document/how-to-test-for-conflicts
Also, you might want to:
- We’ve had a similar issue in the past and clearing the browser cache did the trick. Do you try that? Testing on another browser would also suffice.
- Go to WooCommerce → Settings → Advanced → Features → uncheck “Try new product editor (Beta)”. Then try editing your Stock2Shop imported products again and see.
- Go to WooCommerce → Status → Tools →find “Clear WooCommerce Admin cache” → Click Clear and test again.
- Clear any caching plugins you use and disable admin-related minification or optimization settings.
- Check your browser’s console for other errors or missing resources when opening the product editor.
If you’re able to share a WooCommerce System Status Report, that’ll also shed more light. You can generate that via WooCommerce → Status → Get system report, then paste it in Pastebin or Gist and link it here.
Let us know what you find. Looking forward to your response.
Thank you for your help. I cleared my browser cache, and it now works i am able to perform updates.
That’s great to hear @johnhedouglas,
I’m glad that clearing your browser cache did the trick! Thanks again for your patience and for working through the troubleshooting process with us.
If you found our support helpful, it would mean a lot to us if you could take a moment to leave a review: Leave a review here. Your feedback helps us improve and lets others know what to expect.
Appreciate you! Let us know if you run into anything else.
The topic ‘Error Updating Products’ is closed to new replies.