csmonline Posted April 28, 2018 Share Posted April 28, 2018 I moved my installation to a new server, and now getting the below error, All Files are the same, database same, however it wont work on the new server, only change is the new server is running plesk with php 7.0 Error: Call to undefined function WHMCS\Module\get_registered_hooks() in C:\inetpub\vhosts\zen.ae\cms.zen.ae\vendor\whmcs\whmcs-foundation\lib\Module\Widget.php:0Stack trace:#0 C:\inetpub\vhosts\zen.ae\cms.zen.ae\vendor\whmcs\whmcs-foundation\lib\Module\Widget.php(0): WHMCS\Module\Widget->loadWidgetsViaHooks()#1 C:\inetpub\vhosts\zen.ae\cms.zen.ae\vendor\whmcs\whmcs-foundation\lib\Module\Widget.php(0): WHMCS\Module\Widget->loadWidgets()#2 C:\inetpub\vhosts\zen.ae\cms.zen.ae\vendor\whmcs\whmcs-foundation\lib\Admin\Controller\HomepageController.php(0): WHMCS\Module\Widget->getAllWidgets()#3 [internal function]: WHMCS\Admin\Controller\HomepageController->index(Object(WHMCS\Http\Message\ServerRequest))#4 C:\inetpub\vhosts\zen.ae\cms.zen.ae\vendor\middlewares\utils\src\CallableHandler.php(26): call_user_func_array(Array, Array)#5 C:\inetpub\vhosts\zen.ae\cms.zen.ae\vendor\middlewares\fast-route\src\FastRoute.php(96): Middlewares\Utils\CallableHandler::execute(Array, Array)#6 C:\inetpub\vhosts\zen.ae\cms.zen.ae\vendor\whmcs\whmcs-foundation\lib\Route\Middleware\HandleProcessor.php(0): Middlewares\FastRoute->process(Object(WHMCS\Http\Message\ServerRequest), Object(Middlewares\Utils\Delegate))#7 C:\inetpub\vhosts\zen.ae\cms.zen.ae\vendor\whmcs\whmcs-foundation\lib\Route\Middleware\Strategy\AssumingMiddlewareTrait.php(0): WHMCS\Route\Middleware\HandleProcessor->_process(Object(WHMCS\Http\Message\ServerRequest), Object(Middlewares\Utils\Delegate))#8 C:\inetpub\vhosts\zen.ae\cms.zen.ae\vendor\middlewares\utils\src\Dispatcher.php(76): WHMCS\Route\Middleware\HandleProcessor->process(Object(WHMCS\Http\Message\ServerRequest), Object(Middlewares\Utils\Delegate))#9 [internal function]: Middlewares\Utils\Dispatcher->Middlewares\Utils\{closure}(Object(WHMCS\Http\Message\ServerRequest))#10 C:\inetpub\vhosts\zen.ae\cms.zen.ae\vendor\middlewares\utils\src\Delegate.php(31): call_user_func(Object(Closure), Object(WHMCS\Http\Message\ServerRequest))#11 C:\inetpub\vhosts\zen.ae\cms.zen.ae\vendor\whmcs\whmcs-foundation\lib\Route\Middleware\Strategy\DelegatingMiddlewareTrait.php(0): Middlewares\Utils\Delegate->process(Object(WHMCS\Http\Message\ServerRequest))#12 C:\inetpub\vhosts\zen.ae\cms.zen.ae\vendor\whmcs\whmcs-foundation\lib\Security\Middleware\Authorization.php(0): WHMCS\Security\Middleware\Authorization->delegateProcess(Object(WHMCS\Http\Message\ServerRequest), Object(Middlewares\Utils\Delegate))#13 C:\inetpub\vhosts\zen.ae\cms.zen.ae\vendor\whmcs\whmcs-foundation\lib\Route\Middleware\AbstractProxyMiddleware.php(0): WHMCS\Security\Middleware\Authorization->process(Object(WHMCS\Http\Message\ServerRequest), Object(Middlewares\Utils\Delegate))#14 C:\inetpub\vhosts\zen.ae\cms.zen.ae\vendor\whmcs\whmcs-foundation\lib\Route\Middleware\Strategy\AssumingMiddlewareTrait.php(0): WHMCS\Route\Middleware\AbstractProxyMiddleware->_process(Object(WHMCS\Http\Message\ServerRequest), Object(Middlewares\Utils\Delegate))#15 C:\inetpub\vhosts\zen.ae\cms.zen.ae\vendor\middlewares\utils\src\Dispatcher.php(76): WHMCS\Route\Middleware\AbstractProxyMiddleware->process(Object(WHMCS\Http\Message\ServerRequest), Object(Middlewares\Utils\Delegate))#16 [internal function]: Middlewares\Utils\Dispatcher->Middlewares\Utils\{closure}(Object(WHMCS\Http\Message\ServerRequest))#17 C:\inetpub\vhosts\zen.ae\cms.zen.ae\vendor\middlewares\utils\src\Delegate.php(31): call_user_func(Object(Closure), Object(WHMCS\Http\Message\ServerRequest))#18 C:\inetpub\vhosts\zen.ae\cms.zen.ae\vendor\whmcs\whmcs-foundation\lib\Route\Middleware\Strategy\DelegatingMiddlewareTrait.php(0): Middlewares\Utils\Delegate->process(Object(WHMCS\Http\Message\ServerRequest))#19 C:\inetpub\vhosts\zen.ae\cms.zen.ae\vendor\whmcs\whmcs-foundation\lib\Route\Middleware\AbstractProxyMiddleware.php(0): WHMCS\Admin\ApplicationSupport\Route\Middleware\Authentication->process(Object(WHMCS\Http\Message\ServerRequest), Object(Middlewares\Utils\Delegate))#20 C:\inetpub\vhosts\zen.ae\cms.zen.ae\vendor\whmcs\whmcs-foundation\lib\Route\Middleware\Strategy\AssumingMiddlewareTrait.php(0): WHMCS\Route\Middleware\AbstractProxyMiddleware->_process(Object(WHMCS\Http\Message\ServerRequest), Object(Middlewares\Utils\Delegate))#21 C:\inetpub\vhosts\zen.ae\cms.zen.ae\vendor\middlewares\utils\src\Dispatcher.php(76): WHMCS\Route\Middleware\AbstractProxyMiddleware->process(Object(WHMCS\Http\Message\ServerRequest), Object(Middlewares\Utils\Delegate))#22 [internal function]: Middlewares\Utils\Dispatcher->Middlewares\Utils\{closure}(Object(WHMCS\Http\Message\ServerRequest))#23 C:\inetpub\vhosts\zen.ae\cms.zen.ae\vendor\middlewares\utils\src\Delegate.php(31): call_user_func(Object(Closure), Object(WHMCS\Http\Message\ServerRequest))#24 C:\inetpub\vhosts\zen.ae\cms.zen.ae\vendor\whmcs\whmcs-foundation\lib\Route\Middleware\Strategy\DelegatingMiddlewareTrait.php(0): Middlewares\Utils\Delegate->process(Object(WHMCS\Http\Message\ServerRequest))#25 C:\inetpub\vhosts\zen.ae\cms.zen.ae\vendor\middlewares\utils\src\Dispatcher.php(76): WHMCS\Admin\ApplicationSupport\Route\Middleware\DirectoryValidation->process(Object(WHMCS\Http\Message\ServerRequest), Object(Middlewares\Utils\Delegate))#26 [internal function]: Middlewares\Utils\Dispatcher->Middlewares\Utils\{closure}(Object(WHMCS\Http\Message\ServerRequest))#27 C:\inetpub\vhosts\zen.ae\cms.zen.ae\vendor\middlewares\utils\src\Delegate.php(31): call_user_func(Object(Closure), Object(WHMCS\Http\Message\ServerRequest))#28 C:\inetpub\vhosts\zen.ae\cms.zen.ae\vendor\whmcs\whmcs-foundation\lib\Route\Middleware\BackendPsr7Response.php(0): Middlewares\Utils\Delegate->process(Object(WHMCS\Http\Message\ServerRequest))#29 C:\inetpub\vhosts\zen.ae\cms.zen.ae\vendor\whmcs\whmcs-foundation\lib\Route\Middleware\BackendPsr7Response.php(0): WHMCS\Route\Middleware\BackendPsr7Response->_process(Object(WHMCS\Http\Message\ServerRequest), Object(Middlewares\Utils\Delegate))#30 C:\inetpub\vhosts\zen.ae\cms.zen.ae\vendor\middlewares\utils\src\Dispatcher.php(76): WHMCS\Route\Middleware\BackendPsr7Response->process(Object(WHMCS\Http\Message\ServerRequest), Object(Middlewares\Utils\Delegate))#31 [internal function]: Middlewares\Utils\Dispatcher->Middlewares\Utils\{closure}(Object(WHMCS\Http\Message\ServerRequest))#32 C:\inetpub\vhosts\zen.ae\cms.zen.ae\vendor\middlewares\utils\src\Delegate.php(31): call_user_func(Object(Closure), Object(WHMCS\Http\Message\ServerRequest))#33 C:\inetpub\vhosts\zen.ae\cms.zen.ae\vendor\middlewares\utils\src\Dispatcher.php(56): Middlewares\Utils\Delegate->process(Object(WHMCS\Http\Message\ServerRequest))#34 C:\inetpub\vhosts\zen.ae\cms.zen.ae\vendor\whmcs\whmcs-foundation\lib\Route\Middleware\BackendDispatch.php(0): Middlewares\Utils\Dispatcher->dispatch(Object(WHMCS\Http\Message\ServerRequest))#35 C:\inetpub\vhosts\zen.ae\cms.zen.ae\vendor\whmcs\whmcs-foundation\lib\Route\Middleware\Strategy\AssumingMiddlewareTrait.php(0): WHMCS\Route\Middleware\BackendDispatch->_process(Object(WHMCS\Http\Message\ServerRequest), Object(Middlewares\Utils\Delegate))#36 C:\inetpub\vhosts\zen.ae\cms.zen.ae\vendor\middlewares\utils\src\Dispatcher.php(76): WHMCS\Route\Middleware\BackendDispatch->process(Object(WHMCS\Http\Message\ServerRequest), Object(Middlewares\Utils\Delegate))#37 [internal function]: Middlewares\Utils\Dispatcher->Middlewares\Utils\{closure}(Object(WHMCS\Http\Message\ServerRequest))#38 C:\inetpub\vhosts\zen.ae\cms.zen.ae\vendor\middlewares\utils\src\Delegate.php(31): call_user_func(Object(Closure), Object(WHMCS\Http\Message\ServerRequest))#39 C:\inetpub\vhosts\zen.ae\cms.zen.ae\vendor\whmcs\whmcs-foundation\lib\Route\Middleware\RoutePathMatch.php(0): Middlewares\Utils\Delegate->process(Object(WHMCS\Http\Message\ServerRequest))#40 C:\inetpub\vhosts\zen.ae\cms.zen.ae\vendor\whmcs\whmcs-foundation\lib\Route\Middleware\Strategy\AssumingMiddlewareTrait.php(0): WHMCS\Route\Middleware\RoutePathMatch->_process(Object(WHMCS\Http\Message\ServerRequest), Object(Middlewares\Utils\Delegate))#41 C:\inetpub\vhosts\zen.ae\cms.zen.ae\vendor\middlewares\utils\src\Dispatcher.php(76): WHMCS\Route\Middleware\RoutePathMatch->process(Object(WHMCS\Http\Message\ServerRequest), Object(Middlewares\Utils\Delegate))#42 [internal function]: Middlewares\Utils\Dispatcher->Middlewares\Utils\{closure}(Object(WHMCS\Http\Message\ServerRequest))#43 C:\inetpub\vhosts\zen.ae\cms.zen.ae\vendor\middlewares\utils\src\Delegate.php(31): call_user_func(Object(Closure), Object(WHMCS\Http\Message\ServerRequest))#44 C:\inetpub\vhosts\zen.ae\cms.zen.ae\vendor\whmcs\whmcs-foundation\lib\Route\Middleware\WhitelistFilter.php(0): Middlewares\Utils\Delegate->process(Object(WHMCS\Http\Message\ServerRequest))#45 C:\inetpub\vhosts\zen.ae\cms.zen.ae\vendor\whmcs\whmcs-foundation\lib\Route\Middleware\Strategy\DelegatingMiddlewareTrait.php(0): WHMCS\Route\Middleware\WhitelistFilter->_process(Object(WHMCS\Http\Message\ServerRequest), Object(Middlewares\Utils\Delegate))#46 C:\inetpub\vhosts\zen.ae\cms.zen.ae\vendor\middlewares\utils\src\Dispatcher.php(76): WHMCS\Route\Middleware\WhitelistFilter->process(Object(WHMCS\Http\Message\ServerRequest), Object(Middlewares\Utils\Delegate))#47 [internal function]: Middlewares\Utils\Dispatcher->Middlewares\Utils\{closure}(Object(WHMCS\Http\Message\ServerRequest))#48 C:\inetpub\vhosts\zen.ae\cms.zen.ae\vendor\middlewares\utils\src\Delegate.php(31): call_user_func(Object(Closure), Object(WHMCS\Http\Message\ServerRequest))#49 C:\inetpub\vhosts\zen.ae\cms.zen.ae\vendor\whmcs\whmcs-foundation\lib\Route\Middleware\RoutableClientModuleRequest.php(0): Middlewares\Utils\Delegate->process(Object(WHMCS\Http\Message\ServerRequest))#50 C:\inetpub\vhosts\zen.ae\cms.zen.ae\vendor\whmcs\whmcs-foundation\lib\Route\Middleware\Strategy\AssumingMiddlewareTrait.php(0): WHMCS\Route\Middleware\RoutableClientModuleRequest->_process(Object(WHMCS\Http\Message\ServerRequest), Object(Middlewares\Utils\Delegate))#51 C:\inetpub\vhosts\zen.ae\cms.zen.ae\vendor\middlewares\utils\src\Dispatcher.php(76): WHMCS\Route\Middleware\RoutableClientModuleRequest->process(Object(WHMCS\Http\Message\ServerRequest), Object(Middlewares\Utils\Delegate))#52 [internal function]: Middlewares\Utils\Dispatcher->Middlewares\Utils\{closure}(Object(WHMCS\Http\Message\ServerRequest))#53 C:\inetpub\vhosts\zen.ae\cms.zen.ae\vendor\middlewares\utils\src\Delegate.php(31): call_user_func(Object(Closure), Object(WHMCS\Http\Message\ServerRequest))#54 C:\inetpub\vhosts\zen.ae\cms.zen.ae\vendor\whmcs\whmcs-foundation\lib\Route\Middleware\RoutableAdminRequestUri.php(0): Middlewares\Utils\Delegate->process(Object(WHMCS\Http\Message\ServerRequest))#55 C:\inetpub\vhosts\zen.ae\cms.zen.ae\vendor\whmcs\whmcs-foundation\lib\Route\Middleware\Strategy\AssumingMiddlewareTrait.php(0): WHMCS\Route\Middleware\RoutableAdminRequestUri->_process(Object(WHMCS\Http\Message\ServerRequest), Object(Middlewares\Utils\Delegate))#56 C:\inetpub\vhosts\zen.ae\cms.zen.ae\vendor\middlewares\utils\src\Dispatcher.php(76): WHMCS\Route\Middleware\RoutableAdminRequestUri->process(Object(WHMCS\Http\Message\ServerRequest), Object(Middlewares\Utils\Delegate))#57 [internal function]: Middlewares\Utils\Dispatcher->Middlewares\Utils\{closure}(Object(WHMCS\Http\Message\ServerRequest))#58 C:\inetpub\vhosts\zen.ae\cms.zen.ae\vendor\middlewares\utils\src\Delegate.php(31): call_user_func(Object(Closure), Object(WHMCS\Http\Message\ServerRequest))#59 C:\inetpub\vhosts\zen.ae\cms.zen.ae\vendor\whmcs\whmcs-foundation\lib\Route\Middleware\RoutableRequestUri.php(0): Middlewares\Utils\Delegate->process(Object(WHMCS\Http\Message\ServerRequest))#60 C:\inetpub\vhosts\zen.ae\cms.zen.ae\vendor\whmcs\whmcs-foundation\lib\Route\Middleware\Strategy\AssumingMiddlewareTrait.php(0): WHMCS\Route\Middleware\RoutableRequestUri->_process(Object(WHMCS\Http\Message\ServerRequest), Object(Middlewares\Utils\Delegate))#61 C:\inetpub\vhosts\zen.ae\cms.zen.ae\vendor\middlewares\utils\src\Dispatcher.php(76): WHMCS\Route\Middleware\RoutableRequestUri->process(Object(WHMCS\Http\Message\ServerRequest), Object(Middlewares\Utils\Delegate))#62 [internal function]: Middlewares\Utils\Dispatcher->Middlewares\Utils\{closure}(Object(WHMCS\Http\Message\ServerRequest))#63 C:\inetpub\vhosts\zen.ae\cms.zen.ae\vendor\middlewares\utils\src\Delegate.php(31): call_user_func(Object(Closure), Object(WHMCS\Http\Message\ServerRequest))#64 C:\inetpub\vhosts\zen.ae\cms.zen.ae\vendor\whmcs\whmcs-foundation\lib\Route\Middleware\RoutableRequestQueryUri.php(0): Middlewares\Utils\Delegate->process(Object(WHMCS\Http\Message\ServerRequest))#65 C:\inetpub\vhosts\zen.ae\cms.zen.ae\vendor\whmcs\whmcs-foundation\lib\Route\Middleware\Strategy\AssumingMiddlewareTrait.php(0): WHMCS\Route\Middleware\RoutableRequestQueryUri->_process(Object(WHMCS\Http\Message\ServerRequest), Object(Middlewares\Utils\Delegate))#66 C:\inetpub\vhosts\zen.ae\cms.zen.ae\vendor\middlewares\utils\src\Dispatcher.php(76): WHMCS\Route\Middleware\RoutableRequestQueryUri->process(Object(WHMCS\Http\Message\ServerRequest), Object(Middlewares\Utils\Delegate))#67 [internal function]: Middlewares\Utils\Dispatcher->Middlewares\Utils\{closure}(Object(WHMCS\Http\Message\ServerRequest))#68 C:\inetpub\vhosts\zen.ae\cms.zen.ae\vendor\middlewares\utils\src\Delegate.php(31): call_user_func(Object(Closure), Object(WHMCS\Http\Message\ServerRequest))#69 C:\inetpub\vhosts\zen.ae\cms.zen.ae\vendor\middlewares\utils\src\Dispatcher.php(56): Middlewares\Utils\Delegate->process(Object(WHMCS\Http\Message\ServerRequest))#70 C:\inetpub\vhosts\zen.ae\cms.zen.ae\init.php(0): Middlewares\Utils\Dispatcher->dispatch(Object(WHMCS\Http\Message\ServerRequest))#71 C:\inetpub\vhosts\zen.ae\cms.zen.ae\admincp\index.php(0): unknown()#72 {main} 0 Quote Link to comment Share on other sites More sharing options...
twhiting9275 Posted April 29, 2018 Share Posted April 29, 2018 WHMCS and Windows don't play together any more. Time to move on to a proper hosting environment, sorry to say 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.