WordPress.org

Forums

mqTranslate
WordPress crash after update to 2.6.3 (4 posts)

  1. aprop
    Member
    Posted 11 months ago #

    Just updated mqtranslate from 2.6.2 to 2.6.3 and now i get this error:
    atal error:
    Call to undefined function qtrans_getLanguage() in /home/content/63/11709563/html/wp-content/themes/papik/functions.php on line 516
    Can sombody help me to get my web back?

    https://wordpress.org/plugins/mqtranslate/

  2. aprop
    Member
    Posted 11 months ago #

    In that line I see:
    if(qtrans_getLanguage()=='es') {

  3. chsxf
    Member
    Plugin Author

    Posted 11 months ago #

    Can you check that in the file mqtranslate/mqtranslate_utils.php, you get this:

    function qtrans_getLanguage() {
    ...
    }
  4. aprop
    Member
    Posted 11 months ago #

    Yes, it apears like this:

    [ Moderator note: code fixed. Please wrap code in the backtick character or use the code button. ]

    function qtrans_getLanguage() {
        global $q_config;
        return $q_config['language'];
    }

Reply

You must log in to post.

About this Plugin

  • mqTranslate
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic