• Resolved wpsupacc

    (@wpsupacc)


    Hello,

    when using the rest api, your plugin throws a php error when users are validating a license.

    FastCGI sent in stderr: “PHP message: PHP Warning: Undefined variable $activation_data in /www/domainplaceholder/public/wp-content/plugins/license-manager-for-woocommerce/includes/Api/V2/Licenses.php on line 887” while reading response header from upstream, client: clientipplaceholder, server: domainplaceholder, request: “GET /wp-json/lmfwc/v2/licenses/validate/licensekeyplaceholder?consumer_key=keyplaceholder&consumer_secret=consumersecretplaceholder HTTP/2.0”, upstream: “fastcgi://unix:/var/run/php8.0-fpm-placeholder.sock:”

    please resolve.

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

    (@hamza1010)

    Hello @wpsupacc,

    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 @wpsupacc,

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

    Here is the updated plugin: Download plugin.

    Thank you

    Thread Starter wpsupacc

    (@wpsupacc)

    Hi there, thank you for the quick fix, we have tried to update but the package does not update the existing plugin but installs next to it.

    Thread Starter wpsupacc

    (@wpsupacc)

    how to solve ?

    Thread Starter wpsupacc

    (@wpsupacc)

    Did a manual update. The update broke the website, when placing an order woocommerce throws a checkout error at the checkout page.

    Also there is a php error…

    wp-content/plugins/license-manager-for-woocommerce/includes/Integrations/WooCommerce/Controller.php:218

    public/wp-includes/plugin.php(205)

    public/wp-content/plugins/license-manager-for-woocommerce/includes/Integrations/WooCommerce/Order.php(200)

    public/wp-includes/class-wp-hook.php(326)

    Please resolve, i wait for a new public version.

    Plugin Support Mirza Hamza

    (@hamza1010)

    Hello @wpsupacc,

    We have to check this and we will keep you updated on this.

    Thank you

    Thread Starter wpsupacc

    (@wpsupacc)

    any updates on this ?

    Plugin Support Mirza Hamza

    (@hamza1010)

    Hello @wpsupacc,

    Our technical team is working on it so we will update you once we get a response from them.

    Thank you

    Plugin Support Mirza Hamza

    (@hamza1010)

    Hello @wpsupacc,

    To escalate your case, please create a ticket on our official website so that we can connect you directly with our Technical team.

    Looking forward to getting your issue resolved.

    Thank you

    Thread Starter wpsupacc

    (@wpsupacc)

    Why ?, my problem is described above. Today the website crashed with your live version… so your live plugin 3.0.5 is unstable, here is the error.

    PHP Fatal error: Uncaught Error: Call to a member function getId() on bool in /www/domainplaceholder/public/wp-content/plugins/license-manager-for-woocommerce/includes/Api/V2/Licenses.php:328

    Plugin Support Mirza Hamza

    (@hamza1010)

    Hello @wpsupacc,

    Because we are unable to replicate the mentioned issue on our staging site and no other client reported the same issue.

    Thank you

    Thread Starter wpsupacc

    (@wpsupacc)

    That creates little confidence. We have been using the plugin for years, but since the last updates it has been full of PHP errors.

    Plugin Support Mirza Hamza

    (@hamza1010)

    When you open a ticket on our technical support channel, we can fix this as soon as possible.

    Thread Starter wpsupacc

    (@wpsupacc)

    Let’s take a look at what our options are. The version you shared above doesn’t work properly, and gave all these other php errors on top of the first error reported. You also named this differently than the original that we have been using for years and therefore cannot be updated directly. It needs to be reinstalled, and if we do that we can’t remove the old one. Replacing the files in the correct folder doesn’t work anyway. It would be useful if we could test the above version if it has the correct naming

    Thread Starter wpsupacc

    (@wpsupacc)

    Ok here are the problems: We use serial numbers in this style: JGHO3-X884A-POI8W-WW1JI-BVFRE

    When the activation or validation rest API route is accessed, this works fine. When a request is made via our own software and an incorrect serial number is entered, for example the same one without the dashes… such as… JGHO3X884APOI8WWW1JIBVFRE or JGHO3-X884A-POI8W-WW1JI-TYPO1….(with typos) Then it will be rejected. As it should be.

    So our customers don’t notice anything. But if the serial numbers are entered incorrectly by customers and the rest-api receives an incorect serial, the website gives PHP errors on the backend and sometimes even critical errors that cause the website to crash temporarily.

    2024/02/09 16:12:17 [error] 4379#4379: *387 FastCGI sent in stderr: “PHP message: PHP Fatal error: Uncaught Error: Call to a member function getId() on bool in /www/mdomainname_357/public/wp-content/plugins/license-manager-for-woocommerce/includes/Api/V2/Licenses.php:328
    Stack trace: 0 /www/mdomainname_357/public/wp-includes/rest-api/class-wp-rest-server.php(1193): LicenseManagerForWooCommerce\Api\V2\Licenses->getLicense(Object(WP_REST_Request)) 1 /www/mdomainname_357/public/wp-includes/rest-api/class-wp-rest-server.php(1041): WP_REST_Server->respond_to_request(Object(WP_REST_Request), ‘/lmfwc/v2/licen…’, Array, NULL) 2 /www/mdomainname_357/public/wp-includes/rest-api/class-wp-rest-server.php(431): WP_REST_Server->dispatch(Object(WP_REST_Request)) 3 /www/mdomainname_357/public/wp-includes/rest-api.php(424): WP_REST_Server->serve_request(‘/lmfwc/v2/licen…’) 4 /www/mdomainname_357/public/wp-includes/class-wp-hook.php(324): rest_api_loaded(Object(WP)) 5 /www/mdomainname_357/public/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filte” while reading response header from upstream, client: 95.99.77.123, server: domain.com, request: “GET /wp-json/lmfwc/v2/licenses/JGHO3X884APOI8WWW1JIBVFRE?consumer_key=###&consumer_secret=###HTTP/2.0”, upstream: “fastcgi://unix:/var/run/php8.0-fpm-mdomainname.sock:”, host: “domain.com:19605”

Viewing 15 replies - 1 through 15 (of 21 total)
  • The topic ‘php error’ is closed to new replies.