• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Broken Wordpress Instance (WP ToolKit)

Julien

New Pleskian
Hi, I have several Wordpress installations that I've done manually, without using wp toolkit. They are detected with wp toolkit, but reported as broken. Is there a way to make them working with wp toolkit ?
Ubuntu 16.04.04 LTS
Plesk Onyx 17.8.11 update #4
wp toolkit 3.0.4-861
 
Try renaming the folder it’s installed in, then creating a new toolkit install, delete that folder, then renaming the actual install back... not exactly sure if this would work but that would be my suggestion.
 
Try renaming the folder it’s installed in, then creating a new toolkit install, delete that folder, then renaming the actual install back... not exactly sure if this would work but that would be my suggestion.

Ok, but is there an official way to do this?
 
WordPress Toolkit detect an instance by the following marks:
  • Directory "wp-includes" present
  • Directory "wp-content" present
  • File "wp-config.php" present on the same level or in the parent directory
Then we try to operate with this this instance using WP-CLI utility. If something went wrong, instance will be marked as broken.

Could you please clarify, which PHP version do you use? Which directories structure do you have? Is it customized somehow?
 
Hello Aleksey, standard WP installation, see directory structure attached. No customization. PHP 7.2.4.
 

Attachments

  • plesk-wp.JPG
    plesk-wp.JPG
    149.6 KB · Views: 24
usually when instances are shown broken in plesk panel wordpress toolkit during scan there might be an error shown or an entry in the /var/log/plesk/panel.log
 
usually when instances are shown broken in plesk panel wordpress toolkit during scan there might be an error shown or an entry in the /var/log/plesk/panel.log

Failed to parse wp-config.php: Uncaught TypeError: Argument 1 passed to WP_CLI\Runner::WP_CLI\{closure}() must be an instance of Exception, instance of ParseError given in /opt/psa/admin/plib/modules/wp-toolkit/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php:1682
Stack trace:
#0 [internal function]: WP_CLI\Runner->WP_CLI\{closure}(Object(ParseError))
#1 {main}
thrown on line 1682
{"err_code":true,"err_message":"Failed to parse wp-config.php: Uncaught TypeError: Argument 1 passed to WP_CLI\\Runner::WP_CLI\\{closure}() must be an instance of Exception, instance of ParseError given in \/opt\/psa\/admin\/plib\/modules\/wp-toolkit\/vendor\/wp-cli\/wp-cli\/php\/WP_CLI\/Runner.php:1682\nStack trace:\n#0 [internal function]: WP_CLI\\Runner->WP_CLI\\{closure}(Object(ParseError))\n#1 {main}\n thrown on line 1682"}
 
Back
Top