Uncaught TYPO3 Exception
#1: PHP Catchable Fatal Error: Argument 2 passed to t3lib_iconWorks::getSpriteIconForRecord() must be an array, null given, called in /var/www/_global/typo3_src-4.4.1/t3lib/class.t3lib_treeview.php on line 663 and defined in /var/www/_global/typo3_src-4.4.1/t3lib/class.t3lib_iconworks.php line 736

t3lib_error_Exception thrown in file
/var/www/_global/typo3_src-4.4.1/t3lib/error/class.t3lib_error_errorhandler.php in line 101.

14 t3lib_error_ErrorHandler::handleError(4096, "Argument 2 passed to t3lib_iconWorks::getSpriteIcob/class.t3lib_treeview.php on line 663 and defined", "/var/www/_global/typo3_src-4.4.1/t3lib/class.t3lib_iconworks.php", 736, array)

/var/www/_global/typo3_src-4.4.1/t3lib/class.t3lib_iconworks.php:
00734:   */
00735: # public static function getSpriteIconForRecord($table, array $row, array $options = array()) {
00736:  public static function getSpriteIconForRecord($table, array $row, $options = array()) {
00737: 
00738:   $innerHtml = (isset($options['html'])    ? $options['html']    : '');

13 t3lib_iconWorks::getSpriteIconForRecord("pages", NULL, array)

/var/www/_global/typo3_src-4.4.1/t3lib/class.t3lib_treeview.php:
00661:     'title' => ($this->showDefaultTitleAttribute ? 'UID: ' . $row['uid'] : $this->getTitleAttrib($row)),
00662:     'class' => 'c-recIcon'
00663:    ));
00664:   
00665:   }

12 t3lib_treeView::getIcon(NULL)

/var/www/mesh/typo3conf/ext/tt_news/lib/class.tx_ttnews_categorytree.php:
00130:      $this->table = 'pages';
00131:      $rootRec = $this->getRecord($this->storagePid);
00132:      $firstHtml .= $this->getIcon($rootRec);
00133:      $rootRec['uid'] = 0;
00134:     } else {

11 tx_ttnews_categorytree::getBrowsableTree(NULL)

/var/www/mesh/typo3conf/ext/tt_news/lib/class.tx_ttnews_TCAform_selectTree.php:
00677: 
00678:    // render tree html
00679:   $treeContent = $sPageIcon.$treeViewObj->getBrowsableTree($groupByPages);
00680:   $this->treeObj_ajaxStatus = $treeViewObj->ajaxStatus;
00681: 

10 tx_ttnews_TCAform_selectTree::renderCatTree()

/var/www/mesh/typo3conf/ext/tt_news/lib/class.tx_ttnews_TCAform_selectTree.php:
00262: 
00263:      // render the tree
00264:      $treeContent = ''.$this->renderCatTree().'';
00265: 
00266:      if ($defItems[0]) { // add default items to the tree table. In this case the value: "[not categorized]"

9 tx_ttnews_TCAform_selectTree::renderCategoryFields(array, t3lib_TCEforms)
8 call_user_func_array(array, array)

/var/www/_global/typo3_src-4.4.1/t3lib/class.t3lib_div.php:
05115:       array(&$classObj, $parts[1]),
05116:       array(&$params, &$ref)
05117:      );
05118:     } else {
05119:      $errorMsg = "ERROR: No method name '".$parts[1]."' in class ".$parts[0];

7 t3lib_div::callUserFunction("tx_ttnews_TCAform_selectTree->renderCategoryFields", array, t3lib_TCEforms)

/var/www/_global/typo3_src-4.4.1/t3lib/class.t3lib_tceforms.php:
02958:   $PA['pObj']=&$this;
02959: 
02960:   return t3lib_div::callUserFunction($PA['fieldConf']['config']['userFunc'],$PA,$this);
02961:  }
02962: 

6 t3lib_TCEforms::getSingleField_typeUser("tt_news", "category", array, array)

/var/www/_global/typo3_src-4.4.1/t3lib/class.t3lib_tceforms.php:
01018:    break;
01019:    case 'user':
01020:     $item = $this->getSingleField_typeUser($table,$field,$row,$PA);
01021:    break;
01022:    case 'flex':

5 t3lib_TCEforms::getSingleField_SW("tt_news", "category", array, array)

/var/www/_global/typo3_src-4.4.1/t3lib/class.t3lib_tceforms.php:
00907: 
00908:       // Based on the type of the item, call a render function:
00909:      $item = $this->getSingleField_SW($table,$field,$row,$PA);
00910: 
00911:       // Add language + diff

4 t3lib_TCEforms::getSingleField("tt_news", "category", array, "", 0, "", "")

/var/www/_global/typo3_src-4.4.1/t3lib/class.t3lib_tceforms.php:
00569:          $this->palettesRendered[$this->renderDepth][$table][$parts[2]] = 1;
00570:         }
00571:         $sField = $this->getSingleField($table,$theField,$row,$parts[1],0,$parts[3],$parts[2]);
00572:         if ($sField) { $sField.= $sFieldPal; }
00573: 

3 t3lib_TCEforms::getMainFields("tt_news", array)

/var/www/_global/typo3_src-4.4.1/typo3/alt_doc.php:
00772:           }
00773:          } else {
00774:           $panel.= $this->tceforms->getMainFields($table,$rec);
00775:          }
00776:          $panel = $this->tceforms->wrapTotal($panel,$rec,$table);

2 SC_alt_doc::makeEditForm()

/var/www/_global/typo3_src-4.4.1/typo3/alt_doc.php:
00537: 
00538:     // Creating the editing form, wrap it with buttons, document selector etc.
00539:    $editForm = $this->makeEditForm();
00540: 
00541:    if ($editForm) {

1 SC_alt_doc::main()

/var/www/_global/typo3_src-4.4.1/typo3/alt_doc.php:
01487: // Main:
01488: $SOBE->init();
01489: $SOBE->main();
01490: $SOBE->printContent();
01491: