Error with custom user fields

  • Posts: 265
  • Thank you received: 2
  • Hikashop Business
8 years 1 month 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: 64812
  • Thank you received: 9384
  • MODERATOR
8 years 1 month 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.043 seconds
Powered by Kunena Forum