The code calls a function or method with fewer arguments than the function or method is defined to accept. Although missing arguments will be given default values by the function or method, it is a good idea to provide values for all expected arguments.
To correct this error
-
Make sure that all required arguments are passed to a function or method.