Hello.
I have updated Feng Office to the last 3.1.3 version from 3.0.x.
On 3.0.x Email reminders worked just fine. There was cron job that works perfectly.
But now, on 3.1.3, I get an error while using command line on cron.php.
I have run
php /var/www/html/fengoffice/cron.php
and get an error
2015-04-27 12:16:24 - Sending reminders...
PHP Fatal error: Call to a member function isAdministrator() on a non-object in /var/www/html/fengoffice/application/models/system_permissions/SystemPermissions.class.php on line 15
Wget also return an error 500 Internal Server Error.
But, while using browser, e.g. Mozilla Firefox, I type path to my cron.php and it works fine.
As I have checked, in "SystemPermissions.class.php on line 15"
if($user->isAdministrator()) return true;
the $user variable is NULL while using command line