Welcome Guest, Not a member yet? Register   Sign In
Missing argument 4 for Flexi_auth::insert_user()
#1

[eluser]Hermann007[/eluser]
Hi,

I have just recently started using this library. When I submit a insert_user request I get this error:
-Missing argument 4 for Flexi_auth::insert_user()
And another one telling me that user_data is an undefined variable.

Now I get what it's trying to tell me but according to the documentation user_data is optional and seeing as I'm not collecting any additional data, I don't have any values for this variable. How do I get around this error?

If I submit the form with only the username, email and password, the data is populated in the tables and the email is sent but these errors still show.

Any help welcomed.
#2

[eluser]Hermann007[/eluser]
Solved this. Thanks!!




Theme © iAndrew 2016 - Forum software by © MyBB