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

BP-3661 Error 404 on blocks.js #277

Open
jelle-opencii opened this issue Jul 26, 2024 · 3 comments · Fixed by #278
Open

BP-3661 Error 404 on blocks.js #277

jelle-opencii opened this issue Jul 26, 2024 · 3 comments · Fixed by #278
Assignees
Labels
Priority: Normal This issue has a normal/medium priority. Status: In progress We are working on this issue. 👏Thank You✨ Thank you for contributing!

Comments

@jelle-opencii
Copy link

I get a 404 on the loading of blocks.js in the WordPress admin. This issue comes from line 112 of index.php in the root folder. This is the only wp_enqueue_script where plugin_dir_url( FILE ) is not prepended to the file path, Changing this line to
wp_enqueue_script( 'buckaroo-block-script', plugin_dir_url( FILE ) . 'assets/js/dist/blocks.js', array( 'wp-blocks', 'wp-element' ) );
makes it load the file.

@Buckaroo-Rene
Copy link
Contributor

Hi @jelle-opencii ,

Thank you for contacting us about the issue that you where facing.
What versions are you using?

  • Buckaroo Plugin
  • Wordpress / WooCommerce version
  • PHP Version

@Buckaroo-Rene Buckaroo-Rene self-assigned this Jul 30, 2024
@Buckaroo-Rene Buckaroo-Rene added Priority: Normal This issue has a normal/medium priority. Status: Waiting for info We are waiting for more information regarding this issue. labels Jul 30, 2024
@jelle-opencii
Copy link
Author

jelle-opencii commented Jul 30, 2024

Hi @Buckaroo-Rene

Buckaroo: 3.13.1
WooCommerce: 9.1.2
WordPress: 6.5.5
PHP version: 8.0.29

@Buckaroo-Rene Buckaroo-Rene changed the title 404 on blocks.js BP-3661 Error 404 on blocks.js Jul 30, 2024
@Buckaroo-Rene
Copy link
Contributor

Hi @jelle-opencii ,

Thank you for your quick reply 🚀.
Our development team will take a loot at it.
We'll let you know the outcome.

@Buckaroo-Rene Buckaroo-Rene added Status: Researching We are researching this issue. 👏Thank You✨ Thank you for contributing! and removed Status: Waiting for info We are waiting for more information regarding this issue. labels Jul 30, 2024
@Buckaroo-Rene Buckaroo-Rene linked a pull request Jul 30, 2024 that will close this issue
@Buckaroo-Rene Buckaroo-Rene added Status: In progress We are working on this issue. and removed Status: Researching We are researching this issue. labels Jul 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Priority: Normal This issue has a normal/medium priority. Status: In progress We are working on this issue. 👏Thank You✨ Thank you for contributing!
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants