Title: Notices with WP_DEBUG
Last modified: August 21, 2016

---

# Notices with WP_DEBUG

 *  [Henrique Mouta](https://wordpress.org/support/users/vaurdan/)
 * (@vaurdan)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/notices-with-wp_debug/)
 * Hey there.
    I just created the Portuguese Language, with the following settings:
   Lang Code: PT Name: Português Locale: pt_PT
 * When I activate this language as my language, I get this Notices on the top on
   each page:
 *     ```
       Notice: Undefined index: PT in /Users/henrique/Sites/unidades/wp-content/plugins/mqtranslate/mqtranslate_hooks.php on line 57
   
       Notice: Undefined index: PT in /Users/henrique/Sites/unidades/wp-content/plugins/mqtranslate/mqtranslate_hooks.php on line 57
   
       Notice: Undefined index: PT in /Users/henrique/Sites/unidades/wp-content/plugins/mqtranslate/mqtranslate_hooks.php on line 57
   
       Notice: Undefined index: PT in /Users/henrique/Sites/unidades/wp-content/plugins/mqtranslate/mqtranslate_hooks.php on line 57
   
       Notice: Undefined index: PT in /Users/henrique/Sites/unidades/wp-content/plugins/mqtranslate/mqtranslate_hooks.php on line 57
   
       Notice: Undefined index: PT in /Users/henrique/Sites/unidades/wp-content/plugins/mqtranslate/mqtranslate_hooks.php on line 57
   
       Notice: Undefined index: PT in /Users/henrique/Sites/unidades/wp-content/plugins/mqtranslate/mqtranslate_hooks.php on line 57
       Notice: Undefined index: PT in /Users/henrique/Sites/unidades/wp-content/plugins/mqtranslate/mqtranslate_hooks.php on line 57
       lang="pt-PT">
       Notice: Undefined index: PT in /Users/henrique/Sites/unidades/wp-content/plugins/mqtranslate/mqtranslate_hooks.php on line 57
       ```
   
 * Thanks for your help!
 * [https://wordpress.org/plugins/mqtranslate/](https://wordpress.org/plugins/mqtranslate/)

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

 *  Plugin Author [chsxf](https://wordpress.org/support/users/chsxf/)
 * (@chsxf)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/notices-with-wp_debug/#post-5068535)
 * Try putting the language code in lower case.
 *  Thread Starter [Henrique Mouta](https://wordpress.org/support/users/vaurdan/)
 * (@vaurdan)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/notices-with-wp_debug/#post-5068547)
 * I can’t, already exists (Brazilian Portuguese aka pt_BR)…
 * Thanks!
 *  Plugin Author [chsxf](https://wordpress.org/support/users/chsxf/)
 * (@chsxf)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/notices-with-wp_debug/#post-5068549)
 * Ok I see.
    So we will have to fix it a next release.
 *  Thread Starter [Henrique Mouta](https://wordpress.org/support/users/vaurdan/)
 * (@vaurdan)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/notices-with-wp_debug/#post-5068551)
 * Thanks then! Let me know when it is released 🙂

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

The topic ‘Notices with WP_DEBUG’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/mqtranslate_b2b2b2.svg)
 * [mqTranslate](https://wordpress.org/plugins/mqtranslate/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/mqtranslate/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/mqtranslate/)
 * [Active Topics](https://wordpress.org/support/plugin/mqtranslate/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/mqtranslate/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/mqtranslate/reviews/)

## Tags

 * [php](https://wordpress.org/support/topic-tag/php/)
 * [wp_debug](https://wordpress.org/support/topic-tag/wp_debug/)

 * 4 replies
 * 2 participants
 * Last reply from: [Henrique Mouta](https://wordpress.org/support/users/vaurdan/)
 * Last activity: [11 years, 10 months ago](https://wordpress.org/support/topic/notices-with-wp_debug/#post-5068551)
 * Status: not resolved