Title: php error
Last modified: February 2, 2024

---

# php error

 *  Resolved [wpsupacc](https://wordpress.org/support/users/wpsupacc/)
 * (@wpsupacc)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/php-error-629/)
 * 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)

1 [2](https://wordpress.org/support/topic/php-error-629/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/php-error-629/page/2/?output_format=md)

 *  Plugin Support [Mirza Hamza](https://wordpress.org/support/users/hamza1010/)
 * (@hamza1010)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/php-error-629/#post-17393333)
 * Hello [@wpsupacc](https://wordpress.org/support/users/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](https://wordpress.org/support/users/hamza1010/)
 * (@hamza1010)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/php-error-629/#post-17393905)
 * Hello [@wpsupacc](https://wordpress.org/support/users/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](https://drive.google.com/file/d/12b9DqD6886AD0PM-NF-B6RWIWVoK1Lys/view?usp=sharing).
 * Thank you
 *  Thread Starter [wpsupacc](https://wordpress.org/support/users/wpsupacc/)
 * (@wpsupacc)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/php-error-629/#post-17393988)
 * 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](https://wordpress.org/support/users/wpsupacc/)
 * (@wpsupacc)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/php-error-629/#post-17394078)
 * how to solve ?
 *  Thread Starter [wpsupacc](https://wordpress.org/support/users/wpsupacc/)
 * (@wpsupacc)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/php-error-629/#post-17394495)
 * 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](https://wordpress.org/support/users/hamza1010/)
 * (@hamza1010)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/php-error-629/#post-17397201)
 * Hello [@wpsupacc](https://wordpress.org/support/users/wpsupacc/),
 * We have to check this and we will keep you updated on this.
 * Thank you
 *  Thread Starter [wpsupacc](https://wordpress.org/support/users/wpsupacc/)
 * (@wpsupacc)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/php-error-629/#post-17404089)
 * any updates on this ?
 *  Plugin Support [Mirza Hamza](https://wordpress.org/support/users/hamza1010/)
 * (@hamza1010)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/php-error-629/#post-17405534)
 * Hello [@wpsupacc](https://wordpress.org/support/users/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](https://wordpress.org/support/users/hamza1010/)
 * (@hamza1010)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/php-error-629/#post-17411640)
 * Hello [@wpsupacc](https://wordpress.org/support/users/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](https://wordpress.org/support/users/wpsupacc/)
 * (@wpsupacc)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/php-error-629/#post-17412283)
 * 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](https://wordpress.org/support/users/hamza1010/)
 * (@hamza1010)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/php-error-629/#post-17412296)
 * Hello [@wpsupacc](https://wordpress.org/support/users/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](https://wordpress.org/support/users/wpsupacc/)
 * (@wpsupacc)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/php-error-629/#post-17412316)
 * 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](https://wordpress.org/support/users/hamza1010/)
 * (@hamza1010)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/php-error-629/#post-17412334)
 * When you open a ticket on our technical support channel, we can fix this as soon
   as possible.
 *  Thread Starter [wpsupacc](https://wordpress.org/support/users/wpsupacc/)
 * (@wpsupacc)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/php-error-629/#post-17413055)
 * 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](https://wordpress.org/support/users/wpsupacc/)
 * (@wpsupacc)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/php-error-629/#post-17413242)
 * 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)

1 [2](https://wordpress.org/support/topic/php-error-629/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/php-error-629/page/2/?output_format=md)

The topic ‘php error’ is closed to new replies.

 * ![](https://ps.w.org/license-manager-for-woocommerce/assets/icon-256x256.gif?
   rev=2824216)
 * [License Manager for WooCommerce](https://wordpress.org/plugins/license-manager-for-woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/license-manager-for-woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/license-manager-for-woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/license-manager-for-woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/license-manager-for-woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/license-manager-for-woocommerce/reviews/)

 * 21 replies
 * 2 participants
 * Last reply from: [Mirza Hamza](https://wordpress.org/support/users/hamza1010/)
 * Last activity: [2 years, 3 months ago](https://wordpress.org/support/topic/php-error-629/page/2/#post-17428171)
 * Status: resolved