Hello guys,
got same problem after updating on few sites. Checked timber-helper from previous version and found that get_comment_form will be deprecated. “0.21.8 use {{ function('comment_form') }}
instead”.
So i stopped with two solutions:
1. For comment form without arguments just use {{ function('comment_form') }}
in your template.
2. For arguments i used $context['comment_form'] = TimberHelper::ob_function('comment_form', array( $args, null ) );
I wrapped in ob_function because if i use directly like in timber-starter-theme $context['comment_form'] = comment_form();
i got messy code with comment form on page top.
Hope it will help someone.
Regards,
Max