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

PHP Error caused by Cadence Theme

Home / Forums / Kadence Theme / PHP Error caused by Cadence Theme

This topic is: Resolved
[Resolved]
Posted in: Kadence Theme

Tagged: 

January 30, 2025 at 4:11 am

Hey there,
I’m experiencing sharp spikes in cpu and memory usage to 100%, accompanied by errors. So I was looking into the WordPress Debug.Log and found this several times:

PHP Fatal error: Uncaught TypeError: property_exists(): Argument #1 ($object_or_class) must be of type object|string, null given in /wp-content/themes/kadence/inc/components/woocommerce/component.php:806
Stack trace:
#0 mywebsite.com/public_html/wp-content/themes/kadence/inc/components/woocommerce/component.php(806): property_exists()
#1 mywebsite.com/public_html/wp-includes/class-wp-hook.php(326): Kadence\Woocommerce\Component->woo_extra_body_classes()
#2 mywebsite.com/public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters()
#3 mywebsite.com/public_html/wp-includes/post-template.php(859): apply_filters()
#4 mywebsite.com/public_html/wp-includes/post-template.php(622): get_body_class()
#5 mywebsite.com/public_html/wp-content/themes/kadence/header.php(27): body_class()
#6 mywebsite.com/public_html/wp-includes/template.php(810): require_once('/home/u49458356...')
#7 mywebsite.com/public_html/wp-includes/template.php(745): load_template()
#8 mywebsite.com/public_html/wp-includes/general-template.php(48): locate_template()
#9 mywebsite.com/public_html/wp-content/themes/kadence/index.php(14): get_header()
#10 mywebsite.com/public_html/wp-includes/template-loader.php(106): include('/home/u49458356...')
#11 mywebsite.com/public_html/wp-blog-header.php(19): require_once('/home/u49458356...')
#12 mywebsite.com/public_html/index.php(17): require('/home/u49458356...')
#13 {main}
thrown in mywebsite.com/public_html/wp-content/themes/kadence/inc/components/woocommerce/component.php on line 806

Any idea what might be causing this? It looks like a bug in Kadence to me.
Thanks in advance

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