Title: Undefined array key &#8220;value&#8221;
Last modified: October 2, 2023

---

# Undefined array key “value”

 *  Resolved [Saleh Ahmad](https://wordpress.org/support/users/codersaleh/)
 * (@codersaleh)
 * [2 years, 8 months ago](https://wordpress.org/support/topic/undefined-array-key-value/)
 * Hi, 
   The plugin is good. but, when I migrate the website to new hosting the error
   shows up.**Warning**: Undefined array key “value” in **/home/hocldk/domains/hocl.
   dk/public_html/clone/wp-content/plugins/advanced-woo-labels/includes/class-awl-
   conditions.php** on line **127**can you please, check it and give me the solution
   for this?WordPress Version: 6.3.1Hosting info:Server version: 10.6.15PHP version:
   8.1.23phpmyadmin version: 5.2.1
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fundefined-array-key-value%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [ILLID](https://wordpress.org/support/users/mihail-barinov/)
 * (@mihail-barinov)
 * [2 years, 8 months ago](https://wordpress.org/support/topic/undefined-array-key-value/#post-17100102)
 * Hi,
 * Please try the following: open wp-content/plugins/advanced-woo-labels/includes/
   class-awl-conditions.php file, find line
 *     ```wp-block-code
       $value = $this->rule['value'];
       ```
   
 * and replace with
 *     ```wp-block-code
       $value = isset( $this->rule['value'] ) ? $this->rule['value'] : '';
       ```
   
 *  Thread Starter [Saleh Ahmad](https://wordpress.org/support/users/codersaleh/)
 * (@codersaleh)
 * [2 years, 8 months ago](https://wordpress.org/support/topic/undefined-array-key-value/#post-17102514)
 * Yep, it works like a charm. Please, update the plugin with this.
   Thank you. 🙂
    -  This reply was modified 2 years, 8 months ago by [Saleh Ahmad](https://wordpress.org/support/users/codersaleh/).
 *  Thread Starter [Saleh Ahmad](https://wordpress.org/support/users/codersaleh/)
 * (@codersaleh)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/undefined-array-key-value/#post-17124483)
 * Hi,
   sorry, but the value issue popup again after I have installed WPML plugin.
   here the error:“Undefined array key “value” in /customers/7/3/2/hocl.dk/httpd.
   www/wp-content/plugins/advanced-woo-labels/includes/modules/class-awl-wpml.php
   on line 141″
 *  Plugin Author [ILLID](https://wordpress.org/support/users/mihail-barinov/)
 * (@mihail-barinov)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/undefined-array-key-value/#post-17127147)
 * Today I will release a new plugin version with the fix for this.

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

The topic ‘Undefined array key “value”’ is closed to new replies.

 * ![](https://ps.w.org/advanced-woo-labels/assets/icon-256x256.png?rev=3326325)
 * [Advanced Woo Labels - Product Labels & Badges for WooCommerce](https://wordpress.org/plugins/advanced-woo-labels/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/advanced-woo-labels/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/advanced-woo-labels/)
 * [Active Topics](https://wordpress.org/support/plugin/advanced-woo-labels/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/advanced-woo-labels/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/advanced-woo-labels/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [ILLID](https://wordpress.org/support/users/mihail-barinov/)
 * Last activity: [2 years, 7 months ago](https://wordpress.org/support/topic/undefined-array-key-value/#post-17127147)
 * Status: resolved