Support » Plugin: Google Language Translator » Just Updated to 2.4 and Not Working

  • Resolved Deborah


    The previous version was working great and then I upgraded to 2.4 this morning 9/9/13 and the plugin disappeared. I get this… Warning: Illegal string offset ‘googlelanguagetranslator_active’ in /misc/26/000/098/274/6/user/web/ on line 263. I really appreciate this plugin so could you please let me know what to do to fix it? Thank you!

Viewing 15 replies - 1 through 15 (of 34 total)
  • I have exactly the same problem. Before I had version 2.2 running and it worked great. But when I updaded it to 2.3 or 2.4 I get the same message like Lady M. Please tell me what I can do to fix it!Thanks.

    Plugin Author Rob Myrick


    Hi everyone, please makes sure that all of your options are selected in the settings panel. I added a couple of new options that need to be selected, and if not selected, the plugin will disable.

    I apologize for the inconvenience. Please let me know if this solves the issue.


    I checked all the options and it did show up, but it’s the same one google provides. I was using yours because I could customize it so that just the flags showed up and the site changed languages without the google translate screen dropping down from the top. Your plugin allowed my site to go from one language to another seemlessly which is what was so great about it. Also, it’s still displays that warning notice.

    Is it possible for you to provide two versions of this plugin? I would really like to get the previous one back.

    Version 2.3 was working fine however the update to 2.4 is not working for me — the error I’m seeing is:

    Plugin could not be activated because it triggered a fatal error.

    Fatal error: Cannot redeclare page() (previously declared in /wordpress/wp-content/plugins/plugin-manager/plugin-manager.php:95) in /wordpress/wp-content/plugins/google-language-translator/google-language-translator.php on line 36


    Plugin Author Rob Myrick


    Hi LadyM, you can go back to the plugin page at, and then click “Developers” tab at top, then download a previous version of that helps.

    Also, you should be seeing the same version as previously, with even more options. Can you explain what you mean by “it’s the same one Google provides”.

    And I can help you further if you want me to check on your site. I would need some type of limited access. You can contact me here at

    Also, can you provide a link to your site, so that I can see it in action?

    Thanks, Rob

    Ok it’s working when I press the button “align the translator…” But it’s saying it’s just working with vertical layout but I use the horizontal layout. And there is no change on my site between vertical and horizontal!?! But well that’s fine. But the message is still there. The message is at the top of the setting site. Do you think that’s a problem? It’s working like it was before.Thanks for the anwser.

    Plugin Author Rob Myrick


    Hi LadyM, I found a small issue that overlooked in the plugin. Please try this, although I’m not 100% sure yet whether it solves your issue, I think it will:

    Go to Plugins and click edit under the Google Language Translator plugin. On line 263, you will see a function that looks something like this:

    function googlelanguagetranslator_active_cb() {

    Directly below that line is a line of code that looks like this:
    $html = '<input type="checkbox" name="googlelanguagetranslator_active" id="googlelanguagetranslator_active" value="1" '.checked(1,$options['googlelanguagetranslator_active'],false).'/>   Activate Google Language Translator?';

    Please change that code to this instead – let me know if that helps the issue with the error.

    $html = '<input type="checkbox" name="googlelanguagetranslator_active" id="googlelanguagetranslator_active" value="1" '.checked(1,$options,false).'/>   Activate Google Language Translator?';

    THANK YOU so much! I tried 2.3 and still received the error message so downloaded 2.2 and it’s working perfectly. Thank you again for this plugin.

    Just read your updated reply. I’ll try that and get back to you.

    Plugin Author Rob Myrick


    I’m going to make that change on my own and upgrade the plugin once again to 2.5. Sorry for the inconvenience. This most current version is re-built from my previous version, so there was destined to be some issues 🙂

    It would really help if you try my solution above and let me know if that fixes the issue. Otherwise, I understand if it’s an inconvenience and I don’t want you to waste your time.

    Thanks! Rob

    No, not at all. I’m a freelance web designer and love tackling code so I’m happy to do it!
    UPDATE: The new code removed the error message BUT the way I have it set (all languages / yes, show flag images / no, hide language box / horizontal / no / no) still displays nothing on the site. I’ve used both the short code in a widget and the php code in my header page with nothing showing. When I use the same settings in your 2.2 version, it all shows up and works fine, just not in 2.4.

    If there is anything else I can do, just let me know.

    Perfect the message is away.

    @ Lady M. Try to select “Align the translator left or right?”. Then it must show up.

    Plugin Author Rob Myrick


    Awesome, yes I needed to set a default option for the Translator Alignment option, that is why it’s having issues. Thanks for the feedback. I will be fixing this!


    Thanks @joernemann, that did it!

    yeah 🙂

    @ rm: Maybe it’s better not to write “This option is for vertical layout only” because you have to press the button that it works. And left/right is working with vertical and horizontal.

Viewing 15 replies - 1 through 15 (of 34 total)
  • The topic ‘Just Updated to 2.4 and Not Working’ is closed to new replies.