Wrong number of arguments in a function or script

This error is exactly what it says it is. You have provided the wrong number of arguments in a function or script. For example, if you provide three arguments for a function that requires two, you will get this error. If the problem still occurs, you should try to separate your function code at the commas - this will help you determine where the problem is and, hopefully, let you sort it out.

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution 2.5 License.