• Hi, Pleskians! We are running a UX testing of our upcoming product intended for server management and monitoring.
    We would like to invite you to have a call with us and have some fun checking our prototype. The agenda is pretty simple - we bring new design and some scenarios that you need to walk through and succeed. We will be watching and taking insights for further development of the design.
    If you would like to participate, please use this link to book a meeting. We will sent the link to the clickable prototype at the meeting.
  • (Plesk for Windows):
    MySQL Connector/ODBC 3.51, 5.1, and 5.3 are no longer shipped with Plesk because they have reached end of life. MariaDB Connector/ODBC 64-bit 3.2.4 is now used instead.
  • 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.

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