Help!
I am using version 1.3.8a
Yesterday I added bulk attribute creator and i thought everything was working fine until just now
Using the text attribute that I have already used for previous items, I get this error:
Warning: Invalid argument supplied for foreach() in /home/h06wedd/public_html/admin/attributes_controller.php on line 175
Warning: Cannot modify header information - headers already sent by (output started at /home/h06wedd/public_html/admin/attributes_controller.php:175) in /home/h06wedd/public_html/admin/includes/functions/general.php on line 21
This is the text from the first warning on line 175 (last line of this is line 175) sorry, don't know how much info is needed for someone to help!
// update by product
case ('update_product'):
if (!zen_has_product_attributes($products_filter, 'false')) {
$messageStack->add_session(SUCCESS_PRODUCT_UPDATE_SORT_NONE . $products_filter . ' ' . zen_get_products_name($products_filter, $_SESSION['languages_id']), 'error');
} else {
$messageStack->add_session(SUCCESS_PRODUCT_UPDATE_SORT . $products_filter . ' ' . zen_get_products_name($products_filter, $_SESSION['languages_id']), 'success');
zen_update_attributes_products_option_values_sort_order($products_filter);
}
$action='';
zen_redirect(zen_href_link(FILENAME_ATTRIBUTES_CONTROLLER, 'products_filter=' . $products_filter . '¤t_category_id=' . $_GET['current_category_id']));
break;
case 'add_product_attributes':
foreach($_POST['values_id'] as $val_id)
This is the second error referring the line 21 (last line being line 21)
// clean up URL before executing it
while (strstr($url, '&&')) $url = str_replace('&&', '&', $url);
while (strstr($url, '&&')) $url = str_replace('&&', '&', $url);
// header locates should not have the & in the address it breaks things
while (strstr($url, '&')) $url = str_replace('&', '&', $url);
header('Location: ' . $url);
Really hoping someone can help as I am unable to enter the rest of my products on until it's fixed
www.weddingaccessoriesdirect.com
Thanks





