Post by pooja-vishnoi » Tue Sep 26, 2017 7:39 pm

Hi,

I am using opencart 2.3.0.2 on my site www.shhoppy.com . While i am adding/editing product i am getting following error.

Notice: Undefined index: recurring_id in /home1/chanap/public_html/vdropships.com/admin/model/catalog/product.php on line 276Warning: Cannot modify header information - headers already sent by (output started at /home1/chanap/public_html/vdropships.com/admin/controller/startup/error.php:34) in /home1/chanap/public_html/vdropships.com/system/library/response.php on line 12

Code lines are
if (isset($data['product_recurring'])) {
foreach ($data['product_recurring'] as $product_recurring) {
$this->db->query("INSERT INTO `" . DB_PREFIX . "product_recurring` SET `product_id` = " . (int)$product_id . ", customer_group_id = " . (int)$product_recurring['customer_group_id'] . ", `recurring_id` = " . (int)$product_recurring['recurring_id']);
}
}

Please help how to remove this issue.

Thanks and Regards
Pooja

New member

Posts

Joined
Sun Feb 10, 2013 9:58 pm

Post by yodapt » Tue Sep 26, 2017 8:25 pm

Disable errors in Admin > Settings > your store > Server > Display Errors (no)

That is not an error, just a notice.

Opencart Developer - My Extension Showcase
Contact me at aeon.yoda@gmail.com


User avatar
Active Member

Posts

Joined
Fri Jun 17, 2011 6:39 pm

Who is online

Users browsing this forum: No registered users and 269 guests