Closed kevinvdburgt closed 6 years ago
I have added a number of is_array() checks before a count() to prevent this from happening. If you still encounter them, can you provide line numbers?
I got similar error when using given example (from Examples directory) for creating a contact. After fixing with is_array(), I encountered following error:
Metaregistrar\EPP\eppException: Cannot add more then 3 street names to postal info
(/home/vagrant/lara_test/vendor/metaregistrar/php-epp-client/Protocols/EPP/eppData/eppContactPostalInfo.php:67)
The problem seems to be that in eppContactPostalInfo.php, the private attribute $this->street is never initialized to array...?
Yes, of course. I have fixed that now.
While using PHP 7.2, i'll get a lot of those messages: