Results 1 to 9 of 9
  1. #1
    Join Date
    Nov 2006
    Posts
    161
    Plugin Contributions
    0

    Default Errors when accessing Customers in ADMIN

    I went into Customers thru Admin this morning to edit a customers address and couldn't do a thing. The following errors were showing:


    Warning
    : array_merge() [function.array-merge]: Argument #1 is not an array in
    /admin/customers.php
    on line 1020

    Warning: array_merge() [function.array-merge]: Argument #2 is not an array in
    /admin/customers.php
    on line 1022

    Warning: reset() [function.reset]: Passed variable is not an array or object in
    /admin/includes/classes/object_info.php
    on line 29

    Warning: Variable passed to each() is not an array or object in
    /admin/includes/classes/object_info.php
    on line 30

    I have NOT upgraded. In fact, up until a week ago (last time I edited a customer file), this was working fine and I haven't done any tweaking/changes in that timeframe. I have tried taking the original install files and transferring them over but that didn't work. I'm not sure what happened...

    any advise?


  2. #2
    Join Date
    Jan 2004
    Posts
    58,246
    Blog Entries
    3
    Plugin Contributions
    106

    Default Re: Errors when accessing Customers in ADMIN

    You have bad data for some reason:
    Quote Originally Posted by DrByte View Post
    That is typically a result of bad data. The data which comprises a "customer" comes from several tables. Those errors typically appear when one or more of those tables is empty or does not contain the expected record for the selected customer.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donations always welcome: www.zen-cart.com/donate

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #3
    Join Date
    Nov 2006
    Posts
    161
    Plugin Contributions
    0

    Default Re: Errors when accessing Customers in ADMIN

    Is there anything I can do about it? I am not a techie but have put together the site with lots of help from you guys. The site is working whether or not I get this fixed but I can't edit anything in the customers file (which can be bad if the customer simply forgot a space in their address so UPS won't calculate correctly and I can't edit it)


  4. #4
    Join Date
    Nov 2006
    Posts
    161
    Plugin Contributions
    0

    Default Re: Errors when accessing Customers in ADMIN

    Is there anything I can do about it? I am not a techie but have put together the site with lots of help from you guys. The site is working whether or not I get this fixed but I can't edit anything in the customers file (which can be bad if the customer simply forgot a space in their address so UPS won't calculate correctly and I can't edit it)


  5. #5
    Join Date
    Nov 2006
    Posts
    161
    Plugin Contributions
    0

    Default Re: Errors when accessing Customers in ADMIN

    Is there anything I can do about it? I am not a techie but have put together the site with lots of help from you guys. The site is working whether or not I get this fixed but I can't edit anything in the customers file (which can be bad if the customer simply forgot a space in their address so UPS won't calculate correctly and I can't edit it)


  6. #6
    Join Date
    Nov 2006
    Posts
    161
    Plugin Contributions
    0

    Default Re: Errors when accessing Customers in ADMIN

    Is there anything I can do about it? I am not a techie but have put together the site with lots of help from you guys. The site is working whether or not I get this fixed but I can't edit anything in the customers file (which can be bad if the customer simply forgot a space in their address so UPS won't calculate correctly and I can't edit it)


  7. #7
    Join Date
    Nov 2006
    Posts
    161
    Plugin Contributions
    0

    Default Re: Errors when accessing Customers in ADMIN

    Is there anything I can do about it? I am not a techie but have put together the site with lots of help from you guys. The site is working whether or not I get this fixed but I can't edit anything in the customers file (which can be bad if the customer simply forgot a space in their address so UPS won't calculate correctly and I can't edit it)


  8. #8
    Join Date
    Jan 2004
    Posts
    58,246
    Blog Entries
    3
    Plugin Contributions
    106

    Default Re: Errors when accessing Customers in ADMIN

    In a nutshell: Someone needs to check the tables where customer data is stored, and see which ones are missing data. Then someone needs to find out how the data is being left "missing". Then whatever's causing it needs to be fixed. And whatever data is lost needs to be added.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donations always welcome: www.zen-cart.com/donate

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  9. #9
    Join Date
    Nov 2006
    Posts
    161
    Plugin Contributions
    0

    Default Re: Errors when accessing Customers in ADMIN

    thanks. Sounds like I am SOL then...oh well. I guess this might be a good time to revisit doing a fresh install of the new version and hopefully solve the problem


 

 

Similar Threads

  1. Add Customers Via Admin mod -- errors
    By gordyb in forum Managing Customers and Orders
    Replies: 1
    Last Post: 1 Aug 2008, 03:37 AM
  2. ADMIN - Customers Errors
    By Cheeky Chino in forum General Questions
    Replies: 5
    Last Post: 7 Jul 2008, 07:31 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •