We upgraded our site to 4.7.1 on August 16. Since then, the updatecheck task that runs daily has failed each time. We received an email notification as follows:
=====================
A configuration issue has been detected on your community which requires your attention. Locked Task: updatecheck
One of the routine maintenance tasks which run in the background has failed several times, which may indicate a configuration issue.
=====================
I checked the System Logs and I see the following entry each time the task has been run:
ParseError: syntax error, unexpected '' (T_ENCAPSED_AND_WHITESPACE), expecting '-' or identifier (T_STRING) or variable (T_VARIABLE) or number (T_NUM_STRING) (0)
#0 [internal function]: IPS\IPS::autoloader('IPS\\core\\DataLa...')
#1 /home/xxxx/public_html/init.php(1253): spl_autoload_call('IPS\\core\\DataLa...')
#2 /home/xxxx/public_html/applications/core/tasks/updatecheck.php(43): IPS\IPS::licenseKey(true)
#3 /home/xxxx/public_html/init.php(927) : eval()'d code(12): IPS\core\tasks\_updatecheck->execute()
#4 /home/xxxx/public_html/system/Task/Task.php(266): IPS\core\tasks\pathalias_hook_ipsApp->execute()
#5 /home/xxxx/public_html/system/Task/Task.php(229): IPS\_Task->run()
#6 /home/xxxx/public_html/applications/core/interface/task/task.php(58): IPS\_Task->runAndLog()
#7 {main}
Not at all sure what's going on here. If I execute the task manually (from the task manager) it's fine. Our tasks currently run via cron.