1 (edited by seahawk 07/19/2023 10:41:47 am)

Topic: Error on Sales Tab with Customer Transaction enquiry

When you go sales/ Inquiries and Reports /  Customer Transaction Inquiry

When I select any client I get the following error although the information is still displaying.

Trying to access array offset on value of type bool in file: /home/mywebsite/public_html/accounts/sales/inquiry/customer_inquiry.php at line 116

Trying to access array offset on value of type bool in file: /home/mywebsite/public_html/accounts/sales/inquiry/customer_inquiry.php at line 131

Trying to access array offset on value of type bool in file: /home/mywebsite/public_html/accounts/sales/inquiry/customer_inquiry.php at line 132

Trying to access array offset on value of type bool in file: /home/mywebsite/public_html/accounts/sales/inquiry/customer_inquiry.php at line 133

Trying to access array offset on value of type bool in file: /home/mywebsite/public_html/accounts/sales/inquiry/customer_inquiry.php at line 134

Trying to access array offset on value of type bool in file: /home/mywebsite/public_html/accounts/sales/inquiry/customer_inquiry.php at line 135

Trying to access array offset on value of type bool in file: /home/mywebsite/public_html/accounts/sales/inquiry/customer_inquiry.php at line 136

Trying to access array offset on value of type bool in file: /home/mywebsite/public_html/accounts/sales/inquiry/customer_inquiry.php at line 137

What would cause this issue?

Wynand

Re: Error on Sales Tab with Customer Transaction enquiry

Which version of FA and PHP you are using?

www.boxygen.pk

Re: Error on Sales Tab with Customer Transaction enquiry

Version 2.4.16 and PHP 8.0

Sorry for omitting that.

Wynand

Re: Error on Sales Tab with Customer Transaction enquiry

Is this a fatal error or the page is still working? This may be warning for PHP 8 and may need to be fix

www.boxygen.pk

5 (edited by seahawk 07/27/2023 10:52:25 am)

Re: Error on Sales Tab with Customer Transaction enquiry

It still displays the information requested, will the errors on top of the info. Irrespective of the setting for the php.ini file display_errors = Off or On, the info still displays

There is nothing in the error logs.

See something here https://stackoverflow.com/questions/74862088/warning-trying-to-access-array-offset-on-value-of-type-bool-error-when-upgrading

It seems something in the customer_inquiry.php is the issue.

When selecting All Customers, there is no error. When selecting any other customer, receive the error. It seems to only throw the error on certain customers. For other customers, there is no problem.

Wynand