Closed angelkurten closed 6 years ago
Hello,
are you sure that it is a problem on side of the library? You are using a lot of own functions which I don't know, also the PHP error should tell you in which file and on which line the error occurred, could you show me?
Hi again,
could you provide me with raw RiotAPI response? Value -1
is very suspicious in this scenario.
The library is trying to link static champion data to the response, but its looking for champion with id -1
, which of course does not exist. Question is, how did -1
get to the response data.
Solution:
Well, yeah, but that doesn't solve the problem itself. Could you find the raw data from the API for me?
RESULT:
ErrorException (E_NOTICE) Undefined offset: -1