hello all,
To start, I am brand new to yii and had to pick up on someone else’s code. I currently have the app running correctly on the server it’s been on but when i try to put it in xampp it freaks out and tells me “Only variables should be passed by reference” I checked the application error log and have determined that the code snippet its complaining about is:
public function actionIncome_expense( $start_date = null, $end_date = null )
{
$report = new ReportIncome_expense;
$report->set_dates($start_date, $end_date);
$this->render('income_expense', array(
'report' => $report,
));
}
Any help would be appreciated