Jump to content

BX 2.2.192 error on php8


evcz

Recommended Posts

Hi

 

reporting this fatal error

AH01071: Got error 'PHP message: [WHMCS Application] ERROR: Error: Attempt to assign property "clientsinvoicesorderby" on null in /var/www/vhosts/contoso.com/public_html/modules/addons/BillingExtension/core/BillingExtension_Admin/Hook.php:5731 Stack trace: #0 /var/www/vhosts/contoso.com/public_html/modules/addons/BillingExtension/core/BillingExtension_Admin/Hook.php(94): BillingExtension\\BillingExtension_Admin\\Hook->InvoiceRestrictions() #1 /var/www/vhosts/contoso.com/public_html/modules/addons/BillingExtension/hooks.php(236): BillingExtension\\BillingExtension_Admin\\Hook->ApplyLayers() #2 [internal function]: BillingExtension_AdminAreaHeaderOutput() #3 /var/www/vhosts/contoso.com/public_html/vendor/whmcs/whmcs-foundation/lib/Hook/Manager.php(0): call_user_func() #4 /var/www/vhosts/contoso.com/public_html/vendor/illuminate/support/Facades/Facade.php(261): WHMCS\\Hook\\Manager->run() #5 /var/www/vhosts/contoso.com/public_html/includes/functions.php(0): Illuminate\\Support\\Facades\\Facade::__callStatic() #6 /var/www/vhosts/contoso.com/public_html/vendor/whmcs...', referer: https://www.contoso.com/admin/index.php

 

when trying to open 

 

/admin/invoices.php?status=Unpaid

 

in a newly logged in whmcs session

 

this is on php 8.1

 

when reverted to php7.4 it works fine

 

thanks

Edited by evcz
Link to comment
Share on other sites

  • 3 months later...
Posted (edited)

Hi,

Yes I have the same problem. BX doesn't work with php 8.1 even though they promise it in the product description. You must use php 7.4.
BX support is terrible and they haven't been able to fix the problem in years.

Edited by barneby
Link to comment
Share on other sites

  • 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