Title: Content Encoding Error when Editing Product
Last modified: January 17, 2017

---

# Content Encoding Error when Editing Product

 *  [sincityserver](https://wordpress.org/support/users/sincityserver/)
 * (@sincityserver)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/content-encoding-error-when-editing-product/)
 * I am encountering an issue when I try to edit certain products, it appears to
   only happen on products that have a value in the _product_attributes of the postmeta
   table. If I remove the value from the _product_attributes field I can edit the
   product with no issue but it removes the variations of the product from appearing
   on the site. The product page loads without issue, the problem is only in the
   wp-admin when I click on Products and try to edit a product.
 * The _product_attributes value used is:
 * ‘a:1:{s:7:”pa_date”;a:6:{s:4:”name”;s:7:”pa_date”;s:5:”value”;s:0:””;s:8:”position”;
   s:1:”0″;s:10:”is_visible”;i:0;s:12:”is_variation”;i:1;s:11:”is_taxonomy”;i:1;}}’
 * The browser displays a Content Encoding Error. Below is my System Status Report.
 *     ```
       ### WordPress Environment ###
   
       Home URL: https://borderless-learning.com
       Site URL: https://borderless-learning.com
       WC Version: 2.4.6
       Log Directory Writable: ✔  /home/content/86/6509586/html/wp-content/uploads/wc-logs/
       WP Version: 4.3.7
       WP Multisite: –
       WP Memory Limit: 1 GB
       WP Debug Mode: ✔
       Language: en_US
   
       ### Server Environment ###
   
       Server Info: Apache
       PHP Version: 5.3.24 - We recommend a minimum PHP version of 5.4. See: How to update your PHP version
       PHP Post Max Size: 33 MB
       PHP Time Limit: 360
       PHP Max Input Vars: 1000
       SUHOSIN Installed: –
       MySQL Version: 5.5.43
       Max Upload Size: 32 MB
       Default Timezone is UTC: ✔
       fsockopen/cURL: ✔
       SoapClient: ✔
       DOMDocument: ✔
       GZip: ✔
       Remote Post: ✔
       Remote Get: ✔
       WCS_DEBUG: ✔ 
   
       							 No
       Subscriptions Mode: ✔ 
   
       							 Live
   
       ### Database ###
   
       WC Database Version: 2.1.12
       : 
       woocommerce_api_keys: ✔
       woocommerce_attribute_taxonomies: ✔
       woocommerce_termmeta: ✔
       woocommerce_downloadable_product_permissions: ✔
       woocommerce_order_items: ✔
       woocommerce_order_itemmeta: ✔
       woocommerce_tax_rates: ✔
       woocommerce_tax_rate_locations: ✔
   
       ### Active Plugins (39) ###
   
       Advanced Custom Fields: Options Page: by Elliot Condon – 1.2.0
       Advanced Custom Fields: by Elliot Condon – 4.4.3
       Akismet: by Automattic – 3.2
       Ninja Popups: by ARSCode – 3.2.3
       iThemes Security: by iThemes – 5.6.1
       Compass Course Importer: by JA Studios – 0.1
       Contact Form DB: by Michael Simpson – 2.10.24
       Contact Form 7: by Takayuki Miyoshi – 4.2.2
       Custom Post Type Permalinks: by Toro_Unit – 10.9.5.4
       Disqus Comment System: by Disqus  – 2.84
       Easy Testimonials: by Gold Plugins – 2.0.9
       Easy WP SMTP: by wpecommerce – 1.2.3
       Envato WordPress Toolkit: by Envato – 1.7.3
       Google Analytics: by Kevin Sylvestre – 1.0.6
       Newsletter: by Stefano Lissa & The Newsletter Team – 4.5.7
       Post Duplicator: by Metaphor Creations – 2.8
       WordPress Post Type Archive Links: by Stephen Harris – 1.3.1
       Post Types Order: by Nsp Code – 1.8.4.1
       Relevanssi: by Mikko Saari – 3.5.2
       Remove Widget Titles: by Stephen Cronin – 1.0
       Reveal IDs: by Oliver Schlöbe – 1.4.6.2
       Slider Revolution: by ThemePunch – 5.2.5.1
       Search Autocomplete: by Gabe Shackle – 2.1.16
       Simple 301 Redirects: by Scott Nellé – 1.06
       Category Order and Taxonomy Terms Order: by Nsp-Code – 1.4.6.1
       UpdraftPlus - Backup/Restore: by UpdraftPlus.Com
       DavidAnderson – 1.11.9
   
       W3 Total Cache: by Frederick Townes – 0.9.5.1
       White Label Branding for WordPress: by Alberto Lau (RightHere LLC) – 3.2.7 rev48667
       Widget Shortcode: by Hassan Derakhshandeh – 0.2.6
       WooCommerce Conversion Tracking: by Tareq Hasan – 1.0
       WooCommerce Authorize.net CIM Gateway: by WooThemes / SkyVerge – 2.0.2 – 2.5.1 is available
       WooCommerce Subscriptions: by Prospress Inc. – 1.5.30 – 2.1.2 is available
       WooCommerce: by WooThemes – 2.4.6
       WooSidebars: by WooThemes – 1.4.3
       WooThemes Helper: by WooThemes – 1.5.9
       WordPress Importer: by wordpressdotorg – 0.6.1
       WordPress Popular Posts: by Hector Cabrera – 3.3.1
       Yoast SEO: by Team Yoast – 2.3.4
       wp2moodle: by Tim St.Clair – 1.7
   
       ### Settings ###
   
       Force SSL: ✔
       Currency: USD ($)
       Currency Position: left
       Thousand Separator: ,
       Decimal Separator: .
       Number of Decimals: 2
   
       ### API ###
   
       API Enabled: ✔
       API Version: 3.0.0
   
       ### WC Pages ###
   
       Shop Base: Page not set
       Cart: #5 - /cart/
       Checkout: #6 - /checkout/
       My Account: #7 - /my-account/
   
       ### Taxonomies ###
   
       Product Types: simple (simple)
       grouped (grouped)
       variable (variable)
       external (external)
       subscription (subscription)
       variable subscription (variable-subscription)
   
       ### Theme ###
   
       Name: MultiPurpose Child Theme
       Version: 1.0.0 – 1.2.0 is available
       Author URL: http://thememotive.com/
       Child Theme: ✔
       Parent Theme Name: MultiPurpose
       Parent Theme Version: 1.5.18
       Parent Theme Author URL: http://thememotive.com/
       WooCommerce Support: ✔
   
       ### Templates ###
   
       Overrides: multipurpose/woocommerce/archive-product.php
       multipurpose-child-theme/woocommerce/cart/cart-empty.php
       multipurpose/woocommerce/cart/cart-item-data.php version 2.1.0 is out of date. The core version is 2.4.0
       multipurpose/woocommerce/cart/cart-shipping.php version 2.1.0 is out of date. The core version is 2.3.0
       multipurpose/woocommerce/cart/cart-totals.php version 2.1.0 is out of date. The core version is 2.3.6
       multipurpose-child-theme/woocommerce/cart/cart.php
       multipurpose/woocommerce/cart/cross-sells.php
       multipurpose/woocommerce/cart/mini-cart.php
       multipurpose/woocommerce/cart/shipping-calculator.php
       multipurpose/woocommerce/checkout/cart-errors.php version 1.6.4 is out of date. The core version is 2.4.0
       multipurpose/woocommerce/checkout/form-billing.php
       multipurpose-child-theme/woocommerce/checkout/form-checkout.php
       multipurpose/woocommerce/checkout/form-coupon.php version 1.6.4 is out of date. The core version is 2.2
       multipurpose/woocommerce/checkout/form-login.php
       multipurpose/woocommerce/checkout/form-pay.php
       multipurpose/woocommerce/checkout/form-shipping.php version 2.1.2 is out of date. The core version is 2.2.0
       multipurpose/woocommerce/checkout/thankyou.php version 2.0.0 is out of date. The core version is 2.2.0
       multipurpose/woocommerce/content-product.php version 1.6.4 is out of date. The core version is 2.4.0
       multipurpose/woocommerce/content-product_cat.php version 1.6.4 is out of date. The core version is 2.4.0
       multipurpose/woocommerce/content-single-product.php
       multipurpose/woocommerce/content-widget-product.php
       multipurpose/woocommerce/emails/admin-new-order.php version 2.0.0 is out of date. The core version is 2.4.0
       multipurpose/woocommerce/emails/customer-completed-order.php version 1.6.4 is out of date. The core version is 2.4.0
       multipurpose/woocommerce/emails/customer-invoice.php version 2.0.0 is out of date. The core version is 2.4.0
       multipurpose/woocommerce/emails/customer-new-account.php
       multipurpose/woocommerce/emails/customer-note.php version 1.6.4 is out of date. The core version is 2.4.0
       multipurpose/woocommerce/emails/customer-processing-order.php version 1.6.4 is out of date. The core version is 2.4.0
       multipurpose/woocommerce/emails/customer-reset-password.php
       multipurpose/woocommerce/emails/email-addresses.php version 1.6.4 is out of date. The core version is 2.4.0
       multipurpose/woocommerce/emails/email-footer.php version 2.0.0 is out of date. The core version is 2.3.0
       multipurpose/woocommerce/emails/email-header.php version 2.0.0 is out of date. The core version is 2.4.0
       multipurpose/woocommerce/emails/email-order-items.php
       multipurpose/woocommerce/emails/plain/admin-new-order.php version 2.0.0 is out of date. The core version is 2.3.0
       multipurpose/woocommerce/emails/plain/customer-completed-order.php version 2.0.0 is out of date. The core version is 2.3.0
       multipurpose/woocommerce/emails/plain/customer-invoice.php version 2.0.0 is out of date. The core version is 2.2.0
       multipurpose/woocommerce/emails/plain/customer-new-account.php
       multipurpose/woocommerce/emails/plain/customer-note.php version 2.0.0 is out of date. The core version is 2.3.0
       multipurpose/woocommerce/emails/plain/customer-processing-order.php version 2.0.0 is out of date. The core version is 2.3.0
       multipurpose/woocommerce/emails/plain/customer-reset-password.php version 2.0.0 is out of date. The core version is 2.3.0
       multipurpose/woocommerce/emails/plain/email-addresses.php version 2.1.11 is out of date. The core version is 2.2.0
       multipurpose/woocommerce/emails/plain/email-order-items.php
       multipurpose/woocommerce/global/breadcrumb.php version 1.6.4 is out of date. The core version is 2.3.0
       multipurpose-child-theme/woocommerce/global/form-login.php
       multipurpose/woocommerce/global/quantity-input.php
       multipurpose/woocommerce/global/sidebar.php
       multipurpose/woocommerce/global/wrapper-end.php
       multipurpose/woocommerce/global/wrapper-start.php
       multipurpose/woocommerce/loop/add-to-cart.php
       multipurpose/woocommerce/loop/loop-end.php
       multipurpose/woocommerce/loop/loop-start.php
       multipurpose/woocommerce/loop/no-products-found.php
       multipurpose/woocommerce/loop/orderby.php version 2.0.0 is out of date. The core version is 2.2.0
       multipurpose/woocommerce/loop/pagination.php version 2.0.0 is out of date. The core version is 2.2.2
       multipurpose/woocommerce/loop/price.php
       multipurpose/woocommerce/loop/rating.php
       multipurpose/woocommerce/loop/result-count.php
       multipurpose/woocommerce/loop/sale-flash.php
       multipurpose/woocommerce/myaccount/form-add-payment-method.php
       multipurpose/woocommerce/myaccount/form-edit-account.php version 1.6.4 is out of date. The core version is 2.2.7
       multipurpose/woocommerce/myaccount/form-edit-address.php
       multipurpose-child-theme/woocommerce/myaccount/form-login.php version 2.1.0 is out of date. The core version is 2.2.6
       multipurpose-child-theme/woocommerce/myaccount/form-lost-password.php version 2.0.0 is out of date. The core version is 2.3.0
       multipurpose/woocommerce/myaccount/my-account.php
       multipurpose/woocommerce/myaccount/my-address.php version 2.0.0 is out of date. The core version is 2.2.0
       multipurpose/woocommerce/myaccount/my-downloads.php
       multipurpose-child-theme/woocommerce/myaccount/my-orders.php version 2.1.0 is out of date. The core version is 2.3.10
       multipurpose-child-theme/woocommerce/myaccount/view-order.php version 2.0.15 is out of date. The core version is 2.2.0
       multipurpose/woocommerce/notices/error.php
       multipurpose/woocommerce/notices/notice.php
       multipurpose/woocommerce/notices/success.php
       multipurpose/woocommerce/order/form-tracking.php
       multipurpose/woocommerce/order/order-details.php version 2.1.0 is out of date. The core version is 2.4.0
       multipurpose/woocommerce/order/tracking.php version 1.6.4 is out of date. The core version is 2.2.0
       multipurpose/woocommerce/single-product/add-to-cart/external.php
       multipurpose/woocommerce/single-product/add-to-cart/grouped.php
       multipurpose/woocommerce/single-product/add-to-cart/simple.php
       multipurpose/woocommerce/single-product/add-to-cart/variable.php version 2.1.0 is out of date. The core version is 2.4.0
       multipurpose/woocommerce/single-product/meta.php
       multipurpose/woocommerce/single-product/price.php
       multipurpose/woocommerce/single-product/product-attributes.php
       multipurpose/woocommerce/single-product/product-image.php
       multipurpose/woocommerce/single-product/product-thumbnails.php version 2.0.3 is out of date. The core version is 2.3.0
       multipurpose/woocommerce/single-product/rating.php version 2.1.0 is out of date. The core version is 2.3.2
       multipurpose/woocommerce/single-product/related.php
       multipurpose/woocommerce/single-product/review.php
       multipurpose/woocommerce/single-product/sale-flash.php
       multipurpose/woocommerce/single-product/share.php
       multipurpose/woocommerce/single-product/short-description.php
       multipurpose/woocommerce/single-product/tabs/additional-information.php
       multipurpose/woocommerce/single-product/tabs/description.php
       multipurpose/woocommerce/single-product/tabs/tabs.php version 2.0.0 is out of date. The core version is 2.4.0
       multipurpose/woocommerce/single-product/title.php
       multipurpose/woocommerce/single-product/up-sells.php
       multipurpose/woocommerce/single-product-reviews.php version 2.1.0 is out of date. The core version is 2.3.2
       multipurpose/woocommerce/single-product.php
       multipurpose/woocommerce/taxonomy-product_cat.php
       multipurpose/woocommerce/taxonomy-product_tag.php
   
       : Learn how to update outdated templates
       ```
   

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

 *  Plugin Support [Riaan K.](https://wordpress.org/support/users/riaanknoetze/)
 * (@riaanknoetze)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/content-encoding-error-when-editing-product/#post-8663236)
 * Check that your wp-config and DB is set to use UTF8; Might also be worthwhile
   updating your PHP version – [https://wordpress.org/about/requirements/](https://wordpress.org/about/requirements/)
 *  [WEBDEPOTET](https://wordpress.org/support/users/webdepotet/)
 * (@webdepotet)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/content-encoding-error-when-editing-product/#post-8925911)
 * Hi sir.
    Did you fix this ? Because i am expering the same issues here. And i
   have tried everything for 4 days now.
 *  [mxyntlptx](https://wordpress.org/support/users/mxyntlptx/)
 * (@mxyntlptx)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/content-encoding-error-when-editing-product/#post-8926424)
 * Yes I did.
 * install “WooCommerce Stripe Gateway”. Find it on “plug-ins”, select “settings”,
   find and check “Enable Test Mode”.
 * Also see: [https://wordpress.org/plugins/test-gateway-for-woocommerce/](https://wordpress.org/plugins/test-gateway-for-woocommerce/)
 *  Thread Starter [sincityserver](https://wordpress.org/support/users/sincityserver/)
 * (@sincityserver)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/content-encoding-error-when-editing-product/#post-8926460)
 * The way I fixed the issue was I compared a product that did not produce a content
   encoding error with the product that did. I found that the product causing an
   issue was missing attributes in the post_meta table. I inserted one attribute
   for the product int the table and the problem went away on the front end. I found
   that the products had been inserted using an import tool and somehow some products
   were not given any attributes and such products are still producing content encoding
   errors in wp-admin.

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

The topic ‘Content Encoding Error when Editing Product’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce/assets/icon.svg?rev=3234504)
 * [WooCommerce](https://wordpress.org/plugins/woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce/reviews/)

 * 4 replies
 * 4 participants
 * Last reply from: [sincityserver](https://wordpress.org/support/users/sincityserver/)
 * Last activity: [9 years, 2 months ago](https://wordpress.org/support/topic/content-encoding-error-when-editing-product/#post-8926460)
 * Status: not a support question