Damo Posted April 16 Share Posted April 16 (edited) Try to view a statement from the Client Summary tab or via Reports generates the following: Error: Call to a member function lte() on bool in /home/redacted-1/public_html/modules/reports/client_statement.php:194 Stack trace: #0 /home/redacted-1/public_html/redacted-2/reports.php(0): unknown() #1 {main} Is this a new bug? Edited: The client statement works for clients that have not made payments prior to our upgrade to v 9.x. Edited April 16 by Damo 0 Quote Link to comment Share on other sites More sharing options...
wtools Posted April 16 Share Posted April 16 Hello, It may be a new bug, but a good new is we can fix it as the report code is not encrypted. Open the file /home/redacted-1/public_html/modules/reports/client_statement.php: And then you will see a line $carbonDate = $entry['date']; around the line 194, just after that add the line if (!($carbonDate instanceof Carbon)) { continue; } That should fix it. 0 Quote Link to comment Share on other sites More sharing options...
Damo Posted Friday at 12:42 AM Author Share Posted Friday at 12:42 AM Thank you for that. Although the statement page now loads, the statement is not correct. This example client currently has "credit" to the value of $224.50 but the statement shows a balance of $0.00. This release causes serious accounting issues. When will WHMCS address this? @WHMCS John has gone AWOL since these issues were first getting reported. Surely someone at WHMCS can make a statement and provide a fix or regression release. 0 Quote Link to comment Share on other sites More sharing options...
WHMCS Technical Analyst II WHMCS SamP Posted 6 hours ago WHMCS Technical Analyst II Share Posted 6 hours ago Hi all, I wanted to let you know that we are aware of this issue and have already logged a case with our development team for review in future releases. 0 Quote Link to comment Share on other sites More sharing options...
Damo Posted 6 hours ago Author Share Posted 6 hours ago From SamP I can confirm this is an issue of which we are aware and that case #WHMCS-25580 is open with our developers in order to have this reviewed for future releases. Unfortunately, I cannot provide an estimated time for completion for this. This is another critical issue present in v 9.x and the longer we operate a business without these 'accounting' features being resolved the bigger the mess becomes. I have also asked in the ticket why the WHMCS staff are absent in these forums since the release of v 9.x and the hosted version of WHMCS. 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.