VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: kirkdickinson on December 11, 2013, 18:08:40 PM

Title: VM - Currencies Selector error
Post by: kirkdickinson on December 11, 2013, 18:08:40 PM
I am getting an error popping up right on the page where it says VM - Currencies

Warning: Invalid argument supplied for foreach() in D:\home\thelonghornstore.com\wwwroot\joomla\libraries\joomla\html\html\select.php on line 504
Select an Opt

I am a US seller and probably have no need to ever change the currencies, unless the dollar tanks.

How do I fix this error?

Thanks,

Kirk

[attachment cleanup by admin]
Title: Re: VM - Currencies Selector error
Post by: kirkdickinson on December 11, 2013, 18:22:28 PM
Found my answer.
http://forum.virtuemart.net/index.php?topic=102259.msg352822#msg352822

Sorry I didn't search first.... :(
Title: Re: VM - Currencies Selector error
Post by: kirkdickinson on December 11, 2013, 18:23:59 PM
Nope, that doesn't fix it.  I have USDollar as my selected currency.  Still get the error.

Title: Re: VM - Currencies Selector error
Post by: jenkinhill on December 11, 2013, 18:33:38 PM
Versions?
Title: Re: VM - Currencies Selector error
Post by: kirkdickinson on December 12, 2013, 16:40:38 PM
I added the version info to my sig.

Kirk
Title: Re: VM - Currencies Selector error
Post by: GJC Web Design on December 12, 2013, 21:27:11 PM
might be a bit thick here but if your selling in the US why have you got the currency module published?

I assume you only USD enabled  - would account for the Invalid argument supplied for foreach() maybe?

Title: Re: VM - Currencies Selector error
Post by: kirkdickinson on December 13, 2013, 16:19:13 PM
Quote from: GJC Web Design on December 12, 2013, 21:27:11 PM
might be a bit thick here but if your selling in the US why have you got the currency module published?

Well, I am working on the back end getting products in and haven't messed with the front end much yet.  I haven't turned it off. When I see an error I always am concerned.  I was thinking that just because I couldn't see the error didn't mean that it still wasn't happening. 

You think, I just turn off the module... out of sight out of mind?  No worries?

Title: Re: VM - Currencies Selector error
Post by: GJC Web Design on December 13, 2013, 16:52:25 PM
if you don't need it chuck it.. :D
Title: Re: VM - Currencies Selector error
Post by: kirkdickinson on December 13, 2013, 23:21:48 PM
OK, thanks, I'll chuck it.  :) 

Have a Merry Christmas!
Title: Re: VM - Currencies Selector error
Post by: GJC Web Design on December 14, 2013, 08:21:07 AM
Just for your info - it is only a warning.. not an error..
QuoteWarning: Invalid argument supplied for foreach()

I assume because your have no alternative currencies selected when the module would be expecting some

Cheers