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

Cloning product warning

Started by Studio 42, June 10, 2016, 10:17:43 AM

Previous topic - Next topic

Studio 42

Hi all,
On cloning product in VM 3.0.16 and Joomla 3.5.1.
In php error log :
PHP Warning:  Invalid argument supplied for foreach() in G:\web\wamp\www\virtuemart-fr\administrator\components\com_virtuemart\models\customfields.php on line 976
line 974, you have
if (array_key_exists('field', $datas)) {
i think
if (!empty($datas['field']))) {
should do the job.(perhaps is_array is needed too)
Regards,
Patrick