• Having an issue with using the WP-Less plugin, auto updated from version 1.8 and since then my website shows critical error, restore from backup and remove the plugin and the site works fine.
    Using the Stack WordPress Theme.
    Getting this error with every version of WP-Less.

    • This topic was modified 3 years, 6 months ago by osmosvfx.
    • This topic was modified 3 years, 6 months ago by osmosvfx.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi @osmosvfx

    if you would share the error with the rest of the forum users, the rest of us might be able to help you as well.

    Thank you and stay healthy!

    Kevin

    Thread Starter osmosvfx

    (@osmosvfx)

    @pixelbart

    PHP Warning: filemtime(): stat failed for /srv/htdocs/wp-content/https://osmosvfx.com/wp-content/themes/stack/style/css/theme.less in /srv/htdocs/wp-content/plugins/wp-less/lib/Stylesheet.class.php on line 94

    PHP Fatal error: Uncaught Exception: load error: failed to find /srv/htdocs/wp-content/https://osmosvfx.com/wp-content/themes/stack/style/css/theme.less in /srv/htdocs/wp-content/plugins/wp-less/vendor/wikimedia/less.php/lessc.inc.php:144

    I checked my Debug file and I think this is the error I am receiving.
    once the WP-Less plugin is activated, I refresh my site and I get a white screen.

    @pixelbart

    I had similar problem – filemtime trying to get filepath with full url on it.

    I solved it by changing in functions.php:

    Before:
    wp_enqueue_style(‘style.less’, get_template_directory_uri() . ‘/style.less’);

    After:
    wp_enqueue_style(‘style.less’, ‘themes/cssw/style.less’);

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘V1.9.3-3 Critical Error’ is closed to new replies.