• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • 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