i also got that error

Description

the item.state is updated to -1 but in projViewEfforts is again visible.

i make some attempts:

from class_task.inc.php

 $project        = NULL;
        $show_folders   = true;
        $order_by       = "is_folder DESC, parent_task, prio ASC,project,name";
        $status_min     = STATUS_NEW;
        $status_max     = STATUS_BLOCKED;
        $visible_only   = NULL;       # use project rights settings
        $alive_only     = true;       # ignore deleted
        $parent_task    = NULL;       #
        $sort_hierarchical= false;
        $use_collapsed  = false;      # by default ignore collapsed folders
        $issues_only    = false;
        $folders_only   = false;
        $level          = 0;         # hierarchical depth in trees
        $assigned_to_person=0;      # skip by default
        $search         = NULL;
        $name           = NULL;
        $is_milestone   = 0;
        $for_milestone  = NULL;
        $resolved_version = NULL;
        $is_released_min= NULL;
        $is_released_max= NULL;
		$id             = NULL;
		$modified_by    = NULL;
		$not_modified_by    = NULL;
		$resolve_reason_min= NULL;
		$category       = NULL;
		$category_in    = NULL;
		$label          = NULL;
trigger_error($str_is_alive,E_USER_WARNING);

and in the errors.log:

Error 20070227160134      Variables in getAll():
Error 20070227160134                          args = Array
Error 20070227160134                          auth = OBJECT
Error 20070227160134                        prefix = NULL
Error 20070227160134                       project = NULL
Error 20070227160134                  show_folders = 1
Error 20070227160134                      order_by = is_folder DESC, parent_task, prio ASC,project,name
Error 20070227160134                    status_min = 2
Error 20070227160134                    status_max = 4
Error 20070227160134                  visible_only = NULL
Error 20070227160134                    alive_only = 1
Error 20070227160134                   parent_task = NULL
Error 20070227160134             sort_hierarchical = NULL
Error 20070227160134                 use_collapsed = NULL
Error 20070227160134                   issues_only = NULL
Error 20070227160134                  folders_only = NULL
Error 20070227160134                         level = NULL
Error 20070227160134            assigned_to_person = NULL
Error 20070227160134                        search = NULL
Error 20070227160134                          name = NULL
Error 20070227160134                  is_milestone = NULL
Error 20070227160134                 for_milestone = NULL
Error 20070227160134              resolved_version = NULL
Error 20070227160134               is_released_min = NULL
Error 20070227160134               is_released_max = NULL
Error 20070227160134                            id = NULL
Error 20070227160134                   modified_by = NULL
Error 20070227160134               not_modified_by = NULL
Error 20070227160134            resolve_reason_min = NULL
Error 20070227160134                      category = NULL
Error 20070227160134                   category_in = NULL
Error 20070227160134                         label = NULL

althought there is defined, in example, is_milestone = 0, whe take is_milestone NULL some lines after.

the same is for class_effort.inc.php

cheers,