This topic has 7 replies, 2 voices, and was last updated 2 years, 12 months ago ago by densitysk
HI,
theme is showing fatal errors if user opens a product category on frontend, which contains other subcategories.
Please check.
Access, example category and full error log in PM
Regards
MIchal
In PM is the code from the affected content-product-cat.php file
Problematic line is below>
$mask_classes = ”;
$classes = array();
$classes[] = ‘category-grid’;
if( !empty($woocommerce_loop[‘display_type’]) && $woocommerce_loop[‘display_type’] == ‘slider’ ) {
$classes[] = ‘slide-item’;
} else {
$col_sm = 12 / $woocommerce_loop[‘categories_columns’];
$classes[] = ‘col-xs-12 col-sm-‘ . $col_sm . ‘ columns-‘ . $woocommerce_loop[‘categories_columns’];
}
Hello,
Please provide temporary FTP access also. I will pass this problem to our developers, they will be able to check and fix it after the weekend.
Regards
HI,
check PM for limited FTP access to the wp-content/themes folder with the affected files
Regards
Hello,
Thanks for the reply. I will let you know once get an answer from the developers
Regards
Hello,
Fixed. Please check now.
It will be fixed in the next update too.
Regards
appreciate it. Thank you.
Tagged: fatal error, opening, product category, subcategories, templates, woocommerce, wordpress
The issue related to '‘Fatal error when opening Product Category page that has subcategories’' has been successfully resolved, and the topic is now closed for further responses