Jump to content

Error: Call to a member function addChild()


Recommended Posts

Hello there,

I've a problem after adding the WHMCS UnblockIP Module which I previously downloaded from (https://www.serverping.net/clients/cart.php?gid=3)

The error that appears is, like the screenshot on my attachment :

Error: Call to a member function addChild() on null in /home/hilmi/domain/my.coreitmedia.com/modules/addons/unblockip/hooks.php:176
Stack traces:
#0 /home/hilmi/domain/my.coreitmedia.com/vendor/whmcs/whmcs-foundation/lib/Hook/Manager.php(0): WHMCS\Utility\SafeInclude::{closure}(NULL)
#1 /home/hilmi/domain/my.coreitmedia.com/vendor/illuminate/support/Facades/Facade.php(261): WHMCS\Hook\Manager->run('ClientAreaNavba...', NULL, false)
#2 /home/hilmi/domain/my.coreitmedia.com/includes/functions.php(0): Illuminate\Support\Facades\Facade::__callStatic('run', Array)
#3 /home/hilmi/domain/my.coreitmedia.com/vendor/whmcs/whmcs-foundation/lib/ClientArea.php(0): run_hook('ClientAreaNavba...', NULL)
#4 /home/hilmi/domain/my.coreitmedia.com/vendor/whmcs/whmcs-foundation/lib/ClientArea.php(0): WHMCS\ClientArea->outputWithoutExit()
#5 /home/hilmi/domain/my.coreitmedia.com/vendor/whmcs/whmcs-foundation/lib/Http/Message/AbstractViewableResponse.php(0): WHMCS\ClientArea->getOutputContent()
#6 /home/hilmi/domain/my.coreitmedia.com/vendor/laminas/laminas-httphandlerrunner/src/Emitter/SapiEmitter.php(41): WHMCS\Http\Message\AbstractViewableResponse->getBody()
#7 /home/hilmi/domain/my.coreitmedia.com/vendor/laminas/laminas-httphandlerrunner/src/Emitter/SapiEmitter.php(31): Laminas\HttpHandlerRunner\Emitter\SapiEmitter->emitBody(Object(WHMCS\ClientArea) ))
#8 /home/hilmi/domain/my.coreitmedia.com/clientarea.php(0): Laminas\HttpHandlerRunner\Emitter\SapiEmitter->emit(Object(WHMCS\ClientArea))
#9 {play}

Have you all encountered the same error like this?
Please, help me to solve this problem, without having to disable the WHMCS UnblockIP Module, because I plan to use that module for UnblockIP from the client area.

Thanks...
Regards, Hilmi 

1.png

2.png

Link to comment
Share on other sites

  • 1 year 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