Prior opening an issue in the bug tracker, would like to see if other peoples get this problem first.
To test this, your system must be up-to-date, running PHP Fcgi, having both LetsEncrypt and PHPSwitcher setup and running.
Issue : When going to https://PanelURL/admin/phpswitcher
If you want to look at a Static PHP Info file, you will get "An unexpected error occurred".
You'll also receive this email:
An exception has been thrown in file
/var/www/imscp/gui/plugins/LetsEncrypt/LetsEncrypt.php at line 143:
Call to a member function addPage() on null ==========================================================================
File: /var/www/imscp/gui/library/iMSCP/Events/Manager.php at line 66
File: /var/www/imscp/gui/library/iMSCP/Events/Aggregator.php at line 120
at line 16
File: /var/www/imscp/gui/public/plugins.php at line 82
Http User Agent:
Request Uri: /shared/phpswitcher?version_id=123456 Http Referer: https://PanelURL/admin/phpswitcher
Remote Addr: X
Server Addr: X
Note: You will not receive further emails for this exception in the next 24 hours.
Please do not reply to this email.
Somehow, it try to pass this to the LetsEncrypt plugin...
If I disable LetsEncrypt, the Static PHP Info file is working again.
Debian 9.12 up-to-date
LetsEncrypt : 3.5.0
PHPSwitcher : 5.0.5
If anyone can confirm (or not) this, I'll open a ticket in the bug tracker