• Debian 11 is approaching its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.80 will be the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

Resolved Failed to reset cache for the instance #9: Failed to update PHP handler for the instance #9

ose1955

New Pleskian
Server operating system version
CentOS Linux 7.9.2009 (Core)
Plesk version and microupdate number
Version 18.0.56 Update #4, last updated on Nov 8, 2023 03:19 AM
Hello!

WP Toolkit
Version: 6.2.12-7703

I get the following error while trying use WP Toolkit to clone or copy site:
Code:
Failed to reset cache for the instance #9: Failed to update PHP handler for the instance #9

When I try to reset cache from console, I get the following:
Code:
# plesk ext wp-toolkit --clear-cache -instance-id 9
[2023-11-30 13:53:47.540] 18722:656877c04d4fa ERR [panel] XML-RPC: Request is invalid. Error in line 74: local complex type: The content model is not determinist. Original request: <?xml version="1.0"?>
<packet version="1.6.9.1"><site><get><filter><id>46</id></filter><dataset><hosting/></dataset></get></site></packet>

[2023-11-30 13:53:47.541] 18722:656877c04d4fa ERR [extension/wp-toolkit] Failed to get PHP status of domain. Error: Parser error: Request is invalid. Error in line 74: local complex type: The content model is not determinist. Original request: <?xml version="1.0"?>
<packet version="1.6.9.1"><site><get><filter><id>46</id></filter><dataset><hosting/></dataset></get></site></packet>

[2023-11-30 13:53:47.541] 18722:656877c04d4fa ERR [extension/wp-toolkit] Failed to reset cache for the instance #9, reason: Failed to update PHP handler for the instance #9
Failed to reset cache for the instance #9: Failed to update PHP handler for the instance #9
exit status 3

Please help!
 
UPD:
Code:
# plesk ext wp-toolkit --list
  ID  Main Domain ID           Installation Path  Owner ID    State  Hidden                        Website URL           Name  Version
   2               6                   /httpdocs         3  Working   false           https://example.com  Example Site    6.4.1
   9               6  /stg.example.com         3  Working   false  https://stg.example.com  Example Site    6.4.1

However, the error persists.
 
Solution provided here:
 
Back
Top