Vendorauction

  • Posts: 3
  • Thank you received: 0
2 years 3 months ago #344098

-- url of the page with the problem -- : www.hecklau40.bplaced.net/spoofup3/index...&task=add&Itemid=142
-- HikaShop version -- : 4.6.1
-- HikaMarket version -- : 4.1.0
-- Joomla version -- : Joomla 4
-- Error-message(debug-mod must be tuned on) -- : Warning: Invalid argument supplied for foreach() in /users/hecklau40/www/spoofup3/administrator/components/com_hikamarket/classes/config.php on line 162

Hello,
how I can get away this error?
I doing for manage of vendors. However ervery Time, I would do for a product of new, is getting this error.

Warning: Invalid argument supplied for foreach() in /users/hecklau40/www/spoofup3/administrator/components/com_hikamarket/classes/config.php on line 162

[url=Warning: Invalid argument supplied for foreach() in /users/hecklau40/www/spoofup3/administrator/components/com_hikamarket/classes/config.php on line 162]website[/url]

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

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
2 years 3 months ago #344099

Hello,

In order to fully understand why you have that message, we should have an access to your configuration (database).
It looks like you have a vendor with wrong "access" stored in the database.

The best is to edit the config.php file (that you have in your error message) and replace the line

			$vendor_access = $vendor->vendor_access;
By
			$vendor_access = $vendor->vendor_access;
			if(empty($vendor_access) || !is_array($vendor_access))
				$vendor_access = array();
And it should remove the warning.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

Moderators: Obsidev
Time to create page: 0.049 seconds
Powered by Kunena Forum