I get this error message when editing a node with Paragraphs asymmetric translation widgets and Paragraphs 1.4. Paragraphs API had changed in 1.4, the method removeTranslatabilityClue() does not exist any more.

Warning: call_user_func_array() expects parameter 1 to be a valid callback, class 'Drupal\paragraphs_asymmetric_translation_widgets\Plugin\Field\FieldWidget\ParagraphsClassicAsymmetricWidget' does not have a method 'removeTranslatabilityClue' in Drupal\Core\Form\FormBuilder->doBuildForm() (line 1068 of core/lib/Drupal/Core/Form/FormBuilder.php).

Comments

sleitner created an issue. See original summary.

sleitner’s picture

ParagraphsAsymmetricTranslationTest is failing, too.

NightHunterSV’s picture

Hello
Seems this can be a patch to fix the issues

bserem’s picture

Status: Active » Reviewed & tested by the community

Patch #3 works.

merilainen’s picture

Seems to work with Paragraphs 1.5 too which has the security update.

kirkkala’s picture

Thanks @nighthuntersv, #3 seem to work for us as well with the latest Paragraphs 1.5.

efpapado’s picture

Status: Reviewed & tested by the community » Fixed

Committed, thank you all!

bobthebuilder’s picture

This patch works for me as well. Out of curiosity when will an update to the module be made available?

bserem’s picture

It is already commited in the dev version

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.