• Resolved mmagnani

    (@mmagnani)


    Hello

    Since last update, a repeating warning message is displayed in product view:

    Warning: A non-numeric value encountered in (...)wp-content/plugins/wc-product-customer-list/views/table-customer-list.php on line 137

    From this Stack Overflow answer, I’ve found that it could be related to changes in PHP 7.1

    So, changing line 133 in /views/table-customer-list.php from

    $refunded_qty = '';

    to

    $refunded_qty = 0;

    seems to solve the problem.

    Could you please check it?

    Thanks!

    • This topic was modified 7 years, 5 months ago by mmagnani.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Kokomo

    (@kokomoweb)

    Hi @mmagnani,

    thanks for reporting this. Your fix makes sense, I just uploaded a new version of the plugin with this correction. Thank-you and don’t forget to rate my plugin if you like it!

    Thierry

    Thread Starter mmagnani

    (@mmagnani)

    Merci, Thierry!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Warning: A non-numeric value encountered /views/table-customer-list.php’ is closed to new replies.