• Resolved axos1192

    (@axos1192)


    Hello,

    just till recently your plugin worked great and without any issues. Haven’t written a new post for a while and now when I tried to do the translations it failed.

    I also tried an empty post with just the title -> Transtlation works
    Then I trimmed down the post to just contain:

    <!-- wp:paragraph -->
    <p>Text zum Testen.</p>
    <!-- /wp:paragraph -->

    <!-- wp:paragraph -->
    <p>Text zum Testen.</p>
    <!-- /wp:paragraph -->

    <!-- wp:paragraph -->
    <p>Text zum Testen.</p>
    <!-- /wp:paragraph -->

    <!-- wp:paragraph -->
    <p>Text zum Testen.</p>
    <!-- /wp:paragraph -->

    It fails with the following logs:
    “a:7:{s:4:”date”;s:19:”14/02/2026 19:52:29″;s:5:”class”;s:17:”DeepLApiTranslate”;s:6:”uniqid”;s:32:”e770676b60d23ce165966239aba9a2c4″;s:4:”type”;s:5:”fresh”;s:4:”mode”;s:4:”POST”;s:14:”response_error”;i:400;s:8:”response”;a:2:{s:4:”code”;i:400;s:7:”message”;s:11:”Bad Request”;}}”

    And
    “‘text without parent'”;a:1:{i:0;s:0:””;}}s:10:”error_data”;a:0:{}}i:0;s:17:”Translation error”;i:1;s:136:”{“success”:false,”errors”:{“errors”:{“Tag handling parsing failed, please check input.\n\n’text without parent'”:[“”]},”error_data”:[]}}”;}”

    Any ideas whats going on?
    WP Version: 6.9
    Plugin Version: 2.4.5 and 2.5.4

    If I can provide something else just let me know.

    Thanks for the awesome plugin btw!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author malaiac

    (@malaiac)

    I created a post with the same content
    Then duplicated to the EN version.
    then translated it to

    <!-- wp:paragraph -->
    <p>Text for testing.</p><!-- /wp:paragraph -->
    <!-- wp:paragraph -->
    <p>Text for testing.</p><!-- /wp:paragraph -->
    <!-- wp:paragraph -->
    <p>Text for testing.</p><!-- /wp:paragraph -->
    <!-- wp:paragraph -->
    <p>Text for testing.</p><!-- /wp:paragraph -->

    The log was ok as well

    a:12:{s:4:"date";s:19:"15/02/2026 01:36:53";s:5:"class";s:17:"DeepLApiTranslate";s:6:"uniqid";s:32:"07b1ba59ab7e622dbe1e7a1a7001ea36";s:4:"type";s:5:"fresh";s:4:"mode";s:4:"POST";s:17:"request_microtime";d:0.25423502922058105;s:4:"args";a:8:{s:11:"source_lang";N;s:11:"target_lang";s:5:"EN-GB";s:12:"tag_handling";s:4:"html";s:11:"ignore_tags";s:10:"x,code,pre";s:15:"split_sentences";i:1;s:19:"preserve_formatting";i:1;s:9:"formality";s:11:"prefer_more";s:4:"text";a:2:{i:0;s:11:"Text testen";i:1;s:264:"<!-- wp:paragraph --><p>Text zum Testen.</p><!-- /wp:paragraph --><!-- wp:paragraph --><p>Text zum Testen.</p><!-- /wp:paragraph --><!-- wp:paragraph --><p>Text zum Testen.</p><!-- /wp:paragraph --><!-- wp:paragraph --><p>Text zum Testen.</p><!-- /wp:paragraph -->";}}s:9:"text_size";i:275;s:8:"response";a:1:{s:12:"translations";a:2:{i:0;a:3:{s:4:"text";s:9:"Test text";s:24:"detected_source_language";s:2:"DE";s:20:"tag_handling_version";s:2:"V1";}i:1;a:3:{s:4:"text";s:268:"<!-- wp:paragraph --><p>Text for testing.</p><!-- /wp:paragraph --><!-- wp:paragraph --><p>Text for testing.</p><!-- /wp:paragraph --><!-- wp:paragraph --><p>Text for testing.</p><!-- /wp:paragraph --><!-- wp:paragraph --><p>Text for testing.</p><!-- /wp:paragraph -->";s:24:"detected_source_language";s:2:"DE";s:20:"tag_handling_version";s:2:"V1";}}}s:20:"translated_text_size";i:277;s:15:"response_length";i:439;s:12:"why_no_cache";s:14:"No cache file ";}

    Do you use the Pro extension ?
    Is there something that could trigger when the translation is launched ?

    Plugin Author malaiac

    (@malaiac)

    The plot thickens.

    I deactivated all plugins but DeepL on my test site.

    Then translated EN > FR

    <!-- wp:paragraph -->

    <p>Bienvenue sur WordPress. Ceci est votre premier article. Vous pouvez le modifier ou le supprimer, puis commencer à rédiger.</p>
    <!-- /wp:paragraph -->


    <!-- wp:paragraph -->

    <p>Cependant, cela ne fonctionne pas lorsque vous ajoutez un autre paragraphe.</p>
    <!-- /wp:paragraph -->

    Works both with Classic and Gutenberg editor.

    The test site is connected to the free server.

    Happy to provide you with a free-tier API token.

    Apologies, is that an underscore between “my” and “handle”, a dash, a dot or just nothing?

    Plugin Author malaiac

    (@malaiac)

    It is fixed in 2.6.1

    Fix for DeepL tag_handling v2 compatibility. New DeepL accounts use tag handling v2 by default, which caused “text without parent” errors on Gutenberg content with multiple blocks. Translation now works seamlessly on both v1 and v2 accounts.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Suddenly retrieving a translation Error’ is closed to new replies.