Notice: Undefined index: name in ..../admin/controller/marketing/coupon.php on line 546Notice: Undefined index: code in ..../admin/controller/marketing/coupon.php on line 550Notice: Undefined index: code in ..../admin/controller/marketing/coupon.php on line 554
Also error text in red stating:
Here are the corresponding lines in coupon.php:Coupon Name must be between 3 and 128 characters!
Code must be between 3 and 10 characters!
This is all under the heading on lines 541-543 below.546 = if ((utf8_strlen($this->request->post['name']) < 3) || (utf8_strlen($this->request->post['name']) > 128)) {
550 = if ((utf8_strlen($this->request->post['code']) < 3) || (utf8_strlen($this->request->post['code']) > 10)) {
554 = $coupon_info = $this->model_marketing_coupon->getCouponByCode($this->request->post['code']);
Any ideas on this? I really want to modify the coupons. Btw, this happens on any coupon I try to change regardless of whether it is live or expired. The cart is functioning fine otherwise.protected function validateForm() {
if (!$this->user->hasPermission('modify', 'marketing/coupon')) {
$this->error['warning'] = $this->language->get('error_permission');
Allen