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
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