sahostking Posted Monday at 12:20 PM Share Posted Monday at 12:20 PM (edited) On customers profile when clicking account statements we started to get this error on new version, any ideas? Oops! Something went wrong and we couldn't process your request. Please go back to the previous page and try again. For additional assistance, please reference the WHMCS TroubleShooting Guide » Error: Call to a member function lte() on bool in /home/my/domains/my.domain.com/public_html/modules/reports/client_statement.php:169 Stack trace: #0 /home/my/domains/my.domain.com/public_html/admin/reports.php(0): unknown() #1 {main} Edited Monday at 12:21 PM by sahostking 0 Quote Link to comment Share on other sites More sharing options...
pRieStaKos Posted Monday at 05:43 PM Share Posted Monday at 05:43 PM (edited) The issue is on line 169. File is open so you can debug easy if ($carbonDate->lte($dateto)) { $balance += ($entry['credits'] - $entry['debits']); } $dateto is the date you set for the report filter. Edited Monday at 05:59 PM by pRieStaKos 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.