Unable to change PHP handler: ERROR: Call to a member function getValue() on null (PhpSettings.php:85)

Created:

2017-05-23 09:15:39 UTC

Modified:

2017-08-16 16:39:36 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Unable to change PHP handler: ERROR: Call to a member function getValue() on null (PhpSettings.php:85)

Applicable to:

  • Plesk for Linux

Symptoms

The PHP Version and PHP Handler can not be changed for any domain/subscription with the error:

Internal error ;-P
<script></script><p>ERROR: Call to a member function getValue() on null (PhpSettings.php:85)<br><br><a href='?metaId=5c1c5d91df4205c9ca5e8d63f374f0fe&messageId=f7eff95d3f23b43ea69f1fd205eb83f0&file=PhpSettings.php&line=85&type=Error&version=17.0.17&message=Call+to+a+member+function+getValue%28%29+on+null' target='_blank'>Search for related Knowledge Base articles</a></p>

Attempt to list installer PHP handlers produces the following error


# plesk bin php_handler --list 

[2017-05-22 17:18:41] DEBUG [util_exec] [59230151d5fe7] Starting: filwrpr 76
[2017-05-22 17:18:41] DEBUG [util_exec] [59230151d5fe7] Finished in 0.03495s, Error code: TRUE
The service node must be a web server node.

exit status 1

Cause

Information about server components is missing from Plesk database.

Resolution

Update information about installed packages. Go to Home > Tools & Settings > Plesk Components and click Refresh button.

Additionally it can be done from command line as below, execution of this command initiates updating information about installed packages in Plesk :

    # plesk bin php_handler --reread
Have more questions? Submit a request
Please sign in to leave a comment.