Skip to content

PHP Fatal error: Cannot redeclare wp_unregister_GLOBALS()  #992

@tchwpkgorg

Description

@tchwpkgorg

I'm not able to run wp-cli on some websites.

Running Wordpress 3.8.1 with wp-cli 0.13.0 and 0.14.0-beta.

I've checked the FAQ entry about a similar problem, and reported issue #288, but they don't seem to apply in this case.

Tried disabling the plugins, but it didn't help.

As far as I can see, it has something to do with the database.

Merely substituting these values with the ones from a website where wp-cli is working is enough to make wp-cli run:

define('DB_NAME', 'db_name');
define('DB_USER', 'db_user');
define('DB_PASSWORD', 'pass');

Any ideas how to debug this further?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions