Title: WordPress FATAL ERROR
Last modified: November 29, 2022

---

# WordPress FATAL ERROR

 *  Resolved [fgaesh](https://wordpress.org/support/users/fgaesh/)
 * (@fgaesh)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/wordpress-fatal-error-15/)
 * Hi, I have a problem. WordPress gives me an error that I can’t figure out. If
   I have the woocommerce plugin activated when customizing the website, it gives
   me this fatal error:
 * `Fatal error: Uncaught Error: Call to undefined function Automattic\WooCommerce\
   Blocks\BlockTypes\wp_is_block_theme() in /data/2/0/209c4ea3-d79e-4e08- 8c95-125ce986b28e/
   cardfy.sk/web/wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/
   BlockTypes/ProductImage.php:168 Stack trace: #0 /data/2/0/209c4ea3-d79e-4e08 -
   8c95-125ce986b28e/cardfy.sk/web/wp-content/plugins/woocommerce/packages/woocommerce-
   blocks/src/BlockTypes/AbstractBlock.php(100): Automattic\WooCommerce\Blocks\BlockTypes\
   ProductImage->enqueue_data() #1 /data/2/0/209c4ea3-d79e-4e08-8c95-125ce986b28e/
   cardfy.sk/web/wp-includes/class-wp-hook.php(303): Automattic\WooCommerce\Blocks\
   BlockTypes\AbstractBlock- >enqueue_editor_assets(”) #2 /data/2/0/209c4ea3-d79e-
   4e08-8c95-125ce986b28e/cardfy.sk/web/wp-includes/class-wp-hook.php(327): WP_Hook-
   >apply_filters (NULL, Array) #3 /data/2/0/209c4ea3-d79e-4e08-8c95-125ce986b28e/
   cardfy.sk/ web/wp-includes/plugin.php(470): WP_Hook->do_action(Array) #4 /data/
   2/0/209c4ea3-d79e-4e08-8c95-125ce986b28e/cardfy.sk/web/wp-includes/class -wp-
   customize-widgets.php(873): do_action(‘enqueue_block_e…’) #5 /data/2/0/209c4ea3-
   d79e-4e08-8c95-125ce986b28e/cardfy.sk/web/wp-includes/ class-wp-hook.php(303):
   WP_Customize_Widgets->enqueue_scripts(”) #6 /data/2/0/209c4ea3-d79e-4e08-8c95-
   125ce986b28e/cardfy.sk/web/wp-includes/class- wp-hook.php(327): WP_Hook->apply_filters(
   NULL, Array) #7 /data/2/0/209c4ea3-d79e-4e08-8c95-125ce986b28e/cardfy.sk/web/
   wp-includes/plugin.php (470): WP_Hook->do_action(Array) #8 /data/2/0/209c4ea3-
   d79e-4e08-8c95-125ce986b28e/cardfy.sk/web/wp-admin/customize.php(123): do_action(‘
   customize_contr…’) #9 {main} thrown in /data/2/0/209c4ea3-d79e-4e08-8c95-125ce986b28e/
   cardfy.sk/web/wp-content/plugins/woocommerce/packages/woocommerce-blocks/ src/
   BlockTypes/ProductImage.php on line 168
 * THANKS

Viewing 1 replies (of 1 total)

 *  [Pranav R.](https://wordpress.org/support/users/pranavrana89/)
 * (@pranavrana89)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/wordpress-fatal-error-15/#post-16244162)
 * Hi [@fgaesh](https://wordpress.org/support/users/fgaesh/)!
 * Can you please check if WordPress itself is on the latest version, i.e. **v6.1.1**.
 * If it isn’t, please update it to the latest version and try again.
 * In case this doesn’t help, please share your current System Status Report with
   us. You can get it by navigating to the `WooCommerce / Status` section of your
   site. Once there, click on the `Get system report` button and then copy it by
   clicking on the `Copy for support` button. Then paste it here in a comment.
 * We’ll check and get back to you accordingly.

Viewing 1 replies (of 1 total)

The topic ‘WordPress FATAL ERROR’ 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

 * [compatibility](https://wordpress.org/support/topic-tag/compatibility/)
 * [critical error](https://wordpress.org/support/topic-tag/critical-error/)

 * 1 reply
 * 2 participants
 * Last reply from: [Pranav R.](https://wordpress.org/support/users/pranavrana89/)
 * Last activity: [3 years, 5 months ago](https://wordpress.org/support/topic/wordpress-fatal-error-15/#post-16244162)
 * Status: resolved