Results 1 to 5 of 5
  1. #1
    Join Date
    Apr 2007
    Posts
    5
    Plugin Contributions
    0

    Default Help me please!!"Warning: Variable passed to each() is not an array or object"

    Hello,

    Could Anyone help me on this please, I was doing a final checking on adding product to shopping cart but I got this error show up


    Warning: Variable passed to each() is not an array or object in /home/delequah/public_html/shop/includes/classes/shopping_cart.php on line 3414

    Warning: Cannot modify header information - headers already sent by (output started at /home/delequah/public_html/shop/includes/classes/shopping_cart.php:3414) in /home/delequah/public_html/shop/includes/functions/functions_general.php on line 46

    I really need to fix this can anyone help me please

    Thank you

    http://shop.delequah.com/

  2. #2
    Join Date
    Jan 2004
    Posts
    64,748
    Blog Entries
    6
    Plugin Contributions
    214

    Default Re: Help me please!!"Warning: Variable passed to each() is not an array or object"

    What version of Zen Cart?
    What addons/contributions have you installed?
    What kinds of customizations have you made?
    What version of PHP?
    What is the URL where this can be seen?
    Does it happen for all products?
    What exact steps (click by click) can consistently reproduce this problem?
    .

    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.

  3. #3
    Join Date
    Apr 2007
    Posts
    5
    Plugin Contributions
    0

    Default Re: Help me please!!"Warning: Variable passed to each() is not an array or object"

    Thank you for your reply, DrByte

    Q: What version of Zen Cart?
    A: I use 1.3.7.1.

    Q: What addons/contributions have you installed?
    A: about_us_page_1.3.0.1
    add_customers_from_admin_1.0
    add_phone_number_to_contact_us_1.1
    additional_customers_fields_v2.55
    austpost__improved_1.5.3
    average_product_rating_20070319
    backup_mysql_plugin_v1.3
    captcha_using_ttf__gd_2.7a
    confirm_email_address_entry_1.0.1
    direct_bank_deposit_0.1
    edit_orders_1.1
    email_address_exporter_1.2c
    ebay_turbo_lister_2.0_exporter_v0.9.2
    email_archive_manager_1.4
    EP_v1.2.5.4
    export_invoice_totals_to_csv_file_for_excel_use_1
    export_shipping_information_1.2.2
    faq_module_1.1.1
    google_base_froogle_feeder_1.4.10
    gv_admin_edit_1.0
    improved_whos_online_10
    live_help_sidebox_1.1
    order_questions_1.0
    paypal_sessions_viewer_1.0
    paypal_verified_logo_1.0.6
    price-list_v1.4.1
    products_notifications_report_1.3
    products_profitmargin_calculator__report_v1.1
    quantity_discounts_1.5
    recover_cart_sales_1.5.1
    request_restock_alpha3
    return_authorization_2.2
    split_panel_login_1.3
    supertracker_1.0
    testimonial_manager_1.4.3.1
    time_zone_offset_v1.3.7
    ty_package_tracker_for_x_2.2b
    ultimate_seo_urls_2.105
    User Tracking v.1.3.6.2 for ZEN1.3.7


    Q: What kinds of customizations have you made?
    A: I got the Template from Monster Template "template_13914"

    Q: What version of PHP?
    A: PHP Version 5.0.5

    Q: What is the URL where this can be seen?
    A:
    1)http://shop.delequah.com/index.php?m...ts_add_product
    2)http://shop.delequah.com/index.php?m...ts_add_product

    Q: Does it happen for all products?
    A: Yes, it does

    Q: What exact steps (click by click) can consistently reproduce this problem?
    A: Frist I click on NEW PRODUCTS or ALL PRODUCTS on the top menu then the page will show up fine, and there are 1 button Details, 2 button Add to cart both of them will make an error

  4. #4
    Join Date
    Jan 2004
    Posts
    64,748
    Blog Entries
    6
    Plugin Contributions
    214

    Default Re: Help me please!!"Warning: Variable passed to each() is not an array or object"

    When did it stop working?

    ie: after installing which addons ?
    .

    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.

  5. #5
    Join Date
    Apr 2007
    Posts
    5
    Plugin Contributions
    0

    Default Re: Help me please!!"Warning: Variable passed to each() is not an array or object"

    Thank you for reply, DrByte

    I design to reinstall everything It's easy that way becuase I did not monitor when I install, Thank you anyway. by the way I read alot of your post, man you so cool, I wish I can be just like you

 

 

Similar Threads

  1. v151 Warning: Variable passed to each() is not an array or object
    By caprimia in forum General Questions
    Replies: 2
    Last Post: 1 Feb 2013, 06:16 AM
  2. Replies: 4
    Last Post: 23 Jan 2010, 09:35 PM
  3. Replies: 4
    Last Post: 1 May 2009, 06:47 AM
  4. Variable passed to each() is not an array or object in
    By wareagletsf in forum Basic Configuration
    Replies: 2
    Last Post: 13 Mar 2008, 10:32 AM
  5. Replies: 2
    Last Post: 22 Jan 2007, 12: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
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR