• The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

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