Damo Posted 22 hours ago Share Posted 22 hours ago (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 21 hours ago by Damo 0 Quote Link to comment Share on other sites More sharing options...
wtools Posted 17 hours ago Share Posted 17 hours ago 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 4 hours ago Author Share Posted 4 hours ago 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...
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.