Jump to content

Reseller Center with Hexa Theme + Admin Panel refresh issues


Recommended Posts

Hello!

I've recently upgraded from 7.6.1 WHMCS and PHP 7.0 to the latest of both (WHMCS 7.7.1 and PHP 7.3). I'm currently having an issue with the ResellerCenter by Modulesgarden where I can access the admin panel, but unable to see the reselling panel given to the clients. When the 'reseller center' is clicked on the client dashboard (using theme Six for testing, would like to get hexa theme integrated with it if possible) it will load the main menu screen. I believe there's an issue with our index.php as it is custom which is also causing issues with the admin panel refusing to refresh as well. 

I have debugging mode turned on and these are a couple of the errors noticed. 

 

Error: Error: Call to undefined function WHMCS\CALinkUpdateCC() in /var/www/html/vendor/whmcs/whmcs-foundation/lib/ClientArea.php:0 Stack trace: #0 /var/www/html/vendor/whmcs/whmcs-foundation/lib/ClientArea.php(0): WHMCS\ClientArea::getConditionalLinks() #1 /var/www/html/vendor/whmcs/whmcs-foundation/lib/ClientArea.php(0): WHMCS\ClientArea->outputWithoutExit() #2 /var/www/html/vendor/whmcs/whmcs-foundation/lib/Http/Message/AbstractViewableResponse.php(0): WHMCS\ClientArea->getOutputContent() #3 /var/www/html/vendor/middlewares/utils/src/CallableHandler.php(39): WHMCS\Http\Message\AbstractViewableResponse->getBody() #4 /var/www/html/vendor/middlewares/fast-route/src/FastRoute.php(96): Middlewares\Utils\CallableHandler::execute(Array, Array) #5 /var/www/html/vendor/whmcs/whmcs-foundation/lib/Route/Middleware/HandleProcessor.php(0): Middlewares\FastRoute->process(Object(WHMCS\Http\Message\ServerRequest), Object(Middlewares\Utils\Delegate)) #6 /var/www/html/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)) #7 /var/www/html/vendor/middlewares/utils/src/Dispatcher.php(76): WHMCS\Route\Middleware\HandleProcessor->process(Object(WHMCS\Http\Message\ServerRequest), Object(Middlewares\Utils\Delegate)) #8 [internal function]: Middlewares\Utils\Dispatcher->Middlewares\Utils\{closure}(Object(WHMCS\Http\Message\ServerRequest)) #9 /var/www/html/vendor/middlewares/utils/src/Delegate.php(31): call_user_func(Object(Closure), Object(WHMCS\Http\Message\ServerRequest)) #10 /var/www/html/vendor/middlewares/utils/src/Dispatcher.php(56): Middlewares\Utils\Delegate->process(Object(WHMCS\Http\Message\ServerRequest)) #11 /var/www/html/vendor/whmcs/whmcs-foundation/lib/Route/Middleware/BackendDispatch.php(0): Middlewares\Utils\Dispatcher->dispatch(Object(WHMCS\Http\Message\ServerRequest)) #12 /var/www/html/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)) #13 /var/www/html/vendor/middlewares/utils/src/Dispatcher.php(76): WHMCS\Route\Middleware\BackendDispatch->process(Object(WHMCS\Http\Message\ServerRequest), Object(Middlewares\Utils\Delegate)) #14 [internal function]: Middlewares\Utils\Dispatcher->Middlewares\Utils\{closure}(Object(WHMCS\Http\Message\ServerRequest)) #15 /var/www/html/vendor/middlewares/utils/src/Delegate.php(31): call_user_func(Object(Closure), Object(WHMCS\Http\Message\ServerRequest)) #16 /var/www/html/vendor/whmcs/whmcs-foundation/lib/Route/Middleware/RoutePathMatch.php(0): Middlewares\Utils\Delegate->process(Object(WHMCS\Http\Message\ServerRequest)) #17 /var/www/html/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)) #18 /var/www/html/vendor/middlewares/utils/src/Dispatcher.php(76): WHMCS\Route\Middleware\RoutePathMatch->process(Object(WHMCS\Http\Message\ServerRequest), Object(Middlewares\Utils\Delegate)) #19 [internal function]: Middlewares\Utils\Dispatcher->Middlewares\Utils\{closure}(Object(WHMCS\Http\Message\ServerRequest)) #20 /var/www/html/vendor/middlewares/utils/src/Delegate.php(31): call_user_func(Object(Closure), Object(WHMCS\Http\Message\ServerRequest)) #21 /var/www/html/vendor/whmcs/whmcs-foundation/lib/Route/Middleware/WhitelistFilter.php(0): Middlewares\Utils\Delegate->process(Object(WHMCS\Http\Message\ServerRequest)) #22 /var/www/html/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)) #23 /var/www/html/vendor/middlewares/utils/src/Dispatcher.php(76): WHMCS\Route\Middleware\WhitelistFilter->process(Object(WHMCS\Http\Message\ServerRequest), Object(Middlewares\Utils\Delegate)) #24 [internal function]: Middlewares\Utils\Dispatcher->Middlewares\Utils\{closure}(Object(WHMCS\Http\Message\ServerRequest)) #25 /var/www/html/vendor/middlewares/utils/src/Delegate.php(31): call_user_func(Object(Closure), Object(WHMCS\Http\Message\ServerRequest)) #26 /var/www/html/vendor/whmcs/whmcs-foundation/lib/Route/Middleware/RoutableClientModuleRequest.php(0): Middlewares\Utils\Delegate->process(Object(WHMCS\Http\Message\ServerRequest)) #27 /var/www/html/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)) #28 /var/www/html/vendor/middlewares/utils/src/Dispatcher.php(76): WHMCS\Route\Middleware\RoutableClientModuleRequest->process(Object(WHMCS\Http\Message\ServerRequest), Object(Middlewares\Utils\Delegate)) #29 [internal function]: Middlewares\Utils\Dispatcher->Middlewares\Utils\{closure}(Object(WHMCS\Http\Message\ServerRequest)) #30 /var/www/html/vendor/middlewares/utils/src/Delegate.php(31): call_user_func(Object(Closure), Object(WHMCS\Http\Message\ServerRequest)) #31 /var/www/html/vendor/whmcs/whmcs-foundation/lib/Route/Middleware/RoutableAdminRequestUri.php(0): Middlewares\Utils\Delegate->process(Object(WHMCS\Http\Message\ServerRequest)) #32 /var/www/html/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)) #33 /var/www/html/vendor/middlewares/utils/src/Dispatcher.php(76): WHMCS\Route\Middleware\RoutableAdminRequestUri->process(Object(WHMCS\Http\Message\ServerRequest), Object(Middlewares\Utils\Delegate)) #34 [internal function]: Middlewares\Utils\Dispatcher->Middlewares\Utils\{closure}(Object(WHMCS\Http\Message\ServerRequest)) #35 /var/www/html/vendor/middlewares/utils/src/Delegate.php(31): call_user_func(Object(Closure), Object(WHMCS\Http\Message\ServerRequest)) #36 /var/www/html/vendor/whmcs/whmcs-foundation/lib/Route/Middleware/RoutableRequestUri.php(0): Middlewares\Utils\Delegate->process(Object(WHMCS\Http\Message\ServerRequest)) #37 /var/www/html/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)) #38 /var/www/html/vendor/middlewares/utils/src/Dispatcher.php(76): WHMCS\Route\Middleware\RoutableRequestUri->process(Object(WHMCS\Http\Message\ServerRequest), Object(Middlewares\Utils\Delegate)) #39 [internal function]: Middlewares\Utils\Dispatcher->Middlewares\Utils\{closure}(Object(WHMCS\Http\Message\ServerRequest)) #40 /var/www/html/vendor/middlewares/utils/src/Delegate.php(31): call_user_func(Object(Closure), Object(WHMCS\Http\Message\ServerRequest)) #41 /var/www/html/vendor/whmcs/whmcs-foundation/lib/Route/Middleware/RoutableRequestQueryUri.php(0): Middlewares\Utils\Delegate->process(Object(WHMCS\Http\Message\ServerRequest)) #42 /var/www/html/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)) #43 /var/www/html/vendor/middlewares/utils/src/Dispatcher.php(76): WHMCS\Route\Middleware\RoutableRequestQueryUri->process(Object(WHMCS\Http\Message\ServerRequest), Object(Middlewares\Utils\Delegate)) #44 [internal function]: Middlewares\Utils\Dispatcher->Middlewares\Utils\{closure}(Object(WHMCS\Http\Message\ServerRequest)) #45 /var/www/html/vendor/middlewares/utils/src/Delegate.php(31): call_user_func(Object(Closure), Object(WHMCS\Http\Message\ServerRequest)) #46 /var/www/html/vendor/middlewares/utils/src/Dispatcher.php(56): Middlewares\Utils\Delegate->process(Object(WHMCS\Http\Message\ServerRequest)) #47 /var/www/html/admin/index.php(0): Middlewares\Utils\Dispatcher->dispatch(Object(WHMCS\Http\Message\ServerRequest)) #48 {main}

 

MGModule\ResellersCenter\models\source\ModelException::__set_state(array(
   'message' => 'The entered group is invalid',
   'string' => '',
   'code' => 0,
   'file' => '/var/www/html/modules/addons/ResellersCenter/models/Reseller.php',
   'line' => 116,
   'trace' => 
  array (
    0 => 
    array (
      'file' => '/var/www/html/modules/addons/ResellersCenter/repository/Resellers.php',
      'line' => 31,
      'function' => 'fillData',
      'class' => 'MGModule\\ResellersCenter\\models\\Reseller',
      'type' => '->',
      'args' => 
      array (
        0 => '1547',
        1 => NULL,
      ),
    ),
    1 => 
    array (
      'file' => '/var/www/html/modules/addons/ResellersCenter/controllers/addon/admin/Resellers.php',
      'line' => 62,
      'function' => 'createNew',
      'class' => 'MGModule\\ResellersCenter\\repository\\Resellers',
      'type' => '->',
      'args' => 
      array (
        0 => '1547',
        1 => NULL,
      ),
    ),
    2 => 
    array (
      'file' => '/var/www/html/modules/addons/ResellersCenter/mgLibs/process/AbstractMainDriver.php',
      'line' => 245,
      'function' => 'createResellerJSON',
      'class' => 'MGModule\\ResellersCenter\\Controllers\\Addon\\Admin\\Resellers',
      'type' => '->',
      'args' => 
      array (
        0 => 
        array (
          'json' => '1',
          'mg-page' => 'resellers',
          'module' => 'ResellersCenter',
          'clientid' => '1547',
          'mg-action' => 'createReseller',
        ),
      ),
    ),
    3 => 
    array (
      'file' => '/var/www/html/modules/addons/ResellersCenter/Addon.php',
      'line' => 587,
      'function' => 'runControler',
      'class' => 'MGModule\\ResellersCenter\\mgLibs\\process\\AbstractMainDriver',
      'type' => '->',
      'args' => 
      array (
        0 => 'Resellers',
        1 => 'createReseller',
        2 => 
        array (
          'json' => '1',
          'mg-page' => 'resellers',
          'module' => 'ResellersCenter',
          'clientid' => '1547',
          'mg-action' => 'createReseller',
        ),
        3 => 'JSON',
      ),
    ),
    4 => 
    array (
      'file' => '/var/www/html/modules/addons/ResellersCenter/ResellersCenter.php',
      'line' => 44,
      'function' => 'getJSONAdminPage',
      'class' => 'MGModule\\ResellersCenter\\Addon',
      'type' => '::',
      'args' => 
      array (
        0 => 
        array (
          'json' => '1',
          'mg-page' => 'resellers',
          'module' => 'ResellersCenter',
          'clientid' => '1547',
          'mg-action' => 'createReseller',
        ),
      ),
    ),
    5 => 
    array (
      'file' => '/var/www/html/admin/addonmodules.php',
      'line' => 0,
      'function' => 'ResellersCenter_output',
      'args' => 
      array (
        0 => 
        array (
          'module' => 'ResellersCenter',
          'modulelink' => 'addonmodules.php?module=ResellersCenter',
          'version' => '3.4.0',
          'hooksEnabled' => 'on',
          'mainWhmcsEnabled' => 'on',
          'access' => '1',
        ),
      ),
    ),
  ),
   'previous' => NULL,
))

 

Edited by Codge
Link to comment
Share on other sites

  • 1 month later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated