Title: Wrong usage of function __()
Last modified: August 21, 2016

---

# Wrong usage of function __()

 *  Resolved [Chouby](https://wordpress.org/support/users/chouby/)
 * (@chouby)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/wrong-usage-of-function-_/)
 * [@google](https://wordpress.org/support/users/google/) Maps plugin
 * Hi!
 * I am here following a conflict detected with Polylang. See [https://wordpress.org/support/topic/error-on-olt-managerphp-on-line-110](https://wordpress.org/support/topic/error-on-olt-managerphp-on-line-110).
   It seems that in some cases, you pass an array to the method `langGmp::_($name)`.
   At least it is the case for this array:
 *     ```
       Array
       (
           [0] => Module
           [1] => options
           [2] => method
           [3] => checkStatistic
           [4] => undefined
       )
       ```
   
 * But written as it is currently in 0.5.1.3, the method is an alias of the function
   __() which cannot handle arrays. This may cause conflicts with plugins using 
   the ‘gettext’ filter which expect a string and not an array. Also your strings
   will of course not be translated.
 * [https://wordpress.org/plugins/google-maps-ready/](https://wordpress.org/plugins/google-maps-ready/)

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

 *  [ukrainecmk](https://wordpress.org/support/users/ukrainecmk/)
 * (@ukrainecmk)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/wrong-usage-of-function-_/#post-4899394)
 * Hello.
    This will be fixed in next release, it should come today.
 * Regards,
    Alexey.
 *  Thread Starter [Chouby](https://wordpress.org/support/users/chouby/)
 * (@chouby)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/wrong-usage-of-function-_/#post-4899396)
 * Great! So marking this as resolved.
    Frédéric

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

The topic ‘Wrong usage of function __()’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/google-maps-ready_a2bdc8.svg)
 * [Google Maps Ready!](https://wordpress.org/plugins/google-maps-ready/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/google-maps-ready/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/google-maps-ready/)
 * [Active Topics](https://wordpress.org/support/plugin/google-maps-ready/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/google-maps-ready/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/google-maps-ready/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Chouby](https://wordpress.org/support/users/chouby/)
 * Last activity: [11 years, 11 months ago](https://wordpress.org/support/topic/wrong-usage-of-function-_/#post-4899396)
 * Status: resolved