• Resolved ibohorquez

    (@ibohorquez)


    Core version of All-in-One Event Calendar: 2.5.28

    We are getting the following error stack which crashed one site and is running as a slow process on many more. Please indicate how to correct this as we are concerned it will affect and take down our sites:

    Uncaught exception ‘Exception’ with message ‘expected color value: failed at ‘background-color: mix( @text-color, @body-bg, 10% );’ line: 301′ in /srv/bindings/7ed0ded40976463386a21191678c4213/code/wp-content/plugins/all-in-one-event-calendar/vendor/lessphp/lessc.inc.php:3466
    Stack trace:
    #0 /srv/bindings/7ed0ded40976463386a21191678c4213/code/wp-content/plugins/all-in-one-event-calendar/vendor/lessphp/lessc.inc.php(2008): lessc_parser->throwError(‘expected color …’, 5429)
    #1 /srv/bindings/7ed0ded40976463386a21191678c4213/code/wp-content/plugins/all-in-one-event-calendar/vendor/lessphp/lessc.inc.php(1194): lessc->throwError(‘expected color …’)
    #2 /srv/bindings/7ed0ded40976463386a21191678c4213/code/wp-content/plugins/all-in-one-event-calendar/vendor/lessphp/lessc.inc.php(1142): lessc->assertColor(Array)
    #3 [internal function]: lessc->lib_mix(Array, Object(lessc))
    #4 /srv/bindings/7ed0ded40976463386a21191678c4213/code/wp-content/plugins/all-in-one-event-calendar/vendor/lessphp/lessc.i

    Is there a way to pre-compile the CSS so that we don’t run the LESS parser on the fly?

Viewing 1 replies (of 1 total)
  • Sunny Lal

    (@sunny454)

    Hi @ibohorquez,

    You can try enabling or disabling the following settings under Events > Settings > Advanced > Advanced Settings >

    Use frontend rendering.
    Use advanced JS cache.
    Link CSS in <head> section when file cache is unavailable.

    This error could also be a result of a plugin or theme conflict (usually caused by a caching or security plugin).. Please try a different theme temporarily such as Twenty Seventeen, or, disable all plugins and then check if the problem recurrs — then re-enable each one until you find which one caused the problem.

Viewing 1 replies (of 1 total)
  • The topic ‘Error in LESS parser’ is closed to new replies.