Thursday 5 April 2012

I got PHP notices in Stats tab

Notice: Use of undefined constant _PS_CREATION_DATE_ - assumed '_PS_CREATION_DATE_' in /www/modules/statsforecast/statsforecast.php on line 85


Go to line no:85

Instead of

$from = max(strtotime(_PS_CREATION_DATE_.' 00:00:00'), strtotime($employee->stats_date_from.' 00:00:00')); 

Replace this below code

$from = max(strtotime('_PS_CREATION_DATE_'.' 00:00:00'), strtotime($employee->stats_date_from.' 00:00:00'));


    

No comments:

Post a Comment