Applicable to:
- Plesk for Windows
Symptoms
-
The WordPress instance is marked as broken in Plesk > WordPress > example.com. The error is
CONFIG_TEXT: ERR [extension/wp-toolkit] Failed to reset cache for the instance #1, reason:
Warning: require_once(): open_basedir restriction in effect. File(C:\Program Files (x86)\Plesk\Additional\modules\wp-toolkit\wp-cli\vendor\wp-cli\wp-cli\php\boot-fs.php) is not within the allowed path(s): (C:/Inetpub/vhosts/example.com;C:\Windows\Temp) in C:\Program Files (x86)\Plesk\Additional\modules\wp-toolkit\wp-cli\wpt-wp-cli.php on line 31
Warning: require_once(C:\Program Files (x86)\Plesk\Additional\modules\wp-toolkit\wp-cli\vendor\wp-cli\wp-cli\php\boot-fs.php): Failed to open stream: Operation not permitted in C:\Program Files (x86)\Plesk\Additional\modules\wp-toolkit\wp-cli\wpt-wp-cli.php on line 31
Fatal error: Uncaught Error: Failed opening required 'C:\Program Files (x86)\Plesk\Additional\modules\wp-toolkit\wp-cli/vendor/wp-cli/wp-cli/php/boot-fs.php' (include_path='.;.\includes;.\pear') in C:\Program Files (x86)\Plesk\Additional\modules\wp-toolkit\wp-cli\wpt-wp-cli.php:31
Stack trace:
#0 {main}
thrown in C:\Program Files (x86)\Plesk\Additional\modules\wp-toolkit\wp-cli\wpt-wp-cli.php on line 31 - It's not possible to install Wordpress with the same error.
Cause
Product issue:
-
#EXTWPTOOLK-9045 "WordPress can now be installed if PHP 8.1 is used."
Fixed in:- WP Toolkit 5.10.2 15 April 2022 (Windows)
Resolution
Workaround
If update is not possible for some reason you may try the following
As a Workaround:
- Log into Plesk.
- Switch PHP version from 8.1. to 8.0 in Domains > example.com > PHP Settings and apply changes.
- Go back to WP Toolkit > example.com > Refresh WordPress Instance.
Comments
0 comments
Please sign in to leave a comment.