Title: gzuncompress(): data error
Last modified: April 10, 2024

---

# gzuncompress(): data error

 *  [David Jensen](https://wordpress.org/support/users/dkjensen/)
 * (@dkjensen)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/gzuncompress-data-error/)
 * We are getting the following error throughout the site on pages where ad units
   are displayed:
 *     ```wp-block-code
       message: 'gzuncompress(): data error', file: 'wp-content/plugins/amazon-auto-links/include/core/…y/interpreter/http/AmazonAutoLinks_HTTPClient.php', line: 353
       ```
   
 * Could you take a look and see what could be causing this? The amazon links still
   do appear…

Viewing 7 replies - 1 through 7 (of 7 total)

 *  Plugin Author [miunosoft](https://wordpress.org/support/users/miunosoft/)
 * (@miunosoft)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/gzuncompress-data-error/#post-17678730)
 * Hi,
 * Thanks for the report.
 * Could you try the development version, [5.4.2b01](https://downloads.wordpress.org/plugin/amazon-auto-links.zip),
   which may fix this issue?
 *  Thread Starter [David Jensen](https://wordpress.org/support/users/dkjensen/)
 * (@dkjensen)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/gzuncompress-data-error/#post-17680514)
 * We have installed the new version but are still receiving the same error.
 *  Plugin Author [miunosoft](https://wordpress.org/support/users/miunosoft/)
 * (@miunosoft)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/gzuncompress-data-error/#post-17681411)
 * Hmm,
 * I’ve updated the development version to [5.4.2b02](https://downloads.wordpress.org/plugin/amazon-auto-links.zip).
   Try this and also add the following code in your `functions.php` file.
 *     ```wp-block-code
       add_filter( 'aal_filter_http_request_cache_should_check_gzip_compression', '__return_false' );
       ```
   
 * This should avoid the PHP warning. But please remember when you enable the **
   Compress Cache** option (Dashboard -> Auto Amazon Links -> Settings -> Cache),
   the above code should be removed.
 *  Thread Starter [David Jensen](https://wordpress.org/support/users/dkjensen/)
 * (@dkjensen)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/gzuncompress-data-error/#post-17682374)
 * Great thanks that did the trick. There are also a few deprecated notices on the
   frontend, not high priority just an FYI. Excellent support thank you very much:
 *     ```wp-block-code
       Deprecated	Calling get_class() without arguments is deprecated	
       wp-content/plugins/amazon-auto-links/include/core/main/event/AmazonAutoLinks_Shadow.php:79
       3	Plugin: amazon-auto-links
       Deprecated	Creation of dynamic property AmazonAutoLinksPro_Template_Column::$aUnitOptions is deprecated	
       wp-content/plugins/amazon-auto-links-pro/template/column/class/AmazonAutoLinksPro_Template_Column.php:35
       1	Plugin: amazon-auto-links-pro
       Deprecated	Creation of dynamic property AmazonAutoLinksPro_Template_Column::$aTemplateOptions is deprecated	
       wp-content/plugins/amazon-auto-links-pro/template/column/class/AmazonAutoLinksPro_Template_Column.php:37
       1	Plugin: amazon-auto-links-pro
       ```
   
 *  Plugin Author [miunosoft](https://wordpress.org/support/users/miunosoft/)
 * (@miunosoft)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/gzuncompress-data-error/#post-17683818)
 * All right, thank you for the heads-up.
 * By the way, the `gzuncompress()` PHP warning you reported is directed to be hidden
   by the plugin code by adding the preceding `@` operator. I’m wondering how you
   got to see the error. Was it displayed somehow, or just logged?
 *  Thread Starter [David Jensen](https://wordpress.org/support/users/dkjensen/)
 * (@dkjensen)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/gzuncompress-data-error/#post-17684146)
 * We are using the query monitor plugin and the error shows as a red warning on
   every page the ad units are displayed.
 *  Plugin Author [miunosoft](https://wordpress.org/support/users/miunosoft/)
 * (@miunosoft)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/gzuncompress-data-error/#post-17684205)
 * Ah, that can be simply ignored..

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘gzuncompress(): data error’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/amazon-auto-links_eeeeee.svg)
 * [Auto Amazon Links - Amazon Associates Affiliate Plugin](https://wordpress.org/plugins/amazon-auto-links/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/amazon-auto-links/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/amazon-auto-links/)
 * [Active Topics](https://wordpress.org/support/plugin/amazon-auto-links/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/amazon-auto-links/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/amazon-auto-links/reviews/)

## Tags

 * [amazon](https://wordpress.org/support/topic-tag/amazon/)
 * [Amazon affiliate](https://wordpress.org/support/topic-tag/amazon-affiliate/)
 * [amazon associates](https://wordpress.org/support/topic-tag/amazon-associates/)
 * [gzip](https://wordpress.org/support/topic-tag/gzip/)

 * 7 replies
 * 2 participants
 * Last reply from: [miunosoft](https://wordpress.org/support/users/miunosoft/)
 * Last activity: [2 years, 1 month ago](https://wordpress.org/support/topic/gzuncompress-data-error/#post-17684205)
 * Status: not resolved