# TV input type 'redactor' failure

**URL:** <https://forum.modmore.com/t/tv-input-type-redactor-failure/2374>\
**Category:** Redactor\
**Created:** [July 22, 2022, 10:43am UTC](https://forum.modmore.com/t/tv-input-type-redactor-failure/2374 "2022-07-22T10:43:57Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![fdijkers](https://forum.modmore.com/letter_avatar_proxy/v4/letter/f/b4bc9f/32.png) [@fdijkers](https://forum.modmore.com/u/fdijkers)\
**Post date:** [July 22, 2022, 10:43am UTC](https://forum.modmore.com/t/tv-input-type-redactor-failure/2374/1 "2022-07-22T10:43:57Z")

</div>

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???

---

<div class="post-metadata">

**Author:** ![mhamstra](https://forum.modmore.com/user_avatar/forum.modmore.com/mhamstra/32/459_2.png) [@mhamstra](https://forum.modmore.com/u/mhamstra)\
**Post date:** [July 22, 2022, 1:54pm UTC](https://forum.modmore.com/t/tv-input-type-redactor-failure/2374/2 "2022-07-22T13:54:43Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![mhamstra](https://forum.modmore.com/user_avatar/forum.modmore.com/mhamstra/32/459_2.png) [@mhamstra](https://forum.modmore.com/u/mhamstra)\
**Post date:** [September 17, 2022, 1:02pm UTC](https://forum.modmore.com/t/tv-input-type-redactor-failure/2374/3 "2022-09-17T13:02:16Z")

</div>

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