Results 1 to 4 of 4
  1. #1
    Join Date
    Jul 2010
    Location
    Australia
    Posts
    231
    Plugin Contributions
    0

    Default PHP Warning: implode(): Invalid arguments passed

    v1.5.5d
    PHP 7.0
    Theme: responsive sheffield blue
    Plugins:
    Products with attributes
    Google Captcha

    Here is the warning I see in my log file. Any idea how to fix this?

    [29-May-2018 17:35:11 Australia/Sydney] Request URI: /index.php?main_page=account_history_info&order_id=12759, IP address: xxxx
    #1 implode() called at [/home2/lunawu/public_html/includes/classes/class.products_with_attributes_class_stock.php:203]
    #2 products_with_attributes_class_stock->zen_get_customid() called at [/home2/lunawu/public_html/includes/templates/responsive_sheffield_blue/templates/tpl_account_history_info_default.php:65]
    #3 require(/home2/lunawu/public_html/includes/templates/responsive_sheffield_blue/templates/tpl_account_history_info_default.php) called at [/home2/lunawu/public_html/includes/templates/responsive_sheffield_blue/common/tpl_main_page.php:251]
    #4 require(/home2/lunawu/public_html/includes/templates/responsive_sheffield_blue/common/tpl_main_page.php) called at [/home2/lunawu/public_html/index.php:97]

    [29-May-2018 17:35:11 Australia/Sydney] PHP Warning: implode(): Invalid arguments passed in /home2/lunawu/public_html/includes/classes/class.products_with_attributes_class_stock.php on line 203

  2. #2
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,704
    Plugin Contributions
    123

    Default Re: PHP Warning: implode(): Invalid arguments passed

    There are a bunch of "products with attributes" mods. Figure out which one yours is, and go to the support thread for that mod. Who knows, it may already have been fixed.
    That Software Guy. My Store: Zen Cart Modifications
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  3. #3
    Join Date
    Jul 2012
    Posts
    16,734
    Plugin Contributions
    17

    Default Re: PHP Warning: implode(): Invalid arguments passed

    Fyi, I would agree with swguy's recommendation. Something about the code/issue looked familiar so took a look at the current code for Stock By Attributes as supported through the plugin link of: https://www.zen-cart.com/downloads.php?do=file&id=202 and discussed at the associated thread. The current fileset, located at https://github.com/mc12345678/Stock_...butes_Combined modified that file and location back in April of 2017 which removed that issue.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  4. #4
    Join Date
    Jul 2010
    Location
    Australia
    Posts
    231
    Plugin Contributions
    0

    Default Re: PHP Warning: implode(): Invalid arguments passed

    Thank you very much guys!

 

 

Similar Threads

  1. v154 PHP Warning: htmlspecialchars(): Invalid multibyte sequence in argument
    By Jeff_Mash in forum Upgrading to 1.5.x
    Replies: 6
    Last Post: 2 Dec 2016, 02:40 PM
  2. Replies: 9
    Last Post: 11 Dec 2015, 11:35 PM
  3. Replies: 2
    Last Post: 20 May 2013, 04:09 AM
  4. Replies: 7
    Last Post: 4 Jan 2013, 09:21 PM
  5. Debug: USPS.php PHP Warning: Invalid argument supplied for foreach()
    By divinelighting in forum Addon Shipping Modules
    Replies: 2
    Last Post: 11 Jun 2011, 03:17 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