Manage Variant Error

  • Posts: 567
  • Thank you received: 11
  • Hikashop Business
12 years 11 months ago #31092

Hi after upgrade to 1.5.4 getting this error while using manage variant in product

Warning: reset() [function.reset]: Passed variable is not an array or object in /home/singmuihen/domains/singmuiheng.com/public_html/administrator/components/com_hikashop/helpers/helper.php on line 777



how to fix this?

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
12 years 11 months ago #31093

You can change that line by:
$array = JRequest::getVar( 'cid', array(), '', 'array' );
if(is_array($array))$oneResult = reset($array);
and that will remove the message.

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

Time to create page: 0.054 seconds
Powered by Kunena Forum