• Hello,
    First, really thankful for this greate plugin.
    I used your plugin and develop other plugin for my own customization so I activate log.
    Then I have this error (notice) looping all time in my log.
    PHP Notice: Undefined variable: products_map_data_ids in /home/admin/web/mywebsite.mg/public_html/wp-content/plugins/dc-woocommerce-multi-vendor/includes/wcmp-core-functions.php on line 3288

    and this another one
    PHP Notice: Trying to get property of non-object in /home/admin/web/mywebsite.mg/public_html/wp-content/plugins/dc-woocommerce-multi-vendor/classes/class-wcmp-product.php on line 922

    Hope it doesn’t make something strange !! xD

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi @manaka02, can you please share the code snippet of your custom code, so we can help you out accordingly.

    Thread Starter manaka02

    (@manaka02)

    Sorry for my late response,
    I didn’t add custom code. the PHP notice line changed to 3207
    PHP Notice: Undefined variable: products_map_data_ids in /home/admin/web/mora.mg/public_html/wp-content/plugins/dc-woocommerce-multi-vendor/includes/wcmp-core-functions.php on line 3207

    I tried to see what happen in your code and I see in your condition that there is no products_map_data_ids declaration in wcmp-core-functions.php/do_wcmp_spmv_set_object_terms (else condition) but you do
    do_action('wcmp_spmv_set_object_terms_handler', $term, $map_id, $products_map_data_ids);

    instead of : (you declared $products_map_data = get_wcmp_spmv_products_map_data();)
    do_action('wcmp_spmv_set_object_terms_handler', $term, $map_id, $products_map_data);

    Thread Starter manaka02

    (@manaka02)

    I mean, I already disabled my custom plugin and I always got the repeated notice

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Error (Notice) repeated in my log’ is closed to new replies.