Unable to scan wordpress instances: ERROR: escapeshellarg(): Input string contains NULL bytes

Created:

2017-06-27 20:17:45 UTC

Modified:

2017-08-21 04:27:36 UTC

1

Was this article helpful?


Have more questions?

Submit a request

Unable to scan wordpress instances: ERROR: escapeshellarg(): Input string contains NULL bytes

Applicable to:

  • Plesk for Linux

Symptoms

  1. Scanning or checking for the update for WordPress instances fails with the following error:

    Scanning for WordPress installations finished with errors:
    - Task is not responding: id=321, pid=27097, type=ext-wp-toolkit-task\manage
  2. The following errors could be found in the log /var/log/plesk/panel.log :

    [2017-06-27 18:34:34] DEBUG [util_exec] [f5af992cc25cc20709c2bdb7a35beae0-0] Finished in 0.02534s, Error code: 0, stdout: /var/www/vhosts/example.com/httpdocs/wp-content
    /var/www/vhosts/example.com/httpdocs/wp-config.php
    /var/www/vhosts/example.com/httpdocs/wp-includes
    , stderr:
    [2017-06-27 18:34:34] ERR [1] ERROR: escapeshellarg(): Input string contains NULL bytes (functions.php:1204)
    [2017-06-27 18:34:34] DEBUG [util_exec] [5952972a4e929] Starting: send-error-report, stdin:
    [2017-06-27 18:34:34] DEBUG [util_exec] [5952972a4e929] Finished in 0.00187s, Error code: TRUE, stdout: , stderr:
    [2017-06-27 18:34:37] DEBUG [util_exec] [5952972d23e9f] Starting: filwrpr 37, stdin:
    [2017-06-27 18:34:37] DEBUG [util_exec] [5952972d23e9f] Finished in 0.01477s, Error code: TRUE, stdout: , stderr:
    [2017-06-27 18:34:42] DEBUG [util_exec] [595297322a905] Starting: filwrpr 48, stdin:
    [2017-06-27 18:34:42] DEBUG [util_exec] [595297322a905] Finished in 0.01418s, Error code: TRUE, stdout: , stderr:
    [2017-06-27 18:34:42] ERR [panel] Task is not responding: id=318, pid=20746, type=ext-wp-toolkit-task\manage

Cause

There is an empty password for WordPress instance.

Resolution

Generate a new one password via Pelsk GUI for the domain from the error logs at Subscriptions > example.com > WordPress button > MyCMS > [view / change password]

Have more questions? Submit a request

2 Comments

  • 0
    Avatar
    Seb

    It would be useful if you included a query to determine which installations have an empty password.
    I had to click through dozens of installations which did not get updates and manually check for updates for each installation until I found two that had empty passwords.

  • 0
    Avatar
    Vitaly Zhidkov

    @Seb, you can find domain name from /var/log/plesk/panel.log. With debug mode enabled it will look like:

    [2017-06-27 18:34:34] DEBUG [util_exec] [f5af992cc25cc20709c2bdb7a35beae0-0] Finished in 0.02534s, Error code: 0, stdout: 
    /var/www/vhosts/example.com/httpdocs/wp-content
    /var/www/vhosts/example.com/httpdocs/wp-config.php
    /var/www/vhosts/example.com/httpdocs/wp-includes
    Edited by Vitaly Zhidkov
Please sign in to leave a comment.