*

Vlad7

  • ****
  • 244 posts
Registration error with referral code
« on: December 07, 2021, 04:18:49 PM »
Hello, when a user registers on the site and enters an invalid or non-existent referral code, an error appears


[07-Dec-2021 17:10:17 Europe/Kiev] PHP Warning:  Undefined array key 1 in /home2/ukagroco/public_html/oc-content/plugins/osclass_pay/functions.php on line 750
[07-Dec-2021 17:10:17 Europe/Kiev] PHP Warning:  Undefined array key 1 in /home2/ukagroco/public_html/oc-content/plugins/osclass_pay/functions.php on line 728
[07-Dec-2021 17:10:17 Europe/Kiev] PHP Warning:  Undefined array key "s_secret" in /home2/ukagroco/public_html/oc-content/plugins/osclass_pay/functions.php on line 732

*

MB Themes

Re: Registration error with referral code
« Reply #1 on: December 07, 2021, 04:29:48 PM »
Ok so just in case code is wrong, you get these notifications?
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

Vlad7

  • ****
  • 244 posts
Re: Registration error with referral code
« Reply #2 on: December 07, 2021, 04:33:27 PM »
Ok so just in case code is wrong, you get these notifications?

I checked if, when registering in the referral code field, write something, the user registers, receives a notification that the code is incorrect, but an error appears in the error file

*

Tango

  • ****
  • 214 posts
Re: Registration error with referral code
« Reply #3 on: December 07, 2021, 04:40:53 PM »
I can confirm the issue on v3.4.1



Code: [Select]
PHP Notice: Undefined offset: 1 in \oc-content\plugins\osclass_pay\functions.php on line 939
PHP Notice: Undefined offset: 1 in \oc-content\plugins\osclass_pay\functions.php on line 917
PHP Notice: Undefined index: s_secret in \oc-content\plugins\osclass_pay\functions.php on line 921

*

MB Themes

Re: Registration error with referral code
« Reply #4 on: December 08, 2021, 11:02:25 AM »
Thank you!
Fill be fixed in next update.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots