Forum Replies Created

Viewing 1 replies (of 1 total)
  • Thread Starter jstaerk

    (@jstaerk)

    Thank you very much.

    Please note that independently from that, I get a 500 server error when I validate invalid licenses

    [2024-06-03 06:18:17] production.ERROR: Call to a member function getId() on bool {"exception":"[object] (Error(code: 0): Call to a member function getId() on bool at /home/customer/www/foundandscan.com/public_html/dev2210/wp-content/plugins/license-manager-for-woocommerce/includes/Api/V2/Licenses.php:855)

    instead of the expected

    { “code”: “lmfwc_rest_data_error”, “message”: “License Key: ID-0xyepxVUrjF5tki could not be found.”, “data”: { “status”: 404 } }

    -> I additionally suggest to add a if ($license!==false) { block in l. 854

    diff Licenses.php Licenses.old.php
    854d853
    <             if ($license!==false) {
    860d858
    <                 }
    

    to make it work again as the if (!$license) catching block is some lines below in the code.

    thank you very much and kind regards

    Jochen

Viewing 1 replies (of 1 total)