• 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

Forwarded to devs UI bug when disabled PHP version is active

HostaHost

Regular Pleskian
Username: Hostasaurus.Com

TITLE

UI bug when disabled PHP version is active

PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE

Centos7 x64 - 18.0.31 CentOS 7 1800201127.17

PROBLEM DESCRIPTION

A customer had php version set to 5.4 FPM but that had been disabled at the Plesk global level. Trying to access hosting settings or php settings at the domain level produced:

ERROR: Method Smb_Form_Final_Web_Settings::__toString() must not throw an exception, caught Error: Call to a member function getId() on null (settings.phtml:0)

Had to turn 5.4/FPM back on to get access to that page to change their php version before turning it back off.

STEPS TO REPRODUCE

Set a site to PHP 5.4/FPM. Go to global Plesk settings, disable PHP 5.4/FPM. Go back and attempt to edit the hosting settings for the site, receive error.

ACTUAL RESULT

ERROR: Method Smb_Form_Final_Web_Settings::__toString() must not throw an exception, caught Error: Call to a member function getId() on null (settings.phtml:0)

EXPECTED RESULT

Normal interface

ANY ADDITIONAL INFORMATION



YOUR EXPECTATIONS FROM PLESK SERVICE TEAM

Confirm bug
 
Thank you,
This is known bug PPPM-12456. Already fixed in 18.0.32 version.
 
Back
Top