Notice: These forums are now retired and closed. For active support, please Submit a Ticket or visit our official WordPress.org community pages.
Kadence Theme | Kadence Blocks | Starter Templates | WooCommerce Email Designer | Ascend | Virtue | Pinnacle

Problem with deleted category images

Home / Forums / Ascend Theme / Problem with deleted category images

This topic is: Resolved
[Resolved]
Posted in: Ascend Theme
July 2, 2025 at 9:46 am

I have noticed the following problem on multiple different sites where the Ascend Premium theme is installed. Here is the flow to duplicate the problem:

1. Configure category image
2. Delete the image from the media library

In the category page, the missing category image looks like this:

The site then throws this fatal error message:

Fatal error: Uncaught TypeError: Unsupported operand types: string / string in /home/adamulti.printsafe.net/public_html/wp-content/themes/ascend_premium/lib/woocommerce/woo-archive-hooks.php:692 Stack trace: #0 /home/adamulti.printsafe.net/public_html/wp-includes/class-wp-hook.php(324): ascend_woocommerce_subcategory_thumbnail() #1 /home/adamulti.printsafe.net/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #2 /home/adamulti.printsafe.net/public_html/wp-includes/plugin.php(517): WP_Hook->do_action() #3 /home/adamulti.printsafe.net/public_html/wp-content/themes/ascend_premium/woocommerce/content-product_cat.php(71): do_action() #4 /home/adamulti.printsafe.net/public_html/wp-content/plugins/woocommerce/includes/wc-core-functions.php(346): include(‘…’) #5 /home/adamulti.printsafe.net/public_html/wp-content/plugins/woocommerce/includes/wc-template-functions.php(2807): wc_get_template() #6 /home/adamulti.printsafe.net/public_html/wp-content/plugins/woocommerce/includes/wc-template-functions.php(2751): woocommerce_output_product_categories() #7 /home/adamulti.printsafe.net/public_html/wp-includes/class-wp-hook.php(324): woocommerce_maybe_show_product_subcategories() #8 /home/adamulti.printsafe.net/public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters() #9 /home/adamulti.printsafe.net/public_html/wp-content/plugins/woocommerce/includes/wc-template-functions.php(1165): apply_filters() #10 /home/adamulti.printsafe.net/public_html/wp-content/themes/ascend_premium/woocommerce/archive-product.php(61): woocommerce_product_loop_start() #11 /home/adamulti.printsafe.net/public_html/wp-includes/template-loader.php(106): include(‘…’) #12 /home/adamulti.printsafe.net/public_html/wp-blog-header.php(19): require_once(‘…’) #13 /home/adamulti.printsafe.net/public_html/index.php(17): require(‘…’) #14 {main} thrown in /home/adamulti.printsafe.net/public_html/wp-content/themes/ascend_premium/lib/woocommerce/woo-archive-hooks.php on line 692

  • The forum ‘Ascend Theme’ is closed to new topics and replies.