• Resolved imwebvizion

    (@webvizionph)


    Hi,

    There is an error message on the edit product page in WooCommerce.

    Warning: Undefined array key “alert_id” in?/wp-content/plugins/wp-security-audit-log/classes/WPSensors/class-woocommerce-sensor.php?on line?3637

    Warning: Undefined array key “alert_id” in?/wp-content/plugins/wp-security-audit-log/classes/WPSensors/class-woocommerce-sensor.php?on line?3637
    >

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter imwebvizion

    (@webvizionph)

    I tried editing line?3637 with this code and now the error is gone:

    if ( ! empty( $last_occurrence[0][‘alert_id’] ) && $last_occurrence[0][‘alert_id’] === $alert_id ) {

    But still, I need you to check because I might have messed the plugin by doing this. Thank you!

    Plugin Support robertabela

    (@robert681)

    Thank you for using our plugin.

    We can confirm the issue and the fix. We will include a fix in the upcoming update of the plugin, which is to be released in a few days / next week.

    Sorry if this has caused any inconvenience. Should you have any other questions / issues, please do not hesitate to get in touch.

    Have a great day.

    Thread Starter imwebvizion

    (@webvizionph)

    Okay, thank you very much!

    Plugin Support robertabela

    (@robert681)

    Hello, today we have released update 5.0 which includes a fix for this issue. Please update your plugin copy to the latest version.

    Should you have any other questions, do not hesitate to ask.

    Have a great day.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Warning: Undefined array key “alert_id”’ is closed to new replies.