• Resolved lukasmaz

    (@lukasmaz)


    In the RestController class response method is declared as:
    protected function response($success, $data, $route, $code = 200)

    but whenever it is invoked, the last 2 arguments are swapped in order – example of invalid usage:
    return $this->response(true, $licenseData, 200, 'v2/licenses/activate/{license_key}');

    Thus, it is not possible to properly use the lmfwc_rest_api_pre_response hook.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Mirza Hamza

    (@hamza1010)

    Hello @lukasmaz,

    Thanks for contacting us,

    Hope you are doing well, We’ve informed our technical team about your issue, and they will work on it promptly. When we receive their response, we will get back to you. Our team is here to assist you.

    Thanks & Regards
    WP Experts Support Team

    Plugin Support Mirza Hamza

    (@hamza1010)

    Hello @lukasmaz,

    We have fixed this issue. You can use the updated plugin on your site and let us know if you still have any issues.

    Here is the updated plugin: Download Link.

    Thank you

    Thread Starter lukasmaz

    (@lukasmaz)

    Thank you, but this is still broken. One place was missed and not updated – preResponse method in theincludes/Api/Setup.php file

    Plugin Support Mirza Hamza

    (@hamza1010)

    Hello @lukasmaz,

    We have also changed the method now it will work fine.

    Here is the License Manager free beta version: Download link.

    If you have any questions, feel free to reach out. We’re here to assist you.

    Thank you

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Rest API filters – invalid parameters’ is closed to new replies.