lucee seeems to giving a right message
Error:
Invalid call of the function [arraySlice], third Argument [length] is invalid, Offset+length cannot be greater than size of the array on line 10
s
seancorfield
04/14/2024, 4:06 AM
They're both giving the exact same error, just with slightly different wording -- but it seems you understand the Lucee message more, and now you understand why your code is wrong?