Unable to manage WordPress instance: Unable to locate configuration path

Created:

2016-11-16 13:20:58 UTC

Modified:

2017-08-08 13:25:35 UTC

2

Was this article helpful?


Have more questions?

Submit a request

Unable to manage WordPress instance: Unable to locate configuration path

Applicable to:

  • Plesk 12.5 for Linux
  • Plesk 12.0 for Linux

Symptoms

The following error is shown for a WordPress instance in WordPress Toolkit :

{"err_code":40002,"err_message":"Unable to locate configuration path"} PHP Notice: Undefined variable: exit in /usr/share/plesk-wp-cli/php/class-wp-cli.php on line 503 PHP Notice: Undefined variable: exit in /usr/share/plesk-wp-cli/php/class-wp-cli.php on line 505 {"err_code":40002,"err_message":"Unable to read configuration file: "} PHP Notice: Undefined variable: exit in /usr/share/plesk-wp-cli/php/class-wp-cli.php on line 503 PHP Notice: Undefined variable: exit in /usr/share/plesk-wp-cli/php/class-wp-cli.php on line 505 {"err_code":40003,"err_message":"Unable to read or execute files from wp-admin\\/includes directory': \\/var\\/www\\/vhosts\\/example.com\\/blog\\/wp-admin\\/includes"} PHP Notice: Undefined variable: exit in /usr/share/plesk-wp-cli/php/class-wp-cli.php on line 503 PHP Notice: Undefined variable: exit in /usr/share/plesk-wp-cli/php/class-wp-cli.php on line 505 {"err_code":40004,"err_message":"Unable to read or execute files from wp-includes directory....

Cause

Missing WordPress files.WordPress Toolkit finds all actual/removed WordPress installations by wp-* mask.

Resolution

a) Make sure that the domain's directory that listed in error contains all necessary WordPress files. If not, restore from backup or from WordPress package with the same version.
b) If the installation was previously removed and left wp-content folder, rename it to content , detach this instance in WordPress Toolkit > instance name and perform a new scan.

Have more questions? Submit a request
Please sign in to leave a comment.