• Getting this error when I try to compile the less stylesheet. Any idea?

    Fatal error: Uncaught exception ‘Exception’ with message ‘unknown value type: variable: failed at imaNova', 'proximanova-regular', 400, normal);} /home/int45497/public_html/portfolio/wp-content/themes/portfolio2013/less/style.less on line 24′ in /home/int45497/public_html/portfolio/wp-content/plugins/wp-less/lib/vendor/lessphp/lessc.inc.php:3257 Stack trace: #0 /home/int45497/public_html/portfolio/wp-content/plugins/wp-less/lib/vendor/lessphp/lessc.inc.php(1862): lessc_parser->throwError(‘unknown value t…’, 359) #1 /home/int45497/public_html/portfolio/wp-content/plugins/wp-less/lib/vendor/lessphp/lessc.inc.php(788): lessc->throwError(‘unknown value t…’) #2 /home/int45497/public_html/portfolio/wp-content/plugins/wp-less/lib/vendor/lessphp/lessc.inc.php(755): lessc->compileValue(Array) #3 /home/int45497/public_html/portfolio/wp-content/plugins/wp-less/lib/vendor/lessphp/lessc.inc.php(755): lessc->compileValue(Array) #4 /home/int45497/public_html/portfolio/wp-content/plugins/wp-less/lib/vendor/lessphp/lessc.inc.php(617 in /home/int45497/public_html/portfolio/wp-content/plugins/wp-less/lib/vendor/lessphp/lessc.inc.php on line 3257

    https://www.ads-software.com/extend/plugins/wp-less/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author oncletom

    (@oncletom)

    Well, that’s weird.

    What is the complete line containing this LESS code?

    Thread Starter zadine

    (@zadine)

    @font-face {.font-face(‘ProximaNova’, ‘proximanova-regular’, 400, normal);}
    @font-face {.font-face(‘ProximaNova’, ‘proximanova-bold’, 700, normal);}
    @font-face {.font-face(‘ProximaNova’, ‘proximanova-extrabold’, 800, normal);}

    and that mixin comes from this
    .font-face (@fontname, @fontfile, @weight: normal, @style: normal) {
    font-family: ‘@{fontname}’;
    src: url(‘@{fontsPath}@{fontfile}.eot’);
    src: url(‘@{fontsPath}@{fontfile}.eot?#iefix’) format(’embedded-opentype’),
    url(‘@{fontsPath}@{fontfile}.woff’) format(‘woff’),
    url(‘@{fontsPath}@{fontfile}.ttf’) format(‘truetype’),
    url(‘@{fontsPath}@{fontfile}.svg#@{fontfile}’) format(‘svg’);
    font-weight: @weight;
    font-style: @style;
    }

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Exception error (font-face?)’ is closed to new replies.