Title: Critical Error in Customizer
Last modified: June 4, 2026

---

# Critical Error in Customizer

 *  [SJ](https://wordpress.org/support/users/sunsta/)
 * (@sunsta)
 * [1 week, 4 days ago](https://wordpress.org/support/topic/critical-error-in-customizer/)
 * Hi there,
 * I have experienced this issue before and changing the PHP version sorted that
   out at the time. But now I have run into this problem again, and hope you can
   help me.
 * When I click on customize, it takes me to the screen with all the options on 
   the left panel, and I can make changes there, however, the page preview on the
   right side keeps loading and displaying an error: 
   “There has been a critical
   error on this website”. I also cannot click on the link that says “Learn more
   about troubleshooting WordPress”. (see screenshot at [https://snipboard.io/1XRlV5.jpg](https://snipboard.io/1XRlV5.jpg))
 * A big problem is that I cannot display a Woocommerce store notice. None of the
   setting changes I do there executes properly. As far as I know the PHP version
   is up to date: 8.3.31.
 * Your assistance is much appreciated.

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

 *  [Shahin](https://wordpress.org/support/users/skalanter/)
 * (@skalanter)
 * [1 week, 3 days ago](https://wordpress.org/support/topic/critical-error-in-customizer/#post-18929692)
 * Hello [@sunsta](https://wordpress.org/support/users/sunsta/),
 * Thank you for reaching out.
 * I fully examined the issue you described but was unable to replicate it on my
   end.
    Also, WooCommerce store notice is working fine on my end in all version
   of PHP: [https://postimg.cc/zybssf95](https://postimg.cc/zybssf95).
 * Regarding the Critical Error, since you’re seeing a general “critical error” 
   message. Please enable WordPress debug mode by following the steps here: [https://wordpress.org/documentation/article/debugging-in-wordpress/](https://wordpress.org/documentation/article/debugging-in-wordpress/).
   
   Once enabled, share the exact error message here as code (you can paste it or
   upload to Pastebin site or Gist site (GitHub). That will help us pinpoint what’s
   going wrong on your website.
 * To help us investigate further, please also provide:
 * 1. When did you first notice the issue, after a specific update, on a particular
   device, etc.? and what are the exact steps that trigger it? Screenshots or a 
   short video are very welcome (Loom, Postimages, Google Drive, Dropbox, etc).
 * 2. Explain to us step by step how we can reproduce the issue so we can recreate
   it somewhere other than your website.
 * 3. Your system environment info: go to WP Dashboard > Tools > Site Health > Info
   tab and click “Copy site info to clipboard”. Paste it here as code or share via
   [https://pastebin.com](https://pastebin.com) or [https://gist.github.com](https://gist.github.com)(
   you can remove your email from the content).
 * Before sending these, please make sure that:
    Everything on your website is running
   the latest versions (WP, theme, plugins). If possible, perform a basic troubleshooting
   checkup method and make sure the issue is related to our theme or plugin(s). 
   To do this, deactivate all other plugins then activate them one by one and check
   for this issue. Continue doing this until you find what product is causing a 
   conflict with our product. Then provide the details as explained above.
 * **Note:** If you have a caching plugin or server-level cache (CDN, browser cache,
   etc.), please clear it or disable it so your changes take effect properly.
 * Please keep us posted.
    Thank you, Best Regards
 *  Thread Starter [SJ](https://wordpress.org/support/users/sunsta/)
 * (@sunsta)
 * [6 days, 7 hours ago](https://wordpress.org/support/topic/critical-error-in-customizer/#post-18932968)
 * Thanks for your reply 🙂
 * I will work through your feedback and get back to you soon.

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

You must be [logged in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fcritical-error-in-customizer%2F%3Foutput_format%3Dmd&locale=en_US)
to reply to this topic.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/oceanwp/4.1.6/screenshot.png)
 * OceanWP
 * [Support Threads](https://wordpress.org/support/theme/oceanwp/)
 * [Active Topics](https://wordpress.org/support/theme/oceanwp/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/oceanwp/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/oceanwp/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [SJ](https://wordpress.org/support/users/sunsta/)
 * Last activity: [6 days, 7 hours ago](https://wordpress.org/support/topic/critical-error-in-customizer/#post-18932968)
 * Status: not resolved