News:

Support the VirtueMart project and become a member

Main Menu

Notice: Array to string conversion ?

Started by CraftyMc, September 16, 2013, 04:37:22 AM

Previous topic - Next topic

Maxim Pishnyak

You can support Community by voting for Project on the JED
https://extensions.joomla.org/extension/virtuemart/#reviews
Join us at
https://twitter.com/virtuemart

Maxim Pishnyak

Google Jquery incorporated in your template probably doesn't allow States field to work properly. I haven't access to cut this google jquery to test is it right or not. Also you have strange hosting. Your own or just Windows based?

I turned off showing of this notice in http://www.ldaypcrepairs.co.uk/administrator/index.php?option=com_config Server/Server Settings/Error Reporting - None.
You can support Community by voting for Project on the JED
https://extensions.joomla.org/extension/virtuemart/#reviews
Join us at
https://twitter.com/virtuemart

CraftyMc

yes I host this using xampp locally on WIN 7 Ultimate x64, this is just my test web server to make sure everything works. I can send you my template files and you can have a butchers if you like?   

whisky

I was also particularly annoyed with this notice.

as it sound most of the time, the Notice is the fact that the array is a user_id value (virtuemart_user_id) I changed line 32 to


$segments[]=$key.'/'.(is_array($value) ? join(',',$value) : $value);


which produce a valid query string for the router.

Everything is fine so far for me.

I don't know how to push/verify that upward in the virtuemart foodchain, but could solve your problem