You are here:  » Undefined in admin.php

Support Forum



Undefined in admin.php

Submitted by mediadream on Fri, 2011-05-06 19:28 in

I get the following warning for each product I import:

PHP Notice: Undefined index: in /home/domain/..../includes/admin.php

foreach($config_fieldSet as $field => $v)
{
if (in_array($field,$skipFields)) continue;

line 151: $importRecord[$field] = $record[$admin_importFeed["field_".$field]];
}

Is it possible to make this go away?

Submitted by support on Sat, 2011-05-07 10:01

Hi mediadream,

On the last line of your config.php file (just before the closing PHP tag), add the following line:

  error_reporting(E_ERROR);

That will suppress NOTICES from being displayed...

Cheers,
David.
--
PriceTapestry.com