• Resolved ai4k Web Design

    (@soylaostia)


    Hi,

    Is there any conflict between the minify settings and Wp super cache?

    When I activate this setting my web breaks. Any hints?

    Thank you in advance.

Viewing 6 replies - 1 through 6 (of 6 total)
  • @soylaostia Do you also have minify settings enabled in WP Super cache? If yes can you please turn off the minify settings in WP Super cache and check if it helps to fix the issue?

    Thread Starter ai4k Web Design

    (@soylaostia)

    Hi!,

    I don’t think WP Super cache has a minify option. And I don’t have any other minify plugin.

    @soylaostia If you de-activate WP Super Cache does it helps to get back your site online?

    Thread Starter ai4k Web Design

    (@soylaostia)

    I just did it and still the same error:

    There has been a critical error on your website.

    @soylaostia

    Can you please enable debugging mode, Please add following lines to wp-config.php just before where it says: /* That’s all, stop editing! Happy publishing. */

    define( ‘WP_DEBUG’, true );
    define( ‘WP_DEBUG_DISPLAY’, false );
    define( ‘WP_DEBUG_LOG’, true );

    Then try to reload the page again.

    A debug.log file should be created inside wp-content folder,which should contain error information in it, Please share the file with us.

    Thanks,
    Harshad

    Thread Starter ai4k Web Design

    (@soylaostia)

    Hi,

    This is:

    [18-Aug-2020 10:50:58 UTC] PHP Fatal error: Uncaught Exception: .heightClasses is undefined: failed at .heightClasses((@number - 1)); /****/wp-content/themes/stack/style/css/mr_components/size.less on line 14 in /home/2/a/ai4k/www/wp-content/plugins/wp-optimize/vendor/marcusschwarz/lesserphp/lessc.inc.php:3796
    Stack trace:
    #0 /****/wp-content/plugins/wp-optimize/vendor/marcusschwarz/lesserphp/lessc.inc.php(727): lessc_parser->throwError(‘.heightClasses …’, 380)
    #1 /****/wp-content/plugins/wp-optimize/vendor/marcusschwarz/lesserphp/lessc.inc.php(769): lessc->compileProp(Array, Object(stdClass), Object(stdClass))
    #2 /****/wp-content/plugins/wp-optimize/vendor/marcusschwarz/lesserphp/lessc.inc.php(769): lessc->compileProp(Array, Object(stdClass), Object(stdClass))
    #3 /****/wp-content/plugins/wp-optimize/vendor/marcusschwarz/lesserphp/lessc.inc.php(769): lessc->compileProp(Array, Object(stdClass), Object(stdClass))
    #4 /****/wp-content/plugins/wp-optimize/vendor/marcusschwarz/ in /****/wp-content/plugins/wp-optimize/vendor/marcusschwarz/lesserphp/lessc.inc.php on line 3796

    And the line 14 on size.less:

    13.heightClasses(@number) when (@number > 0){
    14 .heightClasses((@number – 1));
    15 @multiplier: @number*10;
    15 .height-@{multiplier}{
    17 height: @number*10vh;
    18 }
    19}

    I hope it helps…

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Minify and WP super cache’ is closed to new replies.