wp-cli / language-command

Installs, activates, and manages language packs.
MIT License
13 stars 21 forks source link

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

Closed fabioneves closed 3 years ago

fabioneves commented 3 years ago

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.

wojsmol commented 3 years ago

Please post wp core version output

fabioneves commented 3 years ago

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