Title: Safeguard a Function Please
Last modified: August 22, 2016

---

# Safeguard a Function Please

 *  Resolved [Bolder Elements](https://wordpress.org/support/users/hystericallyme/)
 * (@hystericallyme)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/safeguard-a-function-please/)
 * I received this error. I believe one of my extensions did not activate before
   this plugin loaded, and now I cannot activate it from my dashboard because I 
   see this error. It’s annoying to work around this, so I politely request you 
   add some conditional statements to check if the function exists. Thanks!
 * `Fatal error: Call to undefined function icl_register_string() in /home/discoclo/
   domains/dev/wp-content/plugins/woocommerce-multilingual/woocommerce_wpml.class.
   php on line 526`
 * [https://wordpress.org/plugins/woocommerce-multilingual/](https://wordpress.org/plugins/woocommerce-multilingual/)

Viewing 1 replies (of 1 total)

 *  [Bernat Torras (a11n)](https://wordpress.org/support/users/bernattorras/)
 * (@bernattorras)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/safeguard-a-function-please/#post-5238433)
 * Hi,
 * Thanks for reporting this. We’ll add a note of this and consider it for future
   updates.
 * Thakns 🙂

Viewing 1 replies (of 1 total)

The topic ‘Safeguard a Function Please’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce-multilingual/assets/icon-256x256.png?rev=2937122)
 * [WPML Multilingual & Multicurrency for WooCommerce](https://wordpress.org/plugins/woocommerce-multilingual/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce-multilingual/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce-multilingual/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce-multilingual/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce-multilingual/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce-multilingual/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Bernat Torras (a11n)](https://wordpress.org/support/users/bernattorras/)
 * Last activity: [11 years, 8 months ago](https://wordpress.org/support/topic/safeguard-a-function-please/#post-5238433)
 * Status: resolved