Jump to content

Problem in WHMCS


pasargad

Recommended Posts

Hi all!

I'm using WHMCS 8.4.1

in error_log show:

[13-Apr-2022 14:29:32 UTC] PHP Warning:  function_exists() expects exactly 2 parameters, 1 given in /home/userhost/public_html/whmcspath/init.php on line 0
[13-Apr-2022 14:29:32 UTC] PHP Warning:  function_exists() expects exactly 2 parameters, 1 given in /home/userhost/public_html/whmcspath/init.php on line 0
[13-Apr-2022 14:29:32 UTC] PHP Warning:  is_callable() expects exactly 2 parameters, 1 given in /home/userhost/public_html/whmcspath/vendor/whmcs/whmcs-foundation/lib/Utility/Error/Run.php on line 0
[13-Apr-2022 14:29:32 UTC] [WHMCS Application] ERROR: TypeError: Return value of WHMCS\Hook\Manager::toString() must be of the type string, null returned in /home/userhost/public_html/whmcspath/vendor/whmcs/whmcs-foundation/lib/Hook/Manager.php:0 Stack trace: #0 /home/userhost/public_html/whmcspath/vendor/whmcs/whmcs-foundation/lib/Hook/Manager.php(0): WHMCS\Hook\Manager->toString(Object(Closure)) 
#1 /home/userhost/public_html/whmcspath/vendor/whmcs/whmcs-foundation/lib/Hook/PublicRegistry.php(0): WHMCS\Hook\Manager->add('ClientAreaSideb...', -1, Object(Closure), '') 
#2 /home/userhost/public_html/whmcspath/vendor/illuminate/support/Facades/Facade.php(261): WHMCS\Hook\PublicRegistry->add('ClientAreaSideb...', -1, Object(Closure), '') 
#3 /home/userhost/public_html/whmcspath/includes/functions.php(0): Illuminate\Support\Facades\Facade::__callStatic('add', Array) 
#4 /home/userhost/public_html/whmcspath/vendor/whmcs/whmcs-foundation/lib/MarketConnect/Promotion.php(0): add_hook('ClientAreaSideb...', -1, Object(Closure)) 
#5 /home/userhost/public_html/whmcspath/vendor/whmcs/whmcs-foundation/lib/Hook/Manager.php(0): WHMCS\MarketConnect\Promotion::initHooks() 
#6 /home/userhost/public_html/whmcspath/vendor/illuminate/support/Facades/Facade.php(261): WHMCS\Hook\Manager->boot() 
#7 /home/userhost/public_html/whmcspath/init.php(0): Illuminate\Support\Facades\Facade::__callStatic('boot', Array) 
#8 /home/userhost/public_html/whmcspath/AdminsPanel/index.php(0): unknown() 
#9 {main} {"exception":"[object] (TypeError(code: 0): Return value of WHMCS\\Hook\\Manager::toString() must be of the type string, null returned at /home/userhost/public_html/whmcspath/vendor/whmcs/whmcs-foundation/lib/Hook/Manager.php:0)"} []

what is the problem?

thank you

Link to comment
Share on other sites

  • 3 weeks 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