snaagk Posted March 29 Share Posted March 29 PHP Fatal error: Class 'Capsule' not found in /www/wwwroot/domain.com/whmcs/includes/hooks/enhanced-autorelease.php on line 12 [WHMCS Application] ERROR: exception 'Whoops\Exception\ErrorException' with message 'Class 'Capsule' not found' in /www/wwwroot/domain.com/whmcs/includes/hooks/enhanced-autorelease.php:12 Stack trace: #0 /www/wwwroot/domain.com/whmcs/vendor/whmcs/whmcs-foundation/lib/Utility/Error/Run.php(0): WHMCS\Utility\Error\Run->handleError(1, 'Class 'Capsule'...', '/www/wwwroot/ho...', 12) #1 [internal function]: WHMCS\Utility\Error\Run->handleShutdown() #2 {main} {"exception":"[object] (Whoops\\Exception\\ErrorException(code: 1): Class 'Capsule' not found at /www/wwwroot/domain.com/whmcs/includes/hooks/enhanced-autorelease.php:12)"} [] Whoops\Exception\ErrorException: Class 'Capsule' not found in /www/wwwroot/domain.com/whmcs/includes/hooks/enhanced-autorelease.php:12 #0 /www/wwwroot/domain.com/whmcs/vendor/whmcs/whmcs-foundation/lib/Utility/Error/Run.php(0): WHMCS\Utility\Error\Run->handleError(1, 'Class 'Capsule'...', '/www/wwwroot/ho...', 12) #1 [internal function]: WHMCS\Utility\Error\Run->handleShutdown() #2 {main}---------------------------------------------------------------------------- ★[2025-03-29 15:05:02] Successful ---------------------------------------- whmcs7.6 + php5.6 got this error message from corn job system report ! help me !! how to fix it ? 0 Quote Link to comment Share on other sites More sharing options...
pRieStaKos Posted March 31 Share Posted March 31 (edited) You have a hook named "enhanced-autorelease.php". Contact the author to fix it, for you or add this on line 8 use Illuminate\Database\Capsule\Manager as Capsule; Edited March 31 by pRieStaKos 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.