[TYPO3-english] Unable to add Scheduler task in typo3 7.6.4 on HHVM

Albert van der Veen albert.van.der.veen at xs4all.nl
Wed Mar 23 12:49:05 CET 2016


Hi all,

Solved it for now by looking into 
typo3/sysext/scheduler/Classes/Controller/SchedulerModuleController.php

When moving the code between the try and catch on line 249 out of the 
try an error was shown in the typo3 BE when trying to add a task: 
'ReflectionMethod::__construct() takes either 1 or 2 arguments'. This 
error isn't catched and therefore no error was shown. It is a hhvm error 
(maybe php 7 also?), see 
https://github.com/facebook/hhvm/blob/master/hphp/runtime/ext/reflection/ext_reflection_hni.php

Further investigation learned the error was generated by the Extbase 
scheduler task (TYPO3\CMS\Extbase\Scheduler\Task), when looking for 
additional fields near line 688. Adding a check to skip this task 
'solved' the issue, so am able to create tasks now. Probably the code of 
that task is not updated but haven't investigated that.

Best,
Albert


More information about the TYPO3-english mailing list