arrays
is not a class, you probably wanted to create an Array
.
See your error actually tells you everything you need to know:
1180: Call to a possibly udefined method arrays on line 80
Says that you are trying to call a not existing method which is called arrays
on line 80. I don't understand why people fear the errors and warnings of the compilers, they meant to help you, you just got to understand english.
If you don't understand the error, then there is the error code, search for the error code on google and you will find a solution. :)