Skip to main content

Manage Variant Error

More
14 years 10 months ago #31092 by ler@singmuiheng.com
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.

More
14 years 10 months ago #31093 by nicolas
Replied by nicolas on topic Re: Manage Variant Error
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.151 seconds
Powered by Kunena Forum