MikkM Posted October 4, 2017 Share Posted October 4, 2017 Reciving following error when running cron from ssh with -F all -vvv : Quote PHP Fatal error: Cannot redeclare getwhmcsinitpath() in on line 0 Fatal error: Cannot redeclare getwhmcsinitpath() in on line 0 [WHMCS Application] ERROR: exception 'Whoops\Exception\ErrorException' with message 'Cannot redeclare getwhmcsinitpath()' in :0 Stack trace: #0 /home/boomtv/public_html/vendor/whmcs/whmcs-foundation/lib/Utility/Error/Run.php(0): WHMCS\Utility\Error\Run->handleError(1, 'Cannot redeclar...', '', 0) #1 [internal function]: WHMCS\Utility\Error\Run->handleShutdown() #2 {main} {"exception":"[object] (Whoops\\Exception\\ErrorException(code: 1): Cannot redeclare getwhmcsinitpath() at :0)"} [] How to debug more ? 0 Quote Link to comment Share on other sites More sharing options...
WHMCS Support Manager WHMCS John Posted October 6, 2017 WHMCS Support Manager Share Posted October 6, 2017 Hi, This error suggests an after-market customisations is doing an include() PHP call on a core WHMCS file when it doesn't need to, most likely a hook or addon. The first thing to try is temporarily removing any customisations that may be interfering with the normal operation of WHMCS such as addons and action hooks. These are typically located in the /modules/ and /includes/hooks directories. When the problem stops you should contact the vendor of the offending addon for support regarding their code. 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.