• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Resolved WP Toolkit API - active/deactivated Status for Plugins not refreshing

Giu

Basic Pleskian
Server operating system version
Debian 12.4
Plesk version and microupdate number
18.0.58
Hi Forum,

When a User deactivates a Plugin inside WP-Admin. This change of status in: /v1/installations/{installationId}/plugins route will not be reflected in the api response.
The response property "status" shows then still true.

only if you go into Plesk Admin navigate to the Installation in WP Toolkit and press this refresh button the status of the Plugins gets updated:
Screenshot 2024-03-06 121854.png

After clicking this refresh button the changes of Plugin activation Status gets reflected in API and Plesk WP Toolkit View.

my question now is: how can i trigger this refresh button with the API or Plesk CLI, since the api route /v1/installations/{installationId}/plugins is useless if its not showing the actual data about the plugins of the wp installation.
 
i found out myself sorry for opening ticket.

in case anyone has the same issue:

use the: /v1/cache-cleaner
POST Request with this body:

{
"installationsIds": [
1
],
"tags": [
"main-information"
]
}

it will refresh the plugin and theme settings for the wp installation
 
Back
Top