News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Invalid argument supplied for foreach error in shop settings

Started by mosdata, November 08, 2014, 13:19:29 PM

Previous topic - Next topic

mosdata

Hello, I have joomla 3.3.6 and I update to version 2.9.9.4 of virtuemart and get an error when I enter the shop settings.

Warning: Invalid argument supplied for foreach() in /home/vanaty/public_html/store/administrator/components/com_virtuemart/models/config.php on line 130

Any idea how to fix it?
regards

Milbo

Yes, just install vm2.9.9.4 AIO.


$dir = VMPATH_ROOT.DS.'libraries'.DS.'tcpdf'.DS.'fonts';
$result = array();
if(function_exists('glob')){
$specfiles = glob($dir.DS."*_specs.xml");
foreach ($specfiles as $file) {


You can also check if you have fonts in your libraries/tcpdf/fonts folder.
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/