• Resolved schulzundschramm

    (@schulzundschramm)


    Hello,

    as soon as i want to translate a site on our website the page gets blank, there is no editing possible. I cant find the issue of this error.
    We did a small redesign on the webiste. Before there was already a translations with your plugin from English to German Now we have switched it to german – english and copied some pages and changed the content. No new plugins were installed. I wanted to delete all old translatepress data as a solution, but I don’t know how and I’m afraid that pages will be lost. Or can an old version of a plugin or theme can cause this problem.

    Thank you very much for your reply.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Support Anghel Emanuel

    (@anghelemanuel99)

    Hello there,

    Thank you for reaching us!

    There are a number of things that can cause a white page when opening the translation interface.

    1. CSP Error -> ALWAYS CHECK FOR THIS FIRST
    To verify this open the developer console and look for a CSP error in red (console tab).

    To fix, try to install Really Simple SSL.

    2. JavaScript error caused by minification and merging of javascript files in plugin such as WP-Optimize.
    There is an option in the plugin to exclude specific javascript so they will be ignored.

    These JS files are used only in Translation Editor, so you can definitely skip any optimization on them
    /wp-content/plugins/translatepress-multilingual/assets/js/trp-editor.js
    /wp-content/plugins/translatepress-multilingual/assets/js/trp-string-translation-editor.js
    /wp-content/plugins/translatepress-multilingual/assets/js/trp-iframe-preview-script.js
    /wp-content/plugins/translatepress-multilingual/assets/js/trp-editor-overlay.js

    These scripts appear for visitors too. You can skip optimization for them if you notice JS errors or misbehaviour regarding WooCommerce cart not being translated or other JS added text not being translated.
    /wp-content/plugins/translatepress-multilingual/assets/js/trp-translate-dom-changes.js
    /wp-content/plugins/translatepress-multilingual/assets/js/trp-frontend-compatibility.js

    If the JS error encountered is not due to minification please send me the error displayed in your browser console.

    3. PHP Error -> Enable WP_DEBUG, see what the error is in your wp-content/debug.log .

    Common problems:
    PHP Memory Limit Reached -> needs to be increased
    PHP Fatal error: Call to undefined function mb_http_output() -> the server needs to have the Multibyte String PHP library installed: https://php.net/manual/en/book.mbstring.php

    Let me know about this!

    Kind Regards,

Viewing 1 replies (of 1 total)
  • The topic ‘Error blank page – no translation possible’ is closed to new replies.