Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WooCommerce Blocks JS (wc-settings.js) being called even when plugin is not installed #62815

Closed
cintacks opened this issue Apr 15, 2022 · 2 comments
Labels
[Pri] Normal Schedule for the next available opportuinity. [Status] Needs Author Reply [Type] Bug

Comments

@cintacks
Copy link

Quick summary

Came across a user's site where their sidebar wasn't loading for Woo pages. It seemed related to this issue:

woocommerce/woocommerce-blocks#6260

There's a 404 for /packages/woocommerce-blocks/build/wc-settings.js, but woocommerce-blocks was not installed on the store. I'm not sure where that reference is coming from in the first place so more investigation needed.

Steps to reproduce

This may be intermittent

  1. Install Woo 6.4
  2. Check Woo pages and see if sidebar is not loading (check console errors for missing JS file)
  3. Install WooCommerce Blocks plugin to alleviate issue (workaround)

What you expected to happen

Presumably, Woo shouldn't be dependent on WooCommerce Blocks being installed/activated - Sidebar should load normally.

What actually happened

Sidebar was blank due to missing JS file.

Context

No response

Simple, Atomic or both?

Atomic

Theme-specific issue?

No response

Browser, operating system and other notes

No response

Reproducibility

Intermittent

Severity

Some (< 50%)

Available workarounds?

Yes, easy to implement

Workaround details

Install WooCommerce Blocks https://woocommerce.com/products/woocommerce-gutenberg-products-block/ and activate.

@Robertght
Copy link

I'm not able to replicate this anymore.

@kettultim can you see if this is still an issue on your end?

@Robertght Robertght added [Status] Needs Author Reply [Pri] Normal Schedule for the next available opportuinity. labels Apr 20, 2022
@cecilearkay
Copy link

@Robertght Pretty sure this got fixed with: woocommerce/woocommerce-blocks#6260 so I'll close it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Pri] Normal Schedule for the next available opportuinity. [Status] Needs Author Reply [Type] Bug
Projects
None yet
Development

No branches or pull requests

3 participants