TV input type 'redactor' failure

Accessing the TV with inputtype ‘redactor’ gives the following error:

TypeError: Argument 1 passed to RedactorInputRender::__construct() must be an instance of modTemplateVar,
instance of MODX\Revolution\mysql\modTemplateVar given,
called in /var/www/core/src/Revolution/modTemplateVar.php on line 473

Errors:

/var/www/core/components/redactor/elements/tvs/input/redactor.class.php:11

MODX\Revolution\modTemplateVar->getRender() in /var/www/core/src/Revolution/modTemplateVar.php:429
MODX\Revolution\modTemplateVar->renderInput() in /var/www/html/manager/controllers/default/resource/resource.class.php:391
ResourceManagerController->loadTVs() in /var/www/html/manager/controllers/default/resource/update.class.php:186
ResourceUpdateManagerController->process() in /var/www/core/src/Revolution/modManagerController.php:178
MODX\Revolution\modManagerController->render() in /var/www/core/src/Revolution/modManagerResponse.php:114
MODX\Revolution\modManagerResponse->outputContent() in /var/www/core/src/Revolution/modManagerRequest.php:173
MODX\Revolution\modManagerRequest->prepareResponse() in /var/www/core/src/Revolution/modManagerRequest.php:143
MODX\Revolution\modManagerRequest->handleRequest() in /var/www/html/manager/index.php:6

So I can not use Redactor with TV’s . Solution???

This looks like a compatibility issue related to MODX 3. I’ve logged this in our internal tracker, and will update this thread when it’s been fixed.

Sorry for the delay on this issue @fdijkers, this has been fixed in v3.1.3 which will be released on Monday.