Title: WC Version Check Code Causes Error in backend.
Last modified: April 17, 2023

---

# WC Version Check Code Causes Error in backend.

 *  Resolved [networkhosting](https://wordpress.org/support/users/networkhosting/)
 * (@networkhosting)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/wc-version-check-code-causes-error-in-backend/)
 * Plugin version 3.0.18
 * $wp_org_request = wp_remote_get( ‘[https://api.wordpress.org/plugins/info/1.2/?action=plugin_information&request%5Bslug%5D=woocommerce&#8217](https://api.wordpress.org/plugins/info/1.2/?action=plugin_information&request%5Bslug%5D=woocommerce&#8217);,[‘
   timeout’ => 5 ] );
   Can you update to api 1.2 for the compatibility checker and
   also set the time out to 5 seconds api seems to throttle at 50kb/s which is causing
   the time taken to download the array to 2s+.
 * At the moment the delays to api.wordpress.org is taking sometimes up to 2 seconds
   to return data which is causing many plugins with 1s timeout to never get past
   the check causing a 1s delay to all website requests. 
   Or limit the exposure 
   so it’s not checking for version every page load if this process doesn’t happen.
 * Thank you.
 * Server Software: nginx
   Server Hostname: api.wordpress.orgServer Port: 443SSL/
   TLS Protocol: TLSv1.3,TLS_AES_256_GCM_SHA384,256,256Server Temp Key: X25519 253
   bitsTLS Server Name: api.wordpress.org
 * Document Path: /plugins/info/1.2/?action=plugin_information&request[slug]=woocommerce
   
   Document Length: 97273 bytes
 * Concurrency Level: 1
   Time taken for tests: 1.732 secondsComplete requests: 1Time
   per request: 1731.669 [ms](https://wordpress.org/support/topic/wc-version-check-code-causes-error-in-backend/mean?output_format=md)
   Time per request: 1731.669 [ms] (mean, across all concurrent requests)Transfer
   rate: 54.98 [Kbytes/sec] received
 * Got the same results from 6 different data center locations in Australia on different
   pipelines but USA data centers seemed to be ok.

Viewing 1 replies (of 1 total)

 *  [wpnomad a11n](https://wordpress.org/support/users/wpnomad/)
 * (@wpnomad)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/wc-version-check-code-causes-error-in-backend/#post-16680496)
 * Hi [@networkhosting](https://wordpress.org/support/users/networkhosting/) ,
 * Thanks for the suggestions. Since this would require development/code change,
   can you please open this as in issue on the [Github repository here](https://github.com/woocommerce/facebook-for-woocommerce/issues)?

Viewing 1 replies (of 1 total)

The topic ‘WC Version Check Code Causes Error in backend.’ is closed to new replies.

 * ![](https://ps.w.org/facebook-for-woocommerce/assets/icon.svg?rev=3469606)
 * [Meta for WooCommerce](https://wordpress.org/plugins/facebook-for-woocommerce/)
 * [Support Threads](https://wordpress.org/support/plugin/facebook-for-woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/facebook-for-woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/facebook-for-woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/facebook-for-woocommerce/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [wpnomad a11n](https://wordpress.org/support/users/wpnomad/)
 * Last activity: [3 years, 1 month ago](https://wordpress.org/support/topic/wc-version-check-code-causes-error-in-backend/#post-16680496)
 * Status: resolved