I currently use cyberpanel. in it I installed WHMCS and for my account I set it with php 7.2
but i get a message like this on whmcs:
Cron PHP Version Mismatch
Your environment appears to be running a different PHP version (7.1.31) for the System Cron than the currently loaded PHP version (7.2.22). This may cause issues running your System Cron.
so I get cron error emails continuously … for example like this:
PHP Notice: ob_end_flush (): failed to delete and flush buffer. No buffer to delete or flush in / home / xxxxxxx.com/public_html/modules/gateways/billingotomatis/cron-bankmandiri.php on line 5
PHP Notice: Undefined offset: 1 in / home / xxxxxxx.com/public_html/modules/gateways/billingotomatis/cron-bankmandiri.php on line 7
I tried to ask this to WHMCS, they would still answer like this:
Your web server and shell environment do not share configurations, so it is quite common for the default PHP system in shell to be different than the one you’ve specified for your cron.
Your server admin or webhost will be able to assist with adjusting your cron command to use the same PHP version as your website.
Please help the cyberpanel team to resolve this problem.