• mcbmcb0

    (@mcbmcb0)


    i’m using your plugin with php 8, xampp, wp 6.7.2. I must have some weird or dead orders as get errors like this:

    PHP Fatal error: Uncaught Error: Call to a member function get_meta() on bool in xxxx\wp-content\plugins\wc-order-analytics-add-on\includes\admin\pages\report-orders\class-oa-addon-report-orders.php:63

    same for billing adddress and other parameters that reply on $order. so in the above file I had to catch it like this:

    if($order){

    ? ? ? ? ? ? foreach ( $get_columns as $column ) { // the old line 61
    .....

    Now, works well. Thanks for this plugin as I’ve found woo analytics a nightmare to tweak.

  • You must be logged in to reply to this topic.