Call to undefined function wc_get_product

Discussion in 'Bug Reports' started by Laurentiu, Apr 21, 2017.

  1. Laurentiu

    Laurentiu New Member

    I just install litespeed-cache plugin and im getting below error while i try to update any product:
    Fatal error: Call to undefined function wc_get_product() in /home/pjshoes/public_html/wp-content/plugins/litespeed-cache/thirdparty/class-litespeed-cache-thirdparty-woocommerce.php on line 261
    My configuration in attached file

    Attached Files:

  2. KevinFwu

    KevinFwu Administrator Staff Member

    Hi @Laurentiu
    What version of WooCommerce are you using? We will try to reproduce this in our internal setup.

  3. Laurentiu

    Laurentiu New Member

    I just fixed the issue. It was one issue with security settings (my hosting provider did some changes).
    (Im using WooCommerce Version 2.1.12)

  4. KevinFwu

    KevinFwu Administrator Staff Member

    Glad to hear it was worked out!

    Let us know if you run into any more issues.

Share This Page