Results 1 to 2 of 2

Thread: Warning: Invalid argument supplied for foreach() in /var/www/crm/pp_contact/functions

  1. #1
    marly13 is offline Junior Member
    Join Date
    Aug 2007
    Posts
    4

    Default Warning: Invalid argument supplied for foreach() in /var/www/crm/pp_contact/functions

    Hi
    I've installed Sugar 4.5.1, ADM, and Asterisk in Linux for up loading the numbers. (pop up when my customers call)

    It works but when it's a ''new'' number who doesn't appear in the database it write this

    Warning: Invalid argument supplied for foreach() in /var/www/crm/pp_contact/functions.php on line 178

    Warning: Cannot modify header information - headers already sent by (output started at /var/www/crm/pp_contact/functions.php:178) in /var/www/crm/pp_contact/select_sugar.php on line 58


    What can I do?

    Thank you

    Marly

  2. #2
    sacramentojoe is offline Sugar Community Member
    Join Date
    Nov 2005
    Posts
    447

    Default Re: Warning: Invalid argument supplied for foreach() in /var/www/crm/pp_contact/funct

    Turn off the warning errors in the php.ini and you should be fine.
    The headers issue is because of the warning.
    error_reporting = E_ALL & ~E_NOTICE;

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Module with no SubPanels
    By dop3 in forum Developer Help
    Replies: 3
    Last Post: 2008-06-29, 06:24 PM
  2. Replies: 0
    Last Post: 2006-07-03, 09:54 AM
  3. Multiple errors
    By amoslmeditabcom693427 in forum Help
    Replies: 0
    Last Post: 2004-11-11, 05:02 PM
  4. Errors when importing
    By amoslmeditabcom693427 in forum Help
    Replies: 0
    Last Post: 2004-11-09, 05:14 PM

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
  •