• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

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