PHP Fatal error: Cannot redeclare class PestJSON in /var/www/html/admin/modules/cxpanel/lib/PestJSON.php
Last modified by michaely on 2021/09/10 22:40
On this page
Symptoms
When using the iSymphony 3.0 FreePBX module with the latest version of the FreePBX 2.11 framework your FreePBX install fails to operate showing only a blank screen and the following error is seen in the httpd log
PHP Fatal error: Cannot redeclare class PestJSON in /var/www/html/admin/modules/cxpanel/lib/PestJSON.php
Cause
The latest version of the FreePBX framework includes the a REST library which is also included by iSympony FreePBX module causing conflicts in FreePBX.
Resolution
Remove the existing iSymphony module manually by running the following command on the server.
rm -rf /var/www/html/admin/modules/cxpanel- Install version 3.0.5007 or higher of the iSymphony 3.0 FreePBX module.