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

Acf builder with sage 10 publish issue #149

Open
ashleyvansoeren opened this issue Mar 1, 2022 · 5 comments
Open

Acf builder with sage 10 publish issue #149

ashleyvansoeren opened this issue Mar 1, 2022 · 5 comments

Comments

@ashleyvansoeren
Copy link

Hi,
Not sure if this question fits here.
Im trying to use acf builder with sage 10. Installation goes well until i hit wp acorn vendor:publish --provider="Log1x\AcfComposer\Providers\AcfComposerServiceProvider"

the error i get is this:

No publishable resources for tag [].
Publishing complete.

i googled and tried to use the acf.php in config. This doesnt solve it. I also tried wp acorn vendor:publish. This doesnt fix it either.

I cant use the wp acorn acf:field Example. It wil give me: There are no commands defined in the "acf" namespace. I think this has to do with the publish issue.

I installed acf in the theme folder. I also configured setup.php to use acf builder.

I can make the field folder and files manually but i dont get any fields in wordpress.

Does anyone have a solution for me?

Thanks!

@tomhayes
Copy link

tomhayes commented Mar 9, 2022

Having the same issue here!

@Log1x
Copy link
Collaborator

Log1x commented Mar 9, 2022

Please open an issue on the ACF Composer repo. This issue is unrelated to ACF Builder.

@mazero
Copy link

mazero commented Apr 28, 2022

Having the same issue @ashleyvansoeren @tomhayes @Log1x
Dou you have find how resolve this to use ACF Builder with sage 10 ? Thx

@robrecord
Copy link

Having the same issue @ashleyvansoeren @tomhayes @Log1x
Dou you have find how resolve this to use ACF Builder with sage 10 ? Thx

You can try here Log1x/poet#23

@oxfordblucher
Copy link

Having the same issue as well. I've tried Devilbox, WSL, and Local by Flywheel on Windows 10, Windows 11, and Mac OS. I've tried using Acorn as a plugin and as a composer requirement. I've tried different versions of Sage 10, different versions of Acorn, etc. I've tried the solutions in this thread: Log1x/acf-composer#109 (comment) and while switching the order of
$this->app->make('AcfComposer'); & $this->publishes([]) did allow Log1x\AcfComposer\Providers\AcfComposerServiceProvider to be shown but I am still getting a 'There are no commands defined in the "acf" namespace.' error.
I was finally able to get it working on Devilbox for a couple weeks but it's no longer working after the most recent Mac OS update. I've tried recreating the environment and porting over my preexisting work but the second I add the blocks and fields from the previous project, AcfComposer breaks again. I feel like I'm going insane and I've essentially lost all my work now. Not sure what I'm doing wrong but Sage in general has been a nightmare to work with on Windows.

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

No branches or pull requests

6 participants