Fatal error: class-tb-compat-woocommerce.php on line 848
-
Topic
-
Hi Jason!
I keep getting this message and can’t access admin panel on a Woocommerce site:
Fatal error: Call to undefined function themeblvd_get_att() in /storage/content/–/–/–/public_html/wp-content/themes/jumpstart/framework/compat/woocommerce/class-tb-compat-woocommerce.php on line 848
Can’t figure out what the issue is. Front end works just fine.
If I remove below code temporarily, update the site, I get into admin, with other errors ofcourse, and then when I put it back everything works fine again, without any errors. And as soon as I update woocommerce it comes back again. Any ideas?
/** * Shop loop columns * * @since 2.5.0 */ public function loop_columns( $cols = 4 ) { if ( themeblvd_get_att('woo_product_columns') ) { $cols = themeblvd_get_att('woo_product_columns'); } else if ( is_product_category() || is_product_tag() || is_search() ) { $cols = themeblvd_get_option('woo_archive_columns'); } else if ( is_shop() ) { $cols = themeblvd_get_option('woo_shop_columns'); } return intval($cols); }
- You must be logged in to reply to this topic.