I ran into an error adding Customers via the Admin Panel. I added a test customer and I got an error message. The error is:

Whoops, looks like something went wrong.
1/1
ContextErrorException in customer.php line 555:
Notice: Undefined index: customer_id
in customer.php line 555
at ErrorHandler->handleError('8', 'Undefined index: customer_id', '/home/freedomioplist/public_html/addondomains/treatstreasuresbargains.com/admin/model/sale/customer.php', '555', array('data' => array('customer_group_id' => '1', 'firstname' => 'Test', 'lastname' => 'Customer', 'email' => This email address is being protected from spambots. You need JavaScript enabled to view it.', 'telephone' => '3017153313', 'fax' => '', 'custom_field' => array('2', '1985-09-19'), 'password' => 'AbC123', 'confirm' => 'AbC123', 'newsletter' => '1', 'status' => '1', 'approved' => '1', 'safe' => '1', 'send_email' => '1', 'button' => 'save'), 'customer_group_id' => '1')) in customer.php line 555
at ModelSaleCustomer->sendCustomerRegisterMail(array('customer_group_id' => '1', 'firstname' => 'Test', 'lastname' => 'Customer', 'email' => This email address is being protected from spambots. You need JavaScript enabled to view it.', 'telephone' => '3017153313', 'fax' => '', 'custom_field' => array('2', '1985-09-19'), 'password' => 'AbC123', 'confirm' => 'AbC123', 'newsletter' => '1', 'status' => '1', 'approved' => '1', 'safe' => '1', 'send_email' => '1', 'button' => 'save')) in customer.php line 29
at ModelSaleCustomer->addCustomer(array('customer_group_id' => '1', 'firstname' => 'Test', 'lastname' => 'Customer', 'email' => This email address is being protected from spambots. You need JavaScript enabled to view it.', 'telephone' => '3017153313', 'fax' => '', 'custom_field' => array('2', '1985-09-19'), 'password' => 'AbC123', 'confirm' => 'AbC123', 'newsletter' => '1', 'status' => '1', 'approved' => '1', 'safe' => '1', 'send_email' => '1', 'button' => 'save')) in customer.php line 31
at ControllerSaleCustomer->add(array())
at call_user_func(array(object(ControllerSaleCustomer), 'add'), array()) in action.php line 74
at Action->execute(object(Registry)) in front.php line 43
at Front->execute(object(Action)) in front.php line 38
at Front->dispatch(object(Action), object(Action)) in admin.php line 198
at Admin->dispatch() in index.php line 33


The customer is STILL created but it's throw that error. This is a TEST ACCOUNT ONLY and will be deleted so no worries about Passwords and such showing. Any idea what's causing this? Is it a BUG?
Saturday, July 07 2018, 11:12 PM
Share this post:
Responses (3)
  • Accepted Answer

    Tuesday, July 10 2018, 07:22 PM - #Permalink
    Debug and system info ... modifications etc. ... this isn't normal ...

    Maybe take a look at https://arastta.org/forum/forum-rules and http://www.catb.org/~esr/faqs/smart-questions.html

    Plus https://arastta.org/docs/user-manual/tools/system-information

    And PLEASE stop using bold text on everything, it doesn't give you any more answers, it's just suchs to read it. ;)
    The reply is currently minimized Show
  • Accepted Answer

    Monday, July 16 2018, 01:22 PM - #Permalink
    I have an eyesight issue and I can see bold text better so that is why I use it.
    The reply is currently minimized Show
  • Accepted Answer

    Monday, July 16 2018, 01:38 PM - #Permalink
    OK, I see. Valid reason, but then I wonder if it's not better to use the inbuilt help tools on the computer to add it or increase size as you then also will see our replies better. Or is it so that the help tools automatically adds bold when you're writing? It's anyhow worse for most others to read, so I just wonder if it's not a better way. Btw! On your site I really have hard to see the texts, can you actually read it yourself there? Anyhow, will not nag about it any more.

    Back to topic, did you figure out anything more? As we now know that you have been using Basic mode, test using Advanced mode too, in case any of your extensions/mods doesn't work with Basic. And if you still has issues with it, add some more info like requested above.
    The reply is currently minimized Show
Your Reply