Error with custom user fields

  • Posts: 291
  • Thank you received: 4
  • Hikashop Business
13 years 2 months ago #5244

Warning: Invalid argument supplied for foreach() in /home/demo/www/administrator/components/com_hikashop/classes/field.php on line 752

Add single drop-down custom user field with 2 values.
Go into Customers / Customers / Modify and error occurs.
Reproducible on your demo site.

Please Log in or Create an account to join the conversation.

  • Posts: 81361
  • Thank you received: 13036
  • MODERATOR
13 years 2 months ago #5245

Thank you for your bug report :)

You can replace the line

$fields['user'] = $fieldsClass->getData('backend','user');
by
$fields['user'] = $fieldsClass->getFields('backend',$user);
in the file administrator/components/com_hikashop/views/user/view.html.php to fix the problem. That fix will be included in next release.

Please Log in or Create an account to join the conversation.

Time to create page: 0.056 seconds
Powered by Kunena Forum