30.11.2014, 15:13
Check every array you access in that callback and make sure you don't go over it's limits.
Becuase your error-log says that you're accessing array-index 41, while the array has only 40 elements (41 in fact because index 0 is also an index).
So search for arrays of size 41 (this would give indices 0 to 40) and figure out where you access index 41.
Becuase your error-log says that you're accessing array-index 41, while the array has only 40 elements (41 in fact because index 0 is also an index).
So search for arrays of size 41 (this would give indices 0 to 40) and figure out where you access index 41.