Fatal error: Uncaught ArgumentCountError
« on: February 07, 2022, 08:09:51 AM »
hello how to solve this error in new member registration

Fatal error: Uncaught ArgumentCountError: Too few arguments to function ModelOSP::saveLog(), 8 passed in /home/iklangue/public_html/oc-content/plugins/osclass_pay/functions.php on line 652 and exactly 9 expected in /home/iklangue/public_html/oc-content/plugins/osclass_pay/model/ModelOSP.php:1534 Stack trace: #0 /home/iklangue/public_html/oc-content/plugins/osclass_pay/functions.php(652): ModelOSP->saveLog('Credit for regi...', 'wallet_20220207...', '10', 'IDR', '[email protected]...', '9', '301', 'REGISTRATION') #1 /home/iklangue/public_html/oc-includes/osclass/classes/Plugins.php(42): osp_user_register(9) #2 /home/iklangue/public_html/oc-includes/osclass/helpers/hPlugins.php(34): Plugins::runHook('user_register_c...', 9) #3 /home/iklangue/public_html/oc-includes/osclass/UserActions.php(150): osc_run_hook('user_register_c...', 9) #4 /home/iklangue/public_html/oc-includes/osclass/controller/register.php(72): UserActions->add() #5 /home/iklangue/public_html/index.php(120): CWebRegister->doModel() #6 {main} thrown in /home/iklangue/public_html/oc-content/plugins/osclass_pay/model/ModelOSP.php on line 1534

*

MB Themes

Re: Fatal error: Uncaught ArgumentCountError
« Reply #1 on: February 07, 2022, 12:36:05 PM »
Update plugin to latest version.
Was probably fixed few years ago.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots