Skip to content

vt721: Another use of count() on a non-countable...

See https://code.vtiger.com/vtiger/vtigercrm/blob/master/include/utils/utils.php#L2433

If you try and delete a recurring event from the calendar with error reporting turned on - this warning is generated:

<br />
<b>Warning</b>:  count(): Parameter must be an array or an object that implements Countable in <b>/var/www/html/demo/include/utils/utils.php</b> on line <b>2433</b><br />
{"success":true,"result":{"viewname":"","module":"Calendar","deletedRecords":["1084","1085","1086"]}}