• Inviting everyone who uses WordPress management tools in Plesk
    The Plesk team is conducting a 60-minute research session that includes an interview and a moderated usability test.
    To participate, please use this link .
    Your experience will help shape product decisions and ensure the tools better support real-world use cases.

How to Write Your First 360 Monitoring Plugin

I get an error on the plesk-wpt.py:
Code:
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/agent360/agent360.py", line 372, in _execution
    payload = plugin.run(self.config)
  File "/usr/local/lib/python3.6/site-packages/agent360/plugins/plesk-wpt.py", line 27, in run
    data['wpsites-outdated-php'] = int(os.popen('sudo -n plesk ext wp-toolkit --list | grep "Outdated PHP" |  wc -l').read())
ValueError: invalid literal for int() with base 10: ''

This is result of the command that causes the error:
Code:
# sudo -n plesk ext wp-toolkit --list | grep "Outdated PHP" |  wc -l
23
 
Back
Top