Log1x / acf-composer

Compose ACF Fields, Blocks, Widgets, and Option Pages with ACF Builder on Sage 10.
https://github.com/Log1x/acf-composer
MIT License
398 stars 53 forks source link

Undefined array key "REQUEST_METHOD" #246

Closed tislars closed 1 month ago

tislars commented 1 month ago

When I try to run ./vendor/bin/acorn acf:options FooOptions I get the following error:

In template-loader.php line 26:

  Undefined array key "REQUEST_METHOD"

And when I try to run with wp I get the following error:

image

I am running a Bedrock project with the Sage starter theme. Installed Acorn in my project and installed log1x/acf-composer in my theme directory using Composer.

Can someone help me to get this working? If you need more info, I will provide.

tislars commented 1 month ago

Excuse me, it was due to a optimization issue. After running wp acorn optimize:clear it works.