sahostking Posted June 23 Share Posted June 23 (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 June 23 by sahostking 0 Quote Link to comment Share on other sites More sharing options...
pRieStaKos Posted June 23 Share Posted June 23 (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 June 23 by pRieStaKos 0 Quote Link to comment Share on other sites More sharing options...
WHMCS Support Manager WHMCS John Posted June 27 WHMCS Support Manager Share Posted June 27 Hi @sakamhosting, I'm not able to replicate this error in my stock 8.13.1 install. Can you share a small screencast or step-by-step instructions to replicate on your instance? Does it affect certain clients or every one? What version of PHP are you using? 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.