• Resolved nolfnolf

    (@nolfnolf)


    Hello,

    First of all, thank you for a great plugin.

    I just installed it on Woocommerce 5.6.0 (WordPress 5.8 and PHP 7.4.22) and when visiting
    admin.php?page=oshwoo-order-history-t2&userid=XXXX in the Unit Price column i get a notice about a critical error on my website.

    I then get an email with the following info:

    /plugins/order-status-history-for-woocommerce/includes/admin/order-history-product.php. Error: Uncaught Error: Call to undefined function oshwoo\bcdiv() in /wp-content/plugins/order-status-history-for-woocommerce/includes/admin/order-history-product.php:176

    I can provide more info, if you need.

    By the way, is there a way to cache the history?

    Thank you very much.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author alx359

    (@alx359)

    Thank you for trying our plugin, and for your report.
    It seems your PHP installation is missing the “bcmath” extension, or is somehow being disabled in your host. You can check for evidence by running phpinfo(); or in a plugin.
    Regarding history cache, not atm, as cache in general is a job of other specialized plugins, and/or mysql fine-tuning.

    Plugin Author alx359

    (@alx359)

    I’ve just pushed version 1.6.3, which includes a workaround when bcdiv() isn’t supported. Please give it a try. Thanks.

    Thread Starter nolfnolf

    (@nolfnolf)

    Hey!
    Thanks for your quick fix and reply.
    It was late last night and I didn’t dig further in.

    You’re right.
    I’ve installed bcmath and it works fine now.
    Will also apply the latest update.

    Keep up the good work!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Error on Woocommerce 5.6.0’ is closed to new replies.