crisp-im / crisp-plugin-whmcs

💾 Crisp Livechat WHMCS plugin

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PHP 7.1 error while upgrading to WHMCS 7.5

ridgelawrence opened this issue · comments

The crisp plugin is throwing the following error when I try to run the latest PHP 7.1 (As WHMCS now supports it).
[12-Mar-2018 13:34:06 UTC] [WHMCS Application] ERROR: ArgumentCountError: Too few arguments to function Illuminate\Database\Query\Builder::value(), 0 passed in /home/XXXXX/public_html/clients/modules/addons/crisp/hooks.php on line 11 and exactly 1 expected in /home/XXXXX/public_html/clients/vendor/illuminate/database/Query/Builder.php:1535 Stack trace: #0 /home/XXXXX/public_html/clients/modules/addons/crisp/hooks.php(11): Illuminate\Database\Query\Builder->value() #1 /home/XXXXX/public_html/clients/includes/hookfunctions.php(0): hook_crisp_footer_output(Array)

Just wanted to let y'all know! Otherwise, the plugin has worked flawlessly!