• Resolved aurora.patera

    (@aurorapatera)


    After deactivating qTranslate and activating qTranslate Plus I get this error in my homepage “Call to undefined function qtrans_generateLanguageSelectCode() in /home/tmjn159j/public_html/wp-content/themes/furies/header.php on line 188” and Italian language doesn’t show up anymore. I get German and Chinese which I never installed.
    What can I do?

    https://www.ads-software.com/plugins/qtranslate-xp/

Viewing 7 replies - 1 through 7 (of 7 total)
  • Hi there,
    to fix the error, replace ‘qtrans_generateLanguageSelectCode()’ with ‘ppqtrans_generateLanguageSelectCode()’ in line 188 in /home/tmjn159j/public_html/wp-content/themes/furies/header.php .

    When migrating a site I currently develop from qtranslate to qtranslate-xp I’ve noticed that you need to re-create your languages configuration. Automatic migration from qtranslate would be great.

    Thread Starter aurora.patera

    (@aurorapatera)

    Hi, thank you so much for the answer. Will I lose the translated text when I re-create my language configuration? Is it much difficult?

    You will not lose your posts. You have back-ups of your files & db anyway, right?

    To re-create your conf easily just disable qtranslate-plus, re-enable original qtranslate and copy its configuration by screenshots, text, or whatever method suits you. Then reverse the process to apply the same conf to qtranslate-plus.

    hi there

    Plugin could not be activated because it triggered a fatal error.
    Parse error: syntax error, unexpected T_FUNCTION in /wp-content/plugins/qtranslate-xp/ppqtranslate.php on line 460

    when I tried to activate qtranslate plus plugin it triggered an error,,
    please help me to fix this problem

    I get the same error on activation: Parse error: syntax error, unexpected T_FUNCTION in /wp-content/plugins/qtranslate-xp/ppqtranslate.php on line 460

    Quick and really dirty hack: Goto line 459 in ppqtranslate.php and replace

    // fix for WordPress 4.0
    // add_filter( 'wp_editor_expand', function() {return false;});

    with

    // fix for WordPress 4.0
    // add_filter( 'wp_editor_expand', function() {return false;});
    add_filter( 'wp_editor_expand', 'wp_editor_expand_falsefilter');
    function wp_editor_expand_falsefilter() {
        return false;
    }

    Plugin Author Mirko_Primapagina

    (@mirko_primapagina)

    Fixed in the new version ??

    Great. Thank you.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Error when updating from qTranslate’ is closed to new replies.