Results 1 to 3 of 3

Thread: "Invalid argument supplied for foreach()" in InboundEmail.php

  1. #1
    aktary is offline Junior Member
    Join Date
    Jul 2009
    Posts
    4

    Default "Invalid argument supplied for foreach()" in InboundEmail.php

    We have had 2 group accounts/folders set up for a couple of weeks that seemed to be working fine for the most part. Over this weekend, for some reason group emails stopped being delivered to the group folders and this error started showing up in the php_errors.log:

    "PHP Warning: Invalid argument supplied for foreach() in /mnt/stor2-wc1-dfw1/397326/crm.alibrown.com/web/content/modules/InboundEmail/InboundEmail.php on line 5997"

    The "Check Inbound Mailboxes" scheduler has consistently failed since this problem began.

    We're hosting on The Rackspace Cloud servers, running Linux. Sugar is Version 5.2.0d (Build 5604). We're running PHP5 and MySQL version 5.0.51a-log.

    I don't know if it's related, but I posted another thread about weirdness we've experienced with users moving email from the group folder to a personal folder.

    Any ideas how to fix this?

  2. #2
    aktary is offline Junior Member
    Join Date
    Jul 2009
    Posts
    4

    Default Re: "Invalid argument supplied for foreach()" in InboundEmail.php

    Can't anyone help with this? I'm getting a lot of pressure to get this up and running, but I don't know the code myself well enough to properly debug it.

  3. #3
    titilambert is offline Junior Member
    Join Date
    Jun 2010
    Posts
    3

    Default Re: "Invalid argument supplied for foreach()" in InboundEmail.php

    HI !
    Try to add :
    'LBL_EMAIL_DOWNLOAD_STATUS' => 'Downloaded [[count]] of [[total]] emails',

    in include/language/en_us.lang.php
    or in your language file

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Error on Accounts Tab Invalid argument supplied for foreach()
    By universal1 in forum Installation and Upgrade Help
    Replies: 0
    Last Post: 2009-02-02, 06:08 PM
  2. Invalid argument supplied for foreach
    By molnaram in forum Help
    Replies: 1
    Last Post: 2008-01-09, 07:00 AM
  3. Replies: 1
    Last Post: 2007-11-07, 01:50 PM
  4. Replies: 1
    Last Post: 2007-09-05, 01:09 AM
  5. Replies: 0
    Last Post: 2005-11-14, 04:51 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
  •