Skip to content

Fix crash when trying to publish stubs using Acorn #342

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

Merged
merged 1 commit into from
May 9, 2025

Conversation

harryscheiner
Copy link
Contributor

Issue

Running wp acorn acf:stubs generates this error:

In StubPublishCommand.php line 66:
file_get_contents(/app/web/app/themes/sage/vendor/log1x/acf-composer/src/Console/stubs/block.construct.stub): Failed
   to open stream: No such file or directory

Fix

Replace block.construct.stub with block.localized.stub in the available stubs array to match the files.

@Log1x Log1x merged commit e6ec139 into Log1x:master May 9, 2025
2 checks passed
@Log1x
Copy link
Owner

Log1x commented May 9, 2025

appreciate it!

@gp0
Copy link

gp0 commented Jun 12, 2025

@Log1x I think there may be a v3 release missing?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants