--Fixed Fatal error during cron job for joomla