Closed Inve1951 closed 8 years ago
I hope this doesn't break anything, please verify.
Edit:
Shouldn't break anything. Further investigation showed that this is caused by an inconsistency on Riot's side. The Match
Api endpoint fills empty itemN
fields with 0
whereas the Game
Api endpoint omits the fields entirely.
I still experience massive error spamming when using
attachStaticData()
. This is my php:And this is my errors with call stacks: http://pastebin.com/W00DXKLF (raw html, download file and open in browser)
I tracked it down a bit and found out that when the first error is raised inside
getStaticFields()
all fields fromitem0
toitem4
plusitem6
are present and hold legit values, justitem5
is missing.