dyatlov / Expedia-PHP-API

PHP Wrapper for Expedia API
GNU General Public License v3.0
21 stars 19 forks source link

[ErrorException] current() expects parameter 1 to be array, null given #3

Open dennisoderwald opened 10 years ago

dennisoderwald commented 10 years ago

In loop executed after a while and hundreds of entries, the error message follows.

mamchenkov commented 9 years ago

It looks like this happens when the API rate limit is hit. Easily achievable with loops using the test (55505) API.:

PHP Warning:  current() expects parameter 1 to be array, null given in Expedia-PHP-API/Dyatlov/Expedia/Expedia.php on line 340