You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
And I find that when running wp vp restore-site --siteurl='http://localhost/mysite' --require=wp-content/plugins/versionpress/src/Cli/vp.php
The file does not exist. The plugin was not committed to github.
So I manually copy the files and then this happens:
$ wp vp restore-site --siteurl='http://localhost/' --require=wp-content/plugins/versionpress/src/Cli/vp.php
Error: wp-config.php file not found
$ touch wp-config.php
$ wp vp restore-site --siteurl='http://localhost/' --require=wp-content/plugins/versionpress/src/Cli/vp.php
PHP Warning: Use of undefined constant WP_CONTENT_DIR - assumed 'WP_CONTENT_DIR' (this will throw an Error in a future version of PHP) in ... /wp-content/plugins/versionpress/bootstrap.php on line 14
PHP Warning: Use of undefined constant WP_CONTENT_DIR - assumed 'WP_CONTENT_DIR' (this will throw an Error in a future version of PHP) in ... /wp-content/plugins/versionpress/bootstrap.php on line 20
Error: Unfortunately, this site was not tracked by VersionPress.
Therefore, it cannot be restored.
VersionPress version: 4.0-beta2
WordPress version: 5.2.2
OS, webserver, PHP: Linux/Apache
Git version: 2.11.0
The text was updated successfully, but these errors were encountered:
So I'm trying versionpress, and I activate it, and I push it to github, and I clone it, and I'm trying to restore it, as per:
And I find that when running
wp vp restore-site --siteurl='http://localhost/mysite' --require=wp-content/plugins/versionpress/src/Cli/vp.php
The file does not exist. The plugin was not committed to github.
So I manually copy the files and then this happens:
The text was updated successfully, but these errors were encountered: