wp-less fails under https
-
When I use WP-Less over ssl it fails to find the source file and kills execution. Stacktrace when WP_DEBUG is set:
Warning: filemtime(): stat failed for /home/demo.localhost/public_html/_/wp-contenthttps://kiosk.demo.localhost/wp-content/themes/mni-stack2/style.less in /home/demo.localhost/public_html/_/wp-content/plugins/wp-less/lib/Stylesheet.class.php on line 96
Fatal error: Uncaught exception ‘Exception’ with message ‘load error: failed to find /home/demo.localhost/public_html/_/wp-contenthttps://kiosk.demo.localhost/wp-content/themes/mni-stack2/style.less’ in /home/demo.localhost/public_html/_/wp-content/plugins/wp-less/lib/vendor/lessphp/lessc.inc.php:1927
Stack trace:
#0 /home/demo.localhost/public_html/_/wp-content/plugins/wp-less/lib/Compiler.class.php(24): lessc->__construct(‘/home/demo.localhost/pub…’)
#1 /home/demo.localhost/public_html/_/wp-content/plugins/wp-less/lib/Plugin.class.php(122): WPLessCompiler->__construct(‘/home/demo.localhost/pub…’)
#2 /home/demo.localhost/public_html/_/wp-content/plugins/wp-less/lib/Plugin.class.php(161): WPLessPlugin->processStylesheet(‘less’, false)
#3 [internal function]: WPLessPlugin->processStylesheets(”)
#4 /home/demo.localhost/public_html/_/wp-includes/plugin.php(403): call_user_func_array(Array, Array)
#5 /home/demo.localhost/public_html/_/wp-includes/functions.wp-styles.php(25): do_action(‘wp_print_styles’)
#6 [internal function]: wp_print_styles(”)
#7 /home/demo.localhost/public_html/_/wp-includes/plugin.php(403): call_ in /home/demo.localhost/public_html/_/wp-content/plugins/wp-less/lib/vendor/lessphp/lessc.inc.php on line 1927Most likely either WP or WP-Less assumes protocol to be http only…
- The topic ‘wp-less fails under https’ is closed to new replies.