Skip to content
This repository was archived by the owner on Jul 28, 2024. It is now read-only.
This repository was archived by the owner on Jul 28, 2024. It is now read-only.

restore-site doesn't work with WordPress 5.1 #1374

@candrews

Description

@candrews

When running wp vp restore-site --yes --siteurl="${SITE_URL}" --require=wp-content/plugins/versionpress/src/Cli/vp.php with wp-config.php present against an empty database (with no database tables), it fails with this output:

Success: Database tables created
PHP Fatal error:  Cannot redeclare wptexturize() (previously declared in /var/www/html/wp-includes/formatting.php:51) in /var/www/html/wp-includes/formatting.php on line 315
Error: Could not finish site restore

It works fine with Wordpress 5.0.

Metadata

Metadata

Assignees

No one assigned

    Labels

    WP 5.1WordPress 5.1-related issues (for Gutenberg issues, use separate tag)bugBugs. For major ones, add "major".

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions