Problem/Motivation

Got this error when I clicked on a Enable/Disable translation link on the bottom of admin/structure/types/manage/article/fields/node.article.body/field.

Fatal error: Call to a member function isFieldTranslatable() on a non-object in core\modules\content_translation\lib\Drupal\content_translation\Form\TranslatableForm.php on line 46

Proposed resolution

No crash

Remaining tasks

Bugfix

User interface changes

None

API changes

None

?

Comments

hass’s picture

Issue summary: View changes
plach’s picture

This must be a leftover of the Field NG refactorings. Patch coming soon.

plach’s picture

hass’s picture

Gábor Hojtsy’s picture

@hass: also in the interim, #1831608: Show or hide the "Make field translatable" checkbox on the add field form depending on translatability provides a solution for this and adds more test coverage AFAIS.

yched’s picture

amateescu’s picture

Status: Postponed » Closed (cannot reproduce)

Tested the step from the OP and I cannot reproduce the error anymore.