I am currently encountering a fatal error in WHMCS when attempting to configure the module settings for an AMP product. I am using an Enterprise license.
Whenever I navigate to configproducts.php in the WHMCS admin area and try to load the “Module Settings” tab for the AMP server module, WHMCS throws an “Oops! Something went wrong” error page.
Here is the exact exception and stack trace:
Exception: Unknown response in /var/www/whmcs/modules/servers/AMP/AMP.php:217
Stack trace:
#0 [internal function]: AMP_ConfigOptions()
#1 /var/www/whmcs/vendor/whmcs/whmcs-foundation/lib/Module/AbstractModule.php(0): call_user_func()
#2 /var/www/whmcs/vendor/whmcs/whmcs-foundation/lib/Module/Server.php(0): WHMCS\Module\AbstractModule->call()
#3 /var/www/whmcs/vendor/whmcs/whmcs-foundation/lib/Admin/Setup/ProductSetup.php(0): WHMCS\Module\Server->call()
#4 /var/www/whmcs/vendor/whmcs/whmcs-foundation/lib/Admin/Setup/ProductSetup.php(0): WHMCS\Admin\Setup\ProductSetup->hasSimpleConfigMode()
#5 /var/www/whmcs/vendor/whmcs/whmcs-foundation/lib/Admin/Setup/ProductSetup.php(0): WHMCS\Admin\Setup\ProductSetup->getModuleSetupRequestMode()
#6 /var/www/whmcs/vendor/whmcs/whmcs-foundation/lib/Admin/Setup/ProductSetup.php(0): WHMCS\Admin\Setup\ProductSetup->getModuleSettingsFields()
#7 /var/www/whmcs/admin/configproducts.php(0): WHMCS\Admin\Setup\ProductSetup->getModuleSettings()
#8 {main}
WHMCS Version: 9.0.4
AMP Module Version: 2.7.2.8
PHP Version: 8.2.29
It seems to be failing specifically at AMP_ConfigOptions(). Could you please advise on what might be causing this unknown response and how I can fix the integration?
Thank you!
