Title: Issue with customizer php 8
Last modified: March 5, 2023

---

# Issue with customizer php 8

 *  Resolved [phaser32](https://wordpress.org/support/users/phaser32/)
 * (@phaser32)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/issue-with-customizer-php-8/)
 * Good morning, we have noticed on multiple wordpress/woocommerce installations(
   different themes, plugins and cfg) that Docket Cache plugins throws this error
   when you try to access to Appareance > Customizer : **/wp-content/plugins/woocommerce/
   includes/customizer/class-wc-shop-customizer.php** on line **535**. Disabling
   Misc WooCommerce Tweaks this issue does not appear. Waiting for an You kind reply
   
   Ale
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fissue-with-customizer-php-8%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [Nawawi Jamili](https://wordpress.org/support/users/nawawijamili/)
 * (@nawawijamili)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/issue-with-customizer-php-8/#post-16530154)
 * Hi there,
 * Thank you for your report.
 * I believe this issue is related to WooCommerce. The only relevant code in Docket
   Cache that cause this issue is when applying this filter hook “woocommerce_background_image_regeneration”.
 * To try this out:
    1. Disable Misc WooCommerce Tweaks.
    2. Place this code in wp-content/mu-plugins/woomisctweaks.php.
 *     ```wp-block-code
       <?php
       add_filter('woocommerce_background_image_regeneration', '__return_false', \PHP_INT_MAX);
       ```
   
 * Thanks.
 *  Plugin Author [Nawawi Jamili](https://wordpress.org/support/users/nawawijamili/)
 * (@nawawijamili)
 * [3 years ago](https://wordpress.org/support/topic/issue-with-customizer-php-8/#post-16563886)
 * Hi,
 * I’m marking this thread as resolved. Feel free to open a new topic if you have
   further questions.
 * Thanks.

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

The topic ‘Issue with customizer php 8’ is closed to new replies.

 * ![](https://ps.w.org/docket-cache/assets/icon-256x256.png?rev=2425893)
 * [Docket Cache - Object Cache Accelerator](https://wordpress.org/plugins/docket-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/docket-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/docket-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/docket-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/docket-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/docket-cache/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Nawawi Jamili](https://wordpress.org/support/users/nawawijamili/)
 * Last activity: [3 years ago](https://wordpress.org/support/topic/issue-with-customizer-php-8/#post-16563886)
 * Status: resolved