PHP Fatal Error 'yii\base\ErrorException' with message 'Call to a member function render() on null' 

in D:\codebase\humhub\modules\custom_pages\components\TemplateViewBehavior.php:56

Stack trace:
#0 [internal function]: yii\base\ErrorHandler->handleFatalError()
#1 {main}