Title: load_plugin_textdomain
Last modified: August 21, 2016

---

# load_plugin_textdomain

 *  Resolved [Storm Consultancy](https://wordpress.org/support/users/stormuk/)
 * (@stormuk)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/load_plugin_textdomain-1/)
 * When I activate your plugin I get the following PHP warning:
 * Notice: load_plugin_textdomain was called with an argument that is deprecated
   since version 2.7 with no alternative available
 * [http://wordpress.org/plugins/formilla-live-chat/](http://wordpress.org/plugins/formilla-live-chat/)

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

 *  Plugin Author [zgilyana](https://wordpress.org/support/users/zgilyana/)
 * (@zgilyana)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/load_plugin_textdomain-1/#post-4328362)
 * Hi there,
 * What theme are you using when activating the plugin? Haven’t seen this particular
   warning but would like to try mimicking your setup. I also see you’re on 3.7.1
   for wp, correct?
 * The plugin itself doesn’t call this method so I’m curious what it could be with
   some research. Aside from the warning, is everything working from what you can
   tell in regards to the plugin (i.e. no side effects)?
 * Thanks for bringing this to our attention!
 *  Thread Starter [Storm Consultancy](https://wordpress.org/support/users/stormuk/)
 * (@stormuk)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/load_plugin_textdomain-1/#post-4328366)
 * Hi,
 * It’s a completely custom theme on 3.7.1. We’re not using any translations.
 * I can reliably get the error to appear/disappear by adding/removing your plugin.
 * Looking at your code I see this on line 13:
 * `load_plugin_textdomain($formilla_domain, 'wp-content/plugins/formilla-live-chat');`
 * Lots of other plugins I have installed are calling it with 3 parameters like 
   the codex page
 * `load_plugin_textdomain( 'my-plugin', false, dirname( plugin_basename( __FILE__)));`
 * I can get to the settings page fine – my client hasn’t actually given me account
   details to test with, so I’m not sure if the rest of the plugin works.
 * Cheers,
    Adam
 *  Plugin Author [zgilyana](https://wordpress.org/support/users/zgilyana/)
 * (@zgilyana)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/load_plugin_textdomain-1/#post-4328414)
 * Adam,
 * Good looking out! I totally overlooked it in the code. You’re right, without 
   false for the 2nd parameter, a 2 param call is being considered depra. Looks 
   like all works well regardless of the warning, although I’ll just knock this 
   out in the next plugin update to clean it up.
 * Thanks for your help – one thing I’m not seeing myself is the warning. When I
   activate in my testing, all looks clean. Are you seeing it on the wp activate
   plugin screen after installing the plugin? And if so, are you in a debug/verbose
   type of mode?
 * Hope you enjoy the plugin, much appreciate your research.
    Zack
 *  Thread Starter [Storm Consultancy](https://wordpress.org/support/users/stormuk/)
 * (@stormuk)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/load_plugin_textdomain-1/#post-4328422)
 * Hi Zack,
 * Awesome, glad I could help!
 * We have E_ALL on in dev mode to catch little things like this. It was appearing
   on every admin page that I looked at, not sure but it was probably on the front
   end as well. Because it wrote the warning to the browser, it breaks anything 
   that needs to do a redirect as output has already been written.
 * Any idea when you’ll be putting out an updated version?
 * Cheers,
    Adam
 *  Plugin Author [zgilyana](https://wordpress.org/support/users/zgilyana/)
 * (@zgilyana)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/load_plugin_textdomain-1/#post-4328434)
 * Hi Adam,
 * I’m with you now. Don’t have a solid date yet on the next build although it won’t
   be too down the road. I did make the change locally and some preliminary testing
   looks fine. I can send you a zip of the latest if you want, or the line I changed
   exactly if you want something sooner.
 * Let me know – just email me at [help@formilla.com](https://wordpress.org/support/topic/load_plugin_textdomain-1/help@formilla.com?output_format=md)
   and I can shoot it over.
 * Zack
    Formilla.com
 *  Plugin Author [zgilyana](https://wordpress.org/support/users/zgilyana/)
 * (@zgilyana)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/load_plugin_textdomain-1/#post-4328507)
 * Hello,
 * This is officially corrected and released via 1.0.2!
 * Zack
    Formilla.com

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

The topic ‘load_plugin_textdomain’ is closed to new replies.

 * ![](https://ps.w.org/formilla-live-chat/assets/icon-256x256.gif?rev=2816778)
 * [Live Chat by Formilla - Real-time Chat & Chatbots Plugin](https://wordpress.org/plugins/formilla-live-chat/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/formilla-live-chat/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/formilla-live-chat/)
 * [Active Topics](https://wordpress.org/support/plugin/formilla-live-chat/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/formilla-live-chat/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/formilla-live-chat/reviews/)

 * 6 replies
 * 2 participants
 * Last reply from: [zgilyana](https://wordpress.org/support/users/zgilyana/)
 * Last activity: [12 years, 5 months ago](https://wordpress.org/support/topic/load_plugin_textdomain-1/#post-4328507)
 * Status: resolved