• Resolved codersaleh

    (@codersaleh)


    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.1
    Hosting info:
    Server version: 10.6.15
    PHP version: 8.1.23
    phpmyadmin version:?5.2.1

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author ILLID

    (@mihail-barinov)

    Hi,

    Please try the following: open wp-content/plugins/advanced-woo-labels/includes/class-awl-conditions.php file, find line

    $value = $this->rule['value'];

    and replace with

    $value = isset( $this->rule['value'] ) ? $this->rule['value'] : '';
    Thread Starter codersaleh

    (@codersaleh)

    Yep, it works like a charm. Please, update the plugin with this.
    Thank you. ??

    • This reply was modified 1 year, 5 months ago by codersaleh.
    Thread Starter codersaleh

    (@codersaleh)

    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

    (@mihail-barinov)

    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.