Post by jeanrl » Sun Mar 08, 2015 11:04 pm

Hi people!

I'm using version 2.0.1.1 and when new cliente try to register it receives the following message:

/loja/catalog/model/account/customer.php 
on line 16Notice: Undefined index: approval in /.../loja/catalog/model/account/customer.php
on line 32Notice: Undefined index: name in /.../loja/catalog/model/account/customer.php

It's a bug?

If not please how to fix this?

Thanks.

Newbie

Posts

Joined
Sun Mar 08, 2015 10:57 pm

Post by martrax » Mon Jul 13, 2015 5:50 pm

I have the same problem. Did you fix it, or find a way to by pass it?

Newbie

Posts

Joined
Mon Jul 13, 2015 5:48 pm

Post by Rols » Sun Aug 16, 2015 8:50 pm

I have the same issue.

OC 2.0.0.0

Newbie

Posts

Joined
Sun Nov 16, 2014 2:54 am

Post by eguan88 » Fri Feb 19, 2016 10:08 am

same issue 2.020

Notice: Undefined index: approval in /public_html/catalog/model/account/customer.php on line 16

Notice: Undefined index: approval in /public_html/catalog/model/account/customer.php on line 32

Warning: Cannot modify header information - headers already sent by (output started at /public_html/index.php:102) in /public_html/system/library/response.php on line 12

Newbie

Posts

Joined
Fri Feb 19, 2016 10:01 am

Post by Randem » Tue Feb 23, 2016 4:39 pm

Most likely cause by code changes.

Debugging - http://www.randemsystems.com/support/op ... rt-system/

NEVER take serious; anyone who gives negative impact statements with no ABSOLUTE proof!
OpenCart Helpful Information * Upgrade 1.5 to 2.1 * Upgrade 2.1 to 2.2
"Why do people NEVER have enough time to do it right but ALWAYS enough time to do it over?"
DO NOT EVER GIVE SOMEONE YOU DON"T KNOW ADMIN ACCESS TO ANYTHING!
I am NOT affiliated with OpenCart


User avatar
Active Member

Posts

Joined
Sat Sep 27, 2014 9:17 am

Post by liewzy » Thu Feb 25, 2016 2:34 pm

Just fixed this for myself in OC2.1.0.2. In my case, I did not tick a default group to show in setting.

Solution:
Go to setting -> Option -> Account -> Customer Groups -> Tick a default group eg: default -> Done!

PS: you may also need to update existing customer in database that caused this error which won't show in admin customer.

Database > table:customer search for customer_group_id with 0 (which not exist in table:customer_group) and change it to 1 as default group.

Newbie

Posts

Joined
Wed Aug 08, 2012 1:02 pm

Post by pm-netti » Thu Feb 25, 2016 6:26 pm

eguan88 wrote:same issue 2.020

Notice: Undefined index: approval in /public_html/catalog/model/account/customer.php on line 16

Notice: Undefined index: approval in /public_html/catalog/model/account/customer.php on line 32

Warning: Cannot modify header information - headers already sent by (output started at /public_html/index.php:102) in /public_html/system/library/response.php on line 12
Are you did upgrade from old version? Is missing column `approval` from table `customer_group`?

User avatar
Active Member

Posts

Joined
Sat Apr 07, 2012 11:22 pm
Location - Kittilä, Finland
Who is online

Users browsing this forum: No registered users and 11 guests