Jump to content

User registration error


cmer
 Share

Go to solution Solved by Marc Stridgen,

Recommended Posts

Hello,

Since the last update nobody can register on our site, we have the following error:

 

ArgumentCountError: Too few arguments to function IPS\core\modules\front\system\_register::_createMember(), 3 passed in /var/www/vhosts/xxx.gg/httpdocs/init.php(902) : eval()'d code on line 11 and exactly 4 expected (0)
#0 /var/www/vhosts/xxx.gg/httpdocs/init.php(902) : eval()'d code(11): IPS\core\modules\front\system\_register::_createMember()
#1 /var/www/vhosts/xxx.gg/httpdocs/applications/core/modules/front/system/register.php(242): IPS\core\modules\front\system\hook161::_createMember()
#2 /var/www/vhosts/xxx.gg/httpdocs/applications/core/modules/front/system/register.php(105): IPS\core\modules\front\system\_register->_registrationForm()
#3 /var/www/vhosts/xxx.gg/httpdocs/system/Dispatcher/Controller.php(101): IPS\core\modules\front\system\_register->manage()
#4 /var/www/vhosts/xxx.gg/httpdocs/system/Dispatcher/Dispatcher.php(153): IPS\Dispatcher\_Controller->execute()
#5 /var/www/vhosts/xxx.gg/httpdocs/index.php(13): IPS\_Dispatcher->run()
#6 {main}

 

#0 /var/www/vhosts/xxx.gg/httpdocs/init.php(1004): IPS\_Log::log()
#1 [internal function]: IPS\IPS::exceptionHandler()
#2 {main}

 

Same problem if I disable all extensions and plugins. 😞 

 

Good day,

Link to comment
Share on other sites

15 minutes ago, Marc Stridgen said:

It's being caused by "Members Country"

It had to be me! 😄

He's probably outdated. It is an app now and it uses MemberSync::onCreateAccount(); it doesn't use a hook in registration form anymore from a long time.

---------------------

Oh boy, the user doesn't even purchased the resource. His name isn't in the purchasers list! 🤦‍♂️

Probably someone else purchased.

Edited by Adriano Faria
Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...