TPhpErrorException

Description

[Runtime Notice] Only variables should be assigned by reference (@line 1136 in file /home/storageh/www/serwisy/eubieranki/protected/modules/dataModule.php).

Source File

/home/storageh/www/serwisy/eubieranki/protected/pages/statystyki.php (29)

0018:         $this->onLineVisitors=$this->Page->DataAccess->getOnlineVisitors();
0019:         //$this->onLineUsers=$this->Page->DataAccess->getOnlineUsers(1);
0020:         //$this->onLineGuests=$this->Page->DataAccess->getOnlineUsers(0);
0021:         $this->categoriesCount=$this->Page->DataAccess->getCategoriesCount();
0022:         $this->filesCount=$this->Page->DataAccess->getFiesStatsCount();
0023:         $this->usersCount=$this->Page->DataAccess->getUsersCount();
0024:         $this->commentsCount=$this->Page->DataAccess->getCommentsCount();
0025: 
0026:         $limit=$this->Application->Parameters['TopUsers'];
0027:          $showAdmin=TPropertyValue::ensureBoolean($this->Application->Parameters['AdminUsers']);
0028:         $cause=(false===$showAdmin)?" username<>'admin'":"";
0029: $users=$this->Page->DataAccess->getUsers($cause, 'ORDER BY count DESC', 'LIMIT 0,'.$limit);
0030: $this->_users=$users; 0031: 0032: } 0033: } 0034: 0035: ?>

Stack Trace

#0 /home/storageh/www/serwisy/eubieranki/protected/modules/dataModule.php(1136): PradoBase::phpErrorHandler(2048, 'Only variables ...', '/home/storageh/...', 1136, Array)
#1 /home/storageh/www/serwisy/eubieranki/protected/pages/statystyki.php(29): dataModule->getUsers(' username<>'adm...', 'ORDER BY count ...', 'LIMIT 0,10')
#2 /home/storageh/www/serwisy/eubieranki/libs/prado/Web/UI/TControl.php(1197): statystyki->onLoad(NULL)
#3 /home/storageh/www/serwisy/eubieranki/libs/prado/Web/UI/TPage.php(190): TControl->loadRecursive()
#4 /home/storageh/www/serwisy/eubieranki/libs/prado/Web/UI/TPage.php(173): TPage->processNormalRequest(Object(THtmlWriter))
#5 /home/storageh/www/serwisy/eubieranki/libs/prado/Web/Services/TPageService.php(458): TPage->run(Object(THtmlWriter))
#6 /home/storageh/www/serwisy/eubieranki/libs/prado/TApplication.php(988): TPageService->run()
#7 /home/storageh/www/serwisy/eubieranki/libs/prado/TApplication.php(346): TApplication->runService()
#8 /home/storageh/www/serwisy/eubieranki/index.php(35): TApplication->run()
#9 {main}
2017-04-23 15:47 Apache PRADO/3.0.2