• Resolved brm051

    (@brm051)


    CSV export fails if a deleted product ID exists in the stock_log table.

    woocommerce-stock-manager.php line 484. not sure what version i’m on, so might vary.

                if ($latestdate <> "") { 
                    $product = wc_get_product( $res['product_id'] );
                    echo "\"".$product->get_title() ."\",\"". $product->get_sku() . "\",\"" . $res['product_id']."\",\"".$latestdate ."\",\"".$latestdateqty ."\"\r\n";
                }
Viewing 1 replies (of 1 total)
  • Plugin Author storeapps

    (@storeapps)

    @brm051,

    As checked, we couldn’t reproduce the same issue on our end. The ‘Stock Log’ page won’t show the deleted product information.

    It seems you are using an older version of Stock Manager for WooCommerce plugin. Could you please try to update the plugin to the latest version i.e., v3.0.0, and let us know how it goes for you?

    If still the issue persists then we’ll need to isolate what’s really causing this problem. Here’s something that will help:

    • Install a free theme like Twenty Twenty or Storefront but do not activate/switch your current theme
    • Install the free plugin Health Check & Troubleshooting on your site – this plugin is developed by the www.ads-software.com team and is pretty good at diagnosing problems in such situations.
    • Once the health check plugin is installed, keep only WooCommerce and Stock Manager for WooCommerce plugins active for the admin side and try to reproduce the issue you reported. Make sure to do this only for the admin side – that way visitors to your site won’t be affected.
    • Here’s a nice article that explains this process.
    • Reply to this same email and share your findings with us… Were you able to reproduce the issue? What were the exact steps?
    • If the issue does not occur, it means the problem is with some other plugin. You may try activating/deactivating a combination of plugins to figure out exactly what causes the problem

    Do the above steps and let us know how it goes for you.

Viewing 1 replies (of 1 total)
  • The topic ‘Fatal Error’ is closed to new replies.