After performing an update in VirtueMart you may be receiving an error with your Currencies Selector. In this VirtueMart guide, we will show you how to remove the following error:
Warning: Invalid argument supplied for foreach() in /home/user99/public_html/libraries/joomla/html/html/select.php on line 504
Fix the Currencies Selector Error:
- Login to your Joomla! Admin panel.
- In the navigation menu, roll your mouse over the Components, and click the VirtueMart option.
- On the VirtueMart menu, click the Shop option, then Shop again underneath.
- Click the Vendor tab.
- Under Currency, click the drop-down menu for the List of accepted currencies, and choose the currency you will allow. Repeat for each currency. Click the Save, or Save & Close button.
The error will now be gone from your VirtueMart eshop, it should look similar to this:
Congratulations, now you know how to fix the currencies selector error in your VirtueMart powered online store!