VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: optmax on March 17, 2015, 16:47:01 PM

Title: [Solved in 3.6.0.4] Warning in cart when Allow Administrators to change the current shopper set
Post by: optmax on March 17, 2015, 16:47:01 PM
VM 3.6.0.3
J! 3.4.0
PHP 5.4.25
MySQL 5.5.42

When 'Allow Administrators to change the current Shopper' is ticked (Configuration | Checkout)
With an Admin user logged in, on the Cart page there is this message:
Warning: Invalid argument supplied for foreach() in .../libraries/cms/html/select.php on line 569


The shopper dropdown is not populated and there is nothing after 'Active administrator:' (see attached)

I do have Joomla Server Error reporting set at Maximum (while I test migration to VM3) - the VM3 warning is not shown with System Default error reporting but dropdown not populated regardless.
Title: Re: Warning in cart when Allow Administrators to change the current shopper set
Post by: gabrielperez77 on March 24, 2015, 04:15:45 AM
Hi optmax. I have the same issue, the shoper dropdown is not populated.
Same virtuemart environment.
Do yoy already fix it?
Title: Re: Warning in cart when Allow Administrators to change the current shopper set
Post by: optmax on March 24, 2015, 11:29:03 AM
@ gabrielperez77 No I did not find a fix but Milbo has now replied in another thread:
https://forum.virtuemart.net/index.php?topic=128002.0 (https://forum.virtuemart.net/index.php?topic=128002.0)
Title: Re: Warning in cart when Allow Administrators to change the current shopper set
Post by: optmax on March 25, 2015, 13:18:53 PM
This has been fixed in 3.0.6.4  - thanks Milbo!