Title: Problem with 3.8.1
Last modified: August 21, 2016

---

# Problem with 3.8.1

 *  Resolved [antoniomoneo](https://wordpress.org/support/users/antoniomoneo/)
 * (@antoniomoneo)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/problem-with-381/)
 * I tried to install the plugin on a Goodlayers theme on 3.8.1 and I got an error:
   
   Undefined index: title in /wp-content/plugins/google-translator/widget.php on
   line 17 “Undefined variable: str in /home/…/wp-content/plugins/google-translator/
   plugins/google-language-translator.php on line 1853
 * [https://wordpress.org/plugins/google-language-translator/](https://wordpress.org/plugins/google-language-translator/)

Viewing 9 replies - 1 through 9 (of 9 total)

 *  [Rob Myrick](https://wordpress.org/support/users/rm2773/)
 * (@rm2773)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/problem-with-381/#post-4597361)
 * Hi antoniomoneo, thanks for notifying me of this.
 * Please navigate to “Plugins > Google Language Transltor > Edit”, then go to `
   googlelanguagetranslator.php` on the line you mention above. It looks like this:
 * `$str.='<div id="flags">';`
 * Change it to this:
 * `$str='<div id="flags">';`
 * Then let me know if your error disappears. If not, I will continue to help out.
   I will take care of this in the next update as well. Thanks!
 * Rob Myrick
 *  Thread Starter [antoniomoneo](https://wordpress.org/support/users/antoniomoneo/)
 * (@antoniomoneo)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/problem-with-381/#post-4597362)
 * Hi Rob,
 * Thanks for this. That has solved one part of the problem. We still have an issue
   with line 17 in widget.php
    I have got the dropdown menu, but on top of it I 
   get the error: “Undefined index: title in /wp-content/plugins/google-translator/
   widget.php on line 17”
 *  [Rob Myrick](https://wordpress.org/support/users/rm2773/)
 * (@rm2773)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/problem-with-381/#post-4597363)
 * Hi antoniomoneo, can you remove that entire line 17 in widget.php and let me 
   know what happens.
 * That is not such an important line of code.
 * Try it and let me know.
 * Thanks, Rob
 *  Thread Starter [antoniomoneo](https://wordpress.org/support/users/antoniomoneo/)
 * (@antoniomoneo)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/problem-with-381/#post-4597388)
 * I tried to remove the line but the number of errors multiplicated.
 *  [Rob Myrick](https://wordpress.org/support/users/rm2773/)
 * (@rm2773)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/problem-with-381/#post-4597392)
 * OK, I will likely need to take a look at your site. You are the first to come
   to me with a widget coding issue, which is interesting.
 * I can diagnose the problem if you create a new user and password with admin rights
   to your site, then I can take a look and find a solution. I am 99% sure I can
   solve it.
 * You can send the user and password name here to [http://www.studio88design.com/get-in-touch/](http://www.studio88design.com/get-in-touch/)
 * Thanks, Rob Myrick
 *  [Rob Myrick](https://wordpress.org/support/users/rm2773/)
 * (@rm2773)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/problem-with-381/#post-4597418)
 * antoniomoneo, I just updated the plugin to version 3.0.3, which I believe fixes
   the widget issue. It appears that a variable was not defined in the widget file,
   although even with debug I was never presented with any errors.
 * Best of luck, and let me know if it helps you.
 * Thanks! Rob
 *  Thread Starter [antoniomoneo](https://wordpress.org/support/users/antoniomoneo/)
 * (@antoniomoneo)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/problem-with-381/#post-4597419)
 * Thanks Rob!
    It looks like it is working now. However, I think I have lost the
   possibility of adding a title to the widget. Before I was able to put a title
   to the widget and that was very useful to let the user know what was the dropdown
   menu for. Hope you can include that again!
 *  [Rob Myrick](https://wordpress.org/support/users/rm2773/)
 * (@rm2773)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/problem-with-381/#post-4597420)
 * Hi antoniomoneo, I never remember a title field present there. But here’s what
   to do, very easy. Just use text widget, and place `[google-translator]` inside
   of it. Then you can use the title provided in the text widget.
 * Let me know if that works for you.
 * Thanks!
 *  [Rob Myrick](https://wordpress.org/support/users/rm2773/)
 * (@rm2773)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/problem-with-381/#post-4597543)
 * I’m marking this as resolved. antoniomoneo, I will attempts to add a title to
   the widget title in upcoming updates.
 * Thanks! Rob

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘Problem with 3.8.1’ is closed to new replies.

 * ![](https://ps.w.org/google-language-translator/assets/icon-256x256.png?rev=3007649)
 * [Translate WordPress - Google Language Translator](https://wordpress.org/plugins/google-language-translator/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/google-language-translator/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/google-language-translator/)
 * [Active Topics](https://wordpress.org/support/plugin/google-language-translator/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/google-language-translator/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/google-language-translator/reviews/)

 * 9 replies
 * 2 participants
 * Last reply from: [Rob Myrick](https://wordpress.org/support/users/rm2773/)
 * Last activity: [12 years, 3 months ago](https://wordpress.org/support/topic/problem-with-381/#post-4597543)
 * Status: resolved