WHMCS编辑产品出错 Oops! Something went wrong and we couldn’t process your request
WHMCS编辑产品出错 Oops! Something went wrong and we couldn’t process your request.Please go back to the previous page and try again.Apache错误日志也没记录具体错误原因。
解决方法:在WHMCS后台的General Settings>>Other下勾选:Display Errors和Log Errors:
点击Save Changes保存,刷新下即可看到具体错误提示,我们遇到的是这样的:
exception ‘Whoops\Exception\ErrorException’ with message ‘Cannot redeclare _createCustomer() (previously declared in /home/XXXX/public_html/XXXX.com/modules/servers/resellerclubmdhostingin/resellerclubmdhostingin.php:483)’ in /home/XXXX/public_html/XXXX.com/servers/resellerclubvpsus/resellerclubvpsus.php:486
Stack trace:
#0/home/XXXX/public_html/XXXX.com/vendor/whmcs/whmcs-foundation/lib/Utility/Error/Run.php(0): WHMCS\Utility\Error\Run->handleError(64, ‘Cannot redeclar…’, ‘/home/XXXX/p…’, 486)
#1 [internal function]: WHMCS\Utility\Error\Run->handleShutdown()
#2 {main}
resellerclubvpsus这个模块我们需要,直接注释掉后即可正常编辑产品了。
Leave a Reply