Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted December 7, 20213 yr 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,
December 7, 20213 yr Community Expert Have you tried switching to an unmodified theme? Are all files current with the version you upgraded to?
December 7, 20213 yr It’s a plugin: hook161. As it doesn’t show the name in the log error, you would need to check this ID in the core_hooks table. You will see the plugin ID there then you’ll see the name in the core_plugins table.
December 7, 20213 yr 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 December 7, 20213 yr by Adriano Faria