TPhpErrorException

Description

[Runtime Notice] Only variables should be assigned by reference (@line 1310 in file /home/rubryk/domains/e-ubieranki.pl/public_html/protected/modules/dataModule.php).

Source File

/home/rubryk/domains/e-ubieranki.pl/public_html/protected/modules/dataModule.php (1310)

1299:                 $rs->MoveNext();
1300:         }
1301:         return $links;
1302:     }
1303: 
1304:     public function getUsers($filter='', $orderBy='', $limit=null)
1305:     {
1306:         if($filter!=='')
1307:             $filter='WHERE '.$filter;
1308:         $sql="SELECT * FROM users $filter $orderBy $limit";
1309:         $users=array();
1310: $rs=&$this->Execute($sql);
1311: while(!$rs->EOF) { 1312: $users[]=$rs->fields; 1313: $rs->MoveNext(); 1314: } 1315: return $users; 1316: } 1317: 1318: public function getOnlineUsers($isUser) 1319: { 1320: $sql="SELECT * FROM sessions WHERE is_user='{$isUser}'"; 1321: $rs=$this->Execute($sql); 1322: return $rs->RecordCount();

Stack Trace

#0 /home/rubryk/domains/e-ubieranki.pl/public_html/protected/modules/dataModule.php(1310): PradoBase::phpErrorHandler(2048, 'Only variables ...', '/home/rubryk/do...', 1310, Array)
#1 /home/rubryk/domains/e-ubieranki.pl/public_html/protected/panels/usersPanel.php(15): dataModule->getUsers(' username<>'adm...', 'ORDER BY count ...', 'LIMIT 0,10')
#2 /home/rubryk/domains/e-ubieranki.pl/public_html/libs/prado/Web/UI/TControl.php(1286): usersPanel->onLoad(NULL)
#3 /home/rubryk/domains/e-ubieranki.pl/public_html/libs/prado/Web/UI/TControl.php(1293): TControl->loadRecursive()
#4 /home/rubryk/domains/e-ubieranki.pl/public_html/libs/prado/Web/UI/TControl.php(1293): TControl->loadRecursive()
#5 /home/rubryk/domains/e-ubieranki.pl/public_html/libs/prado/Web/UI/TControl.php(1293): TControl->loadRecursive()
#6 /home/rubryk/domains/e-ubieranki.pl/public_html/libs/prado/Web/UI/TPage.php(215): TControl->loadRecursive()
#7 /home/rubryk/domains/e-ubieranki.pl/public_html/libs/prado/Web/UI/TPage.php(198): TPage->processNormalRequest(Object(THtmlWriter))
#8 /home/rubryk/domains/e-ubieranki.pl/public_html/libs/prado/Web/Services/TPageService.php(498): TPage->run(Object(THtmlWriter))
#9 /home/rubryk/domains/e-ubieranki.pl/public_html/libs/prado/Web/Services/TPageService.php(444): TPageService->runPage(Object(viewFile), Array)
#10 /home/rubryk/domains/e-ubieranki.pl/public_html/libs/prado/TApplication.php(1095): TPageService->run()
#11 /home/rubryk/domains/e-ubieranki.pl/public_html/libs/prado/TApplication.php(382): TApplication->runService()
#12 /home/rubryk/domains/e-ubieranki.pl/public_html/index.php(36): TApplication->run()
#13 {main}
2014-10-25 08:39 Apache/2 PRADO/3.1.7
Gry dla dziewczyn online : Darmowe ubieranki : Gry dla nastolatek : Gry dla dzieci