Results 1 to 2 of 2
  1. #1
    Join Date
    Apr 2010
    Posts
    4
    Plugin Contributions
    0

    Default array_merge Warnings

    I am getting the following warnings under Customers:

    Code:
    Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /home/bydesign/public_html/teststore/admin/customers.php on line 1099
    
    Warning: array_merge() [function.array-merge]: Argument #2 is not an array in /home/bydesign/public_html/teststore/admin/customers.php on line 1101
    
    Warning: reset() [function.reset]: Passed variable is not an array or object in /home/bydesign/public_html/teststore/admin/includes/classes/object_info.php on line 29
    
    Warning: Variable passed to each() is not an array or object in /home/bydesign/public_html/teststore/admin/includes/classes/object_info.php on line 30
    Via phpmyadmin I uploaded csv data into zen_address_book and zen_customers. It worked and my customers and their info are all there, but now I am getting the warnings and I cannot edit them via the Zen cart admin panel. Maybe I missed something... is there anything else that contains customer data that I might need to edit or add info to? Any suggestions?

    Thanks!

  2. #2
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: array_merge Warnings

    Manually fudging data is a dangerous sport. If you're going to do that, you need to study the entire database structure carefully. Guesswork results in corrupt data and if you're lucky you'll get error messages. If you're not lucky, the data just gets damaged more and more.
    http://www.zen-cart.com/wiki/index.p...atabase_Schema

    You've missed at least the customers_info table contents.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    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.

 

 

Similar Threads

  1. PayPal Express Warning Array_merge
    By Betsysue in forum PayPal Express Checkout support
    Replies: 1
    Last Post: 30 May 2008, 02:09 AM
  2. Warning: array_merge()
    By saulylee in forum PayPal Express Checkout support
    Replies: 5
    Last Post: 30 Oct 2007, 05:05 AM
  3. PP Express Error: array_merge()
    By Stobe in forum PayPal Express Checkout support
    Replies: 8
    Last Post: 26 Feb 2007, 06:59 AM

Posting Permissions

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