Error undefined offset: 0 in juser plugin

chofra02

Certified try and error specialist
Hi,

investigating the error log files for another problem, i found this error:

AH01071: Got error 'PHP message: PHP Notice: Undefined offset: 0 in /var/www/vhosts/indoorrowers.org/httpdocs/plugins/fabrik_form/juser/juser.php on line 937', referer: https://indoorrowers.org/your-rower-profile

For me it looks like the php code is trying to access an empty array. but not sure.
Thank you for any help.

Best Regards
 
It seems you didn't set a "User group field" in the plugin settings (which is then creating this notice if your Joomla error reporting is set to max or so).
It shouldn't hurt (but I think this line of code is some restover).
 
I never changed the group field association, I have a field called group field in the list and the juser plugin is setup to sync with it.
So don't really know why i have this error now in the logs.
 
Sorry, I was looking at the wrong code line.
Did you set a "Default user group" in juser "Options"?
Is you group field a "usergroup" element?
 
Yes and Yes , please refer to the screenshots attached
 

Attachments

  • GroupF_elements.PNG
    GroupF_elements.PNG
    37.1 KB · Views: 84
  • Sync_Options.PNG
    Sync_Options.PNG
    14.7 KB · Views: 77
  • Syncfields.PNG
    Syncfields.PNG
    14.8 KB · Views: 87
  • DefaultUserGroup.PNG
    DefaultUserGroup.PNG
    13.4 KB · Views: 77
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top