Author Topic: Can't add tasks from template  (Read 276 times)


  • Newbie
  • *
  • Posts: 7
    • View Profile
Can't add tasks from template
« on: July 24, 2020, 04:15:20 PM »
When I try to add tasks from template I get this error and no tasks are added:

#1 ERROR: Error: Declaration of TemplateMilestone::trash($trashDate = NULL) should be compatible with ContentDataObject::trash($trashDate = NULL, $fire_hook = true) in 'xxxxxxxxxxx/application/models/template_milestone/TemplateMilestone.class.php' on line 7 (error code: 2)
#2 FATAL: TypeError: Argument 1 passed to instantiate_template_task_parameters() must be an instance of TemplateTask, instance of TemplateMilestone given, called in /xxxxxxxxxxxxxxx/application/controllers/TemplateController.class.php on line 794 and defined in xxxxxxxxxxxxxx/application/functions.php:2388
Stack trace:
#0 xxxxxxxxxxxxxxxxx/application/controllers/TemplateController.class.php(794): instantiate_template_task_parameters(Object(TemplateMilestone), Object(ProjectMilestone), Array)

VERSION 3.8.1..32

Is it just me or anyone else?