Hey there,
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:
QuoteDisplay MoreDear administrator,
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 ==========================================================================
Backtrace:
__________
File: /var/www/imscp/gui/library/iMSCP/Events/Manager.php at line 66
Method: iMSCP_Plugin_LetsEncrypt::setupNavigation()
File: /var/www/imscp/gui/library/iMSCP/Events/Aggregator.php at line 120
Method: iMSCP_Events_Manager::dispatch()
File:
/var/www/imscp/gui/plugins/PhpSwitcher/frontend/shared/phpinfo-static.php
at line 16
Method: iMSCP_Events_Aggregator::dispatch()
File: /var/www/imscp/gui/public/plugins.php at line 82
Function: include()
Contextual information:
_______________________
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.
Versions :
Debian 9.12 up-to-date
I–MSCP 1.5.3-2018120800
LetsEncrypt : 3.5.0
PHPSwitcher : 5.0.5
PHP Fcgi
If anyone can confirm (or not) this, I'll open a ticket in the bug tracker