Fatal error when opening Product Category page that has subcategories

This topic has 7 replies, 2 voices, and was last updated 2 years, 12 months ago ago by densitysk

  • Avatar: densitysk
    densitysk
    Participant
    November 19, 2021 at 23:36

    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

    Please, contact administrator
    for this information.
    6 Answers
    Avatar: densitysk
    densitysk
    Participant
    November 19, 2021 at 23:40

    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’];
    }

    Please contact administrator
    for this information.
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    November 20, 2021 at 10:59

    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

    Avatar: densitysk
    densitysk
    Participant
    November 20, 2021 at 11:33

    HI,

    check PM for limited FTP access to the wp-content/themes folder with the affected files

    Regards

    Please contact administrator
    for this information.
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    November 20, 2021 at 11:57

    Hello,

    Thanks for the reply. I will let you know once get an answer from the developers

    Regards

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    November 23, 2021 at 08:03

    Hello,

    Fixed. Please check now.
    It will be fixed in the next update too.

    Regards

    Avatar: densitysk
    densitysk
    Participant
    November 23, 2021 at 08:22

    appreciate it. Thank you.

  • Viewing 7 results - 1 through 7 (of 7 total)

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

8theme customization service
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.