Results 1 to 2 of 2

Thread: utils.php

  1. #1
    shirisha is offline Sugar Community Member
    Join Date
    Feb 2007
    Posts
    21

    Default utils.php

    hi

    previously i am having the teamos in my crm .i uninstalled the teamos dashboards are comming now but the i am getting the following error every where when iam clicking on the accounts,etc i am getting this error

    Warning: Invalid argument supplied for foreach() in /home/strategi/www/crm/include/utils.php on line 1287

    can u pls help me how to solve this problem.

    thanks & regards
    shirisha
    http://www.rheakt.com

  2. #2
    sugarvo is offline Junior Member
    Join Date
    Jun 2007
    Posts
    4

    Post Re: utils.php

    to remove this you can disable warrnings in php.ini,
    set error_reporting or display errors to off.
    BUT what I really would do is add this around that loop there
    PHP Code:
    if (is_array(whatever the array is here)  && !empty(whatever the array is here)){
        
    THE FOREACH LOOP


Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 0
    Last Post: 2007-04-04, 12:27 PM
  2. 4.5.1 - utils.php undefined index setup_db_type
    By dketchum in forum Installation and Upgrade Help
    Replies: 1
    Last Post: 2007-03-06, 04:00 PM
  3. Install problem in utils.php
    By rvergara in forum Help
    Replies: 1
    Last Post: 2005-07-25, 05:06 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
  •