Expedia-PHP-API icon indicating copy to clipboard operation
Expedia-PHP-API copied to clipboard

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

Open dennisoderwald opened this issue 10 years ago • 1 comments

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

dennisoderwald avatar Aug 27 '14 10:08 dennisoderwald

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

mamchenkov avatar Sep 24 '14 07:09 mamchenkov