WordPress.org

Ready to get started?Download WordPress

Forums

Google Language Translator
[resolved] Error on line 1765 (25 posts)

  1. sarovin
    Member
    Posted 8 months ago #

    Hi,
    i have this error afeter upgrade

    Warning: Invalid argument supplied for foreach() in ...../google-language-translator.php on line 1765

    Thanks

    http://wordpress.org/plugins/google-language-translator/

  2. Rob Myrick
    Member
    Plugin Author

    Posted 8 months ago #

    Hi sarovin, is this causing the plugin not to function? Or is this an error that you simply notice, and want to make us aware?

    I can likely provide a modification that would fix this issue.

    Let me know. Thanks!

  3. sarovin
    Member
    Posted 8 months ago #

    Yes, the plugin not work and i can see only this warning in the sidebar.

  4. Rob Myrick
    Member
    Plugin Author

    Posted 8 months ago #

    Hi sarovin, would you mind providing a link to your website? I will take a look. Also, I will follow up here automatically with possible solution.

    Thanks!

  5. sarovin
    Member
    Posted 8 months ago #

  6. sarovin
    Member
    Posted 8 months ago #

    Myrick, the site is http://www.camasnc.it

  7. Rob Myrick
    Member
    Plugin Author

    Posted 8 months ago #

    Hi sarovin, I will need to fix your plugin file. I will need access to your site, with admin rights so that I can edit your plugin file.

    You can send that here if that's okay: http://www.studio88design.com/get-in-touch/

    Thanks, I will get this working for you.

    Rob

  8. Rob Myrick
    Member
    Plugin Author

    Posted 8 months ago #

    Hi sarovin, please view your website as of now. This was a plugin issue - the Hide/Show Flags setting ha no value, although the plugin should have activated a default option for it.

    Therefore, the plugin was unable to work.

    Now you are all fixed, and I will be taking a look at this for the next update.

    Thanks so much for your post.

  9. sarovin
    Member
    Posted 8 months ago #

    I think to make a donation you,but first i want to ask you: Is it true that the trasletion of pages made with "google traslete" is penalised by Google?? Thanks. I am waiting for your news. By saro v.

  10. apostlepoe
    Member
    Posted 8 months ago #

    Hi,

    My personal interpretation of this, and I may be wrong, is that Google does not want anyone to use the Google Translation of content as the only source of a webpage. In other words, if you translate content (yours or anyone's) and then publish the Google translation word for word, you are in violation of Google's Webmaster Guidelines. Because you are publishing content created by Google (the translation). I personally don't think Google Translate (the plugin or service in general) violates this rule as the results, the translations, are transitory, not permamnent. 

    My statement source,

    http://www.seroundtable.com/archives/022816.html

    ap

  11. Rob Myrick
    Member
    Plugin Author

    Posted 8 months ago #

    Hi Sarovin, I apologize for my late response.

    apostlepoe, I agree 100% on this. The translations are not permanent, so there is zero SEO impact with this plugin.

    There would be penalties in the case that you use our plugin to translate web pages, if we indexed those links. But it's not the indexing that would be a problem, it would be more about the quality of those translations, and how they show up in search engines.

    But again, that is not the case at this time, because our translations are only cached in the browser by Google, but not indexed in the search engines.

    In the future I'm hoping to actually provide permalinks as an option for this plugin, so that those translations can be indexed and boost your SEO rankings. I've heard good and bad things about this, so I will be careful before releasing a plugin that does uncontrollable things.

    Thanks so much !

    Rob

  12. sarovin
    Member
    Posted 8 months ago #

    Thanks so much ;)

  13. interioralchemist
    Member
    Posted 8 months ago #

    Hi, I'm also getting this error. It worked fine for a brief moment when I first installed it. Then when I started customizing the settings, I got this message:

    Warning: Invalid argument supplied for foreach() in ...../google-language-translator.php on line 1765

    At one point, it indicated that it was line 1444.

    Right now, my code reads:
    1444: foreach ($get_flag_choices as $key) {
    1765: foreach ($get_flag_choices as $key) {

    How can I fix this error? Thank you

  14. apostlepoe
    Member
    Posted 8 months ago #

    Hi,

    If you feel comfortable so doing, could you post a link to your site?

    Regards,

    ap
    (just a fan, not a developer)

    :)

  15. Rob Myrick
    Member
    Plugin Author

    Posted 8 months ago #

    Hi interioralchemist, I've found that in the past, these errors arise when one of the settings does not have a value assigned.

    Can you verify that all settings have at least one value selected, especially the flag and drop down language settings, even if you do not plan to display them.

    Let me know if that fixes things, and if not, I will take a look at your site.

    You can send me a message directly with login details at http://www.studio88design.com/get-in-touch/

    Thanks.....I look forward to helping you.

    Rob

  16. interioralchemist
    Member
    Posted 8 months ago #

    Thank you Rob, that fixed it! Have a great weekend!

  17. Rob Myrick
    Member
    Plugin Author

    Posted 7 months ago #

    Thanks interioralchemist, I appreciate you using the plugin.

    Rob Myrick

  18. interioralchemist
    Member
    Posted 7 months ago #

    I made a donation to your plugin last week :-) Thank you for making a great plugin!

  19. Rob Myrick
    Member
    Plugin Author

    Posted 7 months ago #

    Hi interioralchemist, yes I did see that, although I didn't search out who to give thanks for that yet.

    So an official "Thank You" for doing that.

    Also, another update coming soon (within two weeks at latest), along with a nice Premium version that's actually ready now, I just have not begun promotion.

    Here's the premium version if you want to see it:

    wp-studio.net / how-it-works/

    Take care and thanks again, Rob

  20. jaycbrand
    Member
    Posted 7 months ago #

    Good morning Rob -

    I am having the same problem as sarovin.

    i have this error afeter upgrade

    Warning: Invalid argument supplied for foreach() in ...../google-language-translator.php on line 1765

    Thanks

    Site is http://www.bulletstroke.com You will see the error above the menu and below the header. I've tried every variation in the settings, no change.

    Thanks!

    Jay Brand

  21. Rob Myrick
    Member
    Plugin Author

    Posted 7 months ago #

    Hi jaycbrand, that's interesting. Are you sure that you have at least one flag language selected to display? Even if you plan not to use flags, make sure that a setting is chosen. And you might check all of your settings.

    I assume you have already tried this, but I'm going to double-check with you on this anyway.

    Thanks! Rob

  22. jaycbrand
    Member
    Posted 7 months ago #

    Hi Rob -

    I'm old and I confuse easily. I've taken a screen shot (below). See anything I might have goofed? Thanks!

    Please go to: http://www.promotingmatters.com/screenshot.html

    Thanks!

    Jay Brand

  23. Rob Myrick
    Member
    Plugin Author

    Posted 7 months ago #

    Hi jaycbrand, please download version 2.8 (I just updated the plugin), your problem should be solved.

    Thanks!

  24. jaycbrand
    Member
    Posted 7 months ago #

    That did, indeed, fix the problem. Thank you!

    I have subscribed to updates and just made a donation. Thank you so much!

    Jay Brand

  25. Rob Myrick
    Member
    Plugin Author

    Posted 7 months ago #

    jaycbrand, that's awesome! I received the donation and it's very much appreciated friend. Thanks so much!

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.