You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
… while I'm not sure what would cause $this->_contactIds not be an array. But the easiest solution would be to just call $this->getContactIDs() instead of direct access of $this->_contactIds, as the getter does a null-coalesce check with ?? [], which should be enough as the variable will be either an array or NULL.
Your PR, however, is filed against your fork, not the origin repo. I created #180 instead which should fix the issue for all occurences - would you be able to review that one, @Detsieber?
jensschuppe
changed the title
PHP 8.1 compatibility (subtle...)
PHP 8.1 compatibility - do not attempt to count()NULLOct 4, 2023
Although donrec in general is working fine with PHP 8.0/8.1, in certain conditions we get a wsod.
This is caused by the php function count, that behaves differently with php 8:
https://www.php.net/manual/en/function.count.php
I have prepared a pull request.
The text was updated successfully, but these errors were encountered: