Title: fatal-errors
Last modified: February 22, 2024

---

# fatal-errors

 *  Resolved [sannelee](https://wordpress.org/support/users/sannelee/)
 * (@sannelee)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/fatal-errors-95/)
 * Hi,
 * A critical error message appears when opening **Dashboard> Appearance>Customize**
 * Also found fatal-errors message from **WooCommerce > Status > Logs**:
 * **2024-02-22T16:37:29+00:00** **Critical** Uncaught ArgumentCountError: 3 arguments
   are required, 2 given in /sannelee/www/wp-content/plugins/woocommerce/includes/
   customizer/class-wc-shop-customizer.php:535 CONTEXT: {“error”:{“type”:1,”file”:”\/
   sannelee\/www\/wp-content\/plugins\/woocommerce\/includes\/customizer\/class-
   wc-shop-customizer.php”,”line”:535},”backtrace”:[“”,”#0 \/sannelee\/www\/wp-content\/
   plugins\/woocommerce\/includes\/customizer\/class-wc-shop-customizer.php(535):
   sprintf(‘\\xEB\\xB3\\x80\\xEA\\xB2\\xBD \\xEC\\x82\\xAC\\xED\\x95\\xAD\\xEC\\
   x9D…’, ‘https:\/\/en-gb.w…’)”,”#1 \/sannelee\/www\/wp-content\/plugins\/woocommerce\/
   includes\/customizer\/class-wc-shop-customizer.php(44): WC_Shop_Customizer->add_product_images_section(
   Object(WP_Customize_Manager))”,”#2 \/sannelee\/www\/wp-includes\/class-wp-hook.
   php(324): WC_Shop_Customizer->add_sections(Object(WP_Customize_Manager))”,”#3\/
   sannelee\/www\/wp-includes\/class-wp-hook.php(348): WP_Hook->apply_filters(NULL,
   Array)”,”#4 \/sannelee\/www\/wp-includes\/plugin.php(517): WP_Hook->do_action(
   Array)”,”#5 \/sannelee\/www\/wp-includes\/class-wp-customize-manager.php(942):
   do_action(‘customize_regis…’, Object(WP_Customize_Manager))”,”#6 \/sannelee\/
   www\/wp-includes\/class-wp-hook.php(324): WP_Customize_Manager->wp_loaded(”)”,”#
   7 \/sannelee\/www\/wp-includes\/class-wp-hook.php(348): WP_Hook->apply_filters(
   NULL, Array)”,”#8 \/sannelee\/www\/wp-includes\/plugin.php(517): WP_Hook->do_action(
   Array)”,”#9 \/sannelee\/www\/wp-settings.php(665): do_action(‘wp_loaded’)”,”#
   10 \/sannelee\/www\/wp-config.php(91): require_once(‘\/sannelee\/www\/w…’)”,”#
   11 \/sannelee\/www\/wp-load.php(50): require_once(‘\/sannelee\/www\/w…’)”,”#12\/
   sannelee\/www\/wp-blog-header.php(13): require_once(‘\/sannelee\/www\/w…’)”,”#
   13 \/sannelee\/www\/index.php(17): require(‘\/sannelee\/www\/w…’)”,”#14 {main}”,”
   thrown”]} [](https://poesia.co.kr/wp-admin/admin.php?page=wc-status&tab=logs&view=single_file&file_id=fatal-errors-2024-02-22#L2)**
   2024-02-22T16:37:45+00:00** **Critical** Uncaught ArgumentCountError: 3 arguments
   are required, 2 given in /sannelee/www/wp-content/plugins/woocommerce/includes/
   customizer/class-wc-shop-customizer.php:535 CONTEXT: {“error”:{“type”:1,”file”:”\/
   sannelee\/www\/wp-content\/plugins\/woocommerce\/includes\/customizer\/class-
   wc-shop-customizer.php”,”line”:535},”backtrace”:[“”,”#0 \/sannelee\/www\/wp-content\/
   plugins\/woocommerce\/includes\/customizer\/class-wc-shop-customizer.php(535):
   sprintf(‘\\xEB\\xB3\\x80\\xEA\\xB2\\xBD \\xEC\\x82\\xAC\\xED\\x95\\xAD\\xEC\\
   x9D…’, ‘https:\/\/en-gb.w…’)”,”#1 \/sannelee\/www\/wp-content\/plugins\/woocommerce\/
   includes\/customizer\/class-wc-shop-customizer.php(44): WC_Shop_Customizer->add_product_images_section(
   Object(WP_Customize_Manager))”,”#2 \/sannelee\/www\/wp-includes\/class-wp-hook.
   php(324): WC_Shop_Customizer->add_sections(Object(WP_Customize_Manager))”,”#3\/
   sannelee\/www\/wp-includes\/class-wp-hook.php(348): WP_Hook->apply_filters(NULL,
   Array)”,”#4 \/sannelee\/www\/wp-includes\/plugin.php(517): WP_Hook->do_action(
   Array)”,”#5 \/sannelee\/www\/wp-includes\/class-wp-customize-manager.php(942):
   do_action(‘customize_regis…’, Object(WP_Customize_Manager))”,”#6 \/sannelee\/
   www\/wp-includes\/class-wp-hook.php(324): WP_Customize_Manager->wp_loaded(”)”,”#
   7 \/sannelee\/www\/wp-includes\/class-wp-hook.php(348): WP_Hook->apply_filters(
   NULL, Array)”,”#8 \/sannelee\/www\/wp-includes\/plugin.php(517): WP_Hook->do_action(
   Array)”,”#9 \/sannelee\/www\/wp-settings.php(665): do_action(‘wp_loaded’)”,”#
   10 \/sannelee\/www\/wp-config.php(91): require_once(‘\/sannelee\/www\/w…’)”,”#
   11 \/sannelee\/www\/wp-load.php(50): require_once(‘\/sannelee\/www\/w…’)”,”#12\/
   sannelee\/www\/wp-blog-header.php(13): require_once(‘\/sannelee\/www\/w…’)”,”#
   13 \/sannelee\/www\/index.php(17): require(‘\/sannelee\/www\/w…’)”,”#14 {main}”,”
   thrown”]} [](https://poesia.co.kr/wp-admin/admin.php?page=wc-status&tab=logs&view=single_file&file_id=fatal-errors-2024-02-22#L3)**
   2024-02-22T16:38:46+00:00** **Critical** Uncaught ArgumentCountError: 3 arguments
   are required, 2 given in /sannelee/www/wp-content/plugins/woocommerce/includes/
   customizer/class-wc-shop-customizer.php:535 CONTEXT: {“error”:{“type”:1,”file”:”\/
   sannelee\/www\/wp-content\/plugins\/woocommerce\/includes\/customizer\/class-
   wc-shop-customizer.php”,”line”:535},”backtrace”:[“”,”#0 \/sannelee\/www\/wp-content\/
   plugins\/woocommerce\/includes\/customizer\/class-wc-shop-customizer.php(535):
   sprintf(‘\\xEB\\xB3\\x80\\xEA\\xB2\\xBD \\xEC\\x82\\xAC\\xED\\x95\\xAD\\xEC\\
   x9D…’, ‘https:\/\/en-gb.w…’)”,”#1 \/sannelee\/www\/wp-content\/plugins\/woocommerce\/
   includes\/customizer\/class-wc-shop-customizer.php(44): WC_Shop_Customizer->add_product_images_section(
   Object(WP_Customize_Manager))”,”#2 \/sannelee\/www\/wp-includes\/class-wp-hook.
   php(324): WC_Shop_Customizer->add_sections(Object(WP_Customize_Manager))”,”#3\/
   sannelee\/www\/wp-includes\/class-wp-hook.php(348): WP_Hook->apply_filters(NULL,
   Array)”,”#4 \/sannelee\/www\/wp-includes\/plugin.php(517): WP_Hook->do_action(
   Array)”,”#5 \/sannelee\/www\/wp-includes\/class-wp-customize-manager.php(942):
   do_action(‘customize_regis…’, Object(WP_Customize_Manager))”,”#6 \/sannelee\/
   www\/wp-includes\/class-wp-hook.php(324): WP_Customize_Manager->wp_loaded(”)”,”#
   7 \/sannelee\/www\/wp-includes\/class-wp-hook.php(348): WP_Hook->apply_filters(
   NULL, Array)”,”#8 \/sannelee\/www\/wp-includes\/plugin.php(517): WP_Hook->do_action(
   Array)”,”#9 \/sannelee\/www\/wp-settings.php(665): do_action(‘wp_loaded’)”,”#
   10 \/sannelee\/www\/wp-config.php(91): require_once(‘\/sannelee\/www\/w…’)”,”#
   11 \/sannelee\/www\/wp-load.php(50): require_once(‘\/sannelee\/www\/w…’)”,”#12\/
   sannelee\/www\/wp-blog-header.php(13): require_once(‘\/sannelee\/www\/w…’)”,”#
   13 \/sannelee\/www\/index.php(17): require(‘\/sannelee\/www\/w…’)”,”#14 {main}”,”
   thrown”]} [](https://poesia.co.kr/wp-admin/admin.php?page=wc-status&tab=logs&view=single_file&file_id=fatal-errors-2024-02-22#L4)**
   2024-02-22T17:02:57+00:00** **Critical** Uncaught ArgumentCountError: 3 arguments
   are required, 2 given in /sannelee/www/wp-content/plugins/woocommerce/includes/
   customizer/class-wc-shop-customizer.php:535 CONTEXT: {“error”:{“type”:1,”file”:”\/
   sannelee\/www\/wp-content\/plugins\/woocommerce\/includes\/customizer\/class-
   wc-shop-customizer.php”,”line”:535},”backtrace”:[“”,”#0 \/sannelee\/www\/wp-content\/
   plugins\/woocommerce\/includes\/customizer\/class-wc-shop-customizer.php(535):
   sprintf(‘\\xEB\\xB3\\x80\\xEA\\xB2\\xBD \\xEC\\x82\\xAC\\xED\\x95\\xAD\\xEC\\
   x9D…’, ‘https:\/\/en-gb.w…’)”,”#1 \/sannelee\/www\/wp-content\/plugins\/woocommerce\/
   includes\/customizer\/class-wc-shop-customizer.php(44): WC_Shop_Customizer->add_product_images_section(
   Object(WP_Customize_Manager))”,”#2 \/sannelee\/www\/wp-includes\/class-wp-hook.
   php(324): WC_Shop_Customizer->add_sections(Object(WP_Customize_Manager))”,”#3\/
   sannelee\/www\/wp-includes\/class-wp-hook.php(348): WP_Hook->apply_filters(NULL,
   Array)”,”#4 \/sannelee\/www\/wp-includes\/plugin.php(517): WP_Hook->do_action(
   Array)”,”#5 \/sannelee\/www\/wp-includes\/class-wp-customize-manager.php(942):
   do_action(‘customize_regis…’, Object(WP_Customize_Manager))”,”#6 \/sannelee\/
   www\/wp-includes\/class-wp-hook.php(324): WP_Customize_Manager->wp_loaded(”)”,”#
   7 \/sannelee\/www\/wp-includes\/class-wp-hook.php(348): WP_Hook->apply_filters(
   NULL, Array)”,”#8 \/sannelee\/www\/wp-includes\/plugin.php(517): WP_Hook->do_action(
   Array)”,”#9 \/sannelee\/www\/wp-settings.php(665): do_action(‘wp_loaded’)”,”#
   10 \/sannelee\/www\/wp-config.php(91): require_once(‘\/sannelee\/www\/w…’)”,”#
   11 \/sannelee\/www\/wp-load.php(50): require_once(‘\/sannelee\/www\/w…’)”,”#12\/
   sannelee\/www\/wp-blog-header.php(13): require_once(‘\/sannelee\/www\/w…’)”,”#
   13 \/sannelee\/www\/index.php(17): require(‘\/sannelee\/www\/w…’)”,”#14 {main}”,”
   thrown”]}
 * ———————
 * **And below is from the class-wc-shop-customizer.php / line: 520 to 536**
 * /**
   * Product images section.** [@param](https://wordpress.org/support/users/param/)
   WP_Customize_Manager $wp_customize Theme Customizer object._/ private function
   add\_product\_images\_section( $wp\_customize ) { if ( class\_exists( ‘Jetpack’)&&
   Jetpack::is\_module\_active( ‘photon’ ) ) { $regen\_description = ”; // Nothing
   to report; Jetpack will handle magically. } elseif ( apply\_filters( ‘woocommerce\
   _background\_image\_regeneration’, true ) && ! is\_multisite() ) { $regen\_description
   = **( ‘After publishing your changes, new image sizes will be generated automatically.’,‘
   woocommerce’ ); } elseif ( apply\_filters( ‘woocommerce\_background\_image\_regeneration’,
   true ) && is\_multisite() ) { /**_** translators: 1: tools URL 2: regen thumbs
   url _/ $regen\_description = sprintf( _**_( ‘After publishing your changes, new
   image sizes may not be shown until you regenerate thumbnails. You can do this
   from the [tools section in WooCommerce](https://wordpress.org/support/topic/fatal-errors-95/%1$s?output_format=md)
   or by using a plugin such as [Regenerate Thumbnails](https://wordpress.org/support/topic/fatal-errors-95/%2$s?output_format=md).’,‘
   woocommerce’ ), admin\_url( ‘admin.php?page=wc-status&tab=tools’ ), ‘[https://en-gb.wordpress.org/plugins/regenerate-thumbnails/&#8217](https://en-gb.wordpress.org/plugins/regenerate-thumbnails/&#8217););}
   else { /_ translators: %s: regen thumbs url */$regen_description = sprintf( __(‘
   After publishing your changes, new image sizes may not be shown until you [Regenerate Thumbnails](https://wordpress.org/support/topic/fatal-errors-95/%s?output_format=md).’,‘
   woocommerce’ ), ‘[https://en-gb.wordpress.org/plugins/regenerate-thumbnails/&#8217](https://en-gb.wordpress.org/plugins/regenerate-thumbnails/&#8217););}
 * —————-
 * **Is this something to do with JETPACK? I’m not sure why I still see the names
   in the row because I uninstalled JETPACK. **
 * **Could you please advise me on what to do to fix this? **
 * WordPress Current version: 6.4.3
   Woocommerce Version 8.6.1 PHP: 8.2
    -  This topic was modified 2 years, 1 month ago by [sannelee](https://wordpress.org/support/users/sannelee/).

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

 *  [carolm29 (woo-hc)](https://wordpress.org/support/users/carolm29/)
 * (@carolm29)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/fatal-errors-95/#post-17447060)
 * Hey there, [@sannelee](https://wordpress.org/support/users/sannelee/)! Thanks
   for contacting us. I’m happy to help you.
 * I understand you are having a critical error on your website.
 * Can you please run a conflict test to see if this is caused by something external?
 * To test, you’ll first want to change the theme on your site to Storefront, then
   check to see if the issue is still present. If that resolves the issue, you’ll
   want to get in touch with your theme’s developer and see if they have an update
   or fix for you.
 * If changing the theme doesn’t help, you’ll want to deactivate all plugins except
   for WooCommerce and take a look. If that fixes the problem, re-enable the other
   plugins one by one (gradually), checking after each, to see where the issue is
   coming from.
 * — Be sure you have a good backup in place of your full site and database. You
   can ask your host for backup functionality or you can consider using a service
   like **[Jetpack](https://jetpack.com/)**. If something goes wrong, you will be
   able to restore it.
 * — Also, you can consider using a plugin like **[Health Check & Troubleshooting](https://wordpress.org/plugins/health-check/)**.
   This is a plugin developed by the WordPress community and it is helpful to disable
   plugins without affecting your current site visitors.
 * — It is important to consider as well a staging functionality in case you would
   not like to touch your production site (you can ask your host if they offer this
   service), or you can use **[WP Staging](https://wordpress.org/plugins/wp-staging/)**
   for quickly spinning up a new test site.
 * You can find more about this in this **[guide](https://woo.com/document/woocommerce-self-service-guide/)**.
 * Please let us know about your findings.
 * Looking forward to your reply.
 * Have a wonderful day!
 *  Thread Starter [sannelee](https://wordpress.org/support/users/sannelee/)
 * (@sannelee)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/fatal-errors-95/#post-17448183)
 * Hello,
 * Thank you for getting back to me. But what you provided here is just a basic 
   check-up process, some of which I’ve already gone through, and some of which 
   don’t address the specific error logs and PHP code lines I provided.
 * Also regarding your suggestion of JETPACK, I’m not sure if you’ve reviewed the
   logs and PHP code lines causing the issue. As previously mentioned, I’ve uninstalled
   JETPACK and have no plans to use it again.
 * I’m starting to wonder if the class-wc-shop-customizer.php is integrated with
   JETPACK. **It might be helpful if you could provide me with the default code 
   of the class-wc-shop-customizer.php**. Only the **\* Product images section**
   is needed, so I can compare it with what I have. Could you assist with that?
 * Looking forward to your reply.
    -  This reply was modified 2 years, 1 month ago by [sannelee](https://wordpress.org/support/users/sannelee/).
    -  This reply was modified 2 years, 1 month ago by [sannelee](https://wordpress.org/support/users/sannelee/).
    -  This reply was modified 2 years, 1 month ago by [tobifjellner (Tor-Bjorn “Tobi” Fjellner)](https://wordpress.org/support/users/tobifjellner/).
 *  Plugin Support [Shameem – a11n](https://wordpress.org/support/users/shameemreza/)
 * (@shameemreza)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/fatal-errors-95/#post-17450865)
 * Hi [@sannelee](https://wordpress.org/support/users/sannelee/),
 * The error message you are seeing is due to a missing argument in the sprintf 
   function in the class-wc-shop-customizer.php file. This error is not directly
   related to Jetpack.
 * However, could you kindly walk us through the steps you took to encounter this
   error? I’ve tried but haven’t been able to recreate it. My tests used the latest
   WC with Storefront, 2024, and Astra theme.
 * Additionally, would you mind temporarily switching to a default WordPress theme
   such as Twenty Twenty-four or Storefront? If the error disappears after doing
   this, the issue might be with your current theme.
 * While we’re sorting this out, it may be helpful for you to conduct a conflict
   test. This could help identify the root cause of the problem. For more information,
   check out this link: [https://woo.com/document/how-to-test-for-conflicts/](https://woo.com/document/how-to-test-for-conflicts/)
 * Let us know how that goes for you.

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

The topic ‘fatal-errors’ 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/)

## Tags

 * [fatal errors](https://wordpress.org/support/topic-tag/fatal-errors/)

 * 3 replies
 * 3 participants
 * Last reply from: [Shameem – a11n](https://wordpress.org/support/users/shameemreza/)
 * Last activity: [2 years, 1 month ago](https://wordpress.org/support/topic/fatal-errors-95/#post-17450865)
 * Status: resolved