wp-cli / language-command

Installs, activates, and manages language packs.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

When running any language command: Error: Requires WordPress 4.0 or greater.

fabioneves opened this issue · comments

When I try to run multiple language commands I always get the same error:
Error: Requires WordPress 4.0 or greater.

wp language plugin list --status=installed

wp language core list

Any command that seems to be correct triggers the same error. Any idea of what it could be? Using WP-CLI 2.4.0 and PHP 7.4.12

Tried the same command in different environments, I always get the same error.

Please post wp core version output

wp core version
5.5.3

Although it reports the correct version I found out that the issue lies within the project I'm working on. There's some libraries and vendor packages loading up and looks like that's messing WP.

Closing this, since it's not a bug.

Thanks