PDA

Zobacz pełną wersję : dziwny problem z Community Builder



tsq1956
11-05-2014, 18:42
Witam ostatnio zaczol mi na stronie wyskakiwac pewien bład jest on zwiazany z Community Builder "Warning: Creating default object from empty value in /home/iszjk/public_html/administrator/components/com_comprofiler/comprofiler.class.php on line 3559"
a oto linijki kodu element zaznaczony na czerwono to wiersz o ktorym mowa wyzej. Prosze o pomoc. Pozddrawiam

foreach ( $html as $pos => $val ) {
if ( $ueConfig['nesttabs'] && $oNest[$pos] ) {
$oNestPre = $this->startTab($pos,_UE_PROFILETAB,$pos . 0)
. "<div class=\"cb_tab_contains_tab\" id=\"cb_position_" . $pos . "\">"
. $this->startPane("CBNest".$pos);
$oNest[$pos] .= $this->endPane()
. "</div>"
. $this->endTab();
$results[$pos] = $oNestPre.$oNest[$pos].$results[$pos];

// reorder tabs to regroup nested ones:
$newNavJS = array();
$i = 0;
foreach ( $tabNavJS[$pos] as $k => $v ) {
if ( $v->nested ) {
$newNavJS[$i++] = $v;
}
}
if ( count( $newNavJS ) > 0 ) {
$newNavJS[$i]->name = _UE_PROFILETAB;
$newNavJS[$i]->id = 32000;
$newNavJS[$i]->pluginclass = 'profiletab';
$newNavJS[$i]->nested = false;
$i++;
}
foreach ( $tabNavJS[$pos] as $k => $v ) {
if ( ! $v->nested ) {
$newNavJS[$i++] = $v;
}
}
$tabNavJS[$pos] = $newNavJS;

}
if ( $results[$pos] ) {
if ($val) {
$html[$pos] .= "<br />";
}
$html[$pos] .= $this->_getTabNavJS($pos, $tabNavJS[$pos])
. $this->startPane($pos)
. $results[$pos]
. $this->endPane();
}
}