thom4
Forum Replies Created
-
Forum: Plugins
In reply to: [WP-LESS] Parse error: syntax error, unexpected ‘const’Which version of PHP do you use?
I’d suggest you bump it to something more recent, like at least PHP 7.
Forum: Plugins
In reply to: [WP-LESS] CRITICAL ERRORHello,
I don’t know how related are these issues, but they are traced into 2 different plugins:
– Ebor-Framework (https://github.com/tommusrhodus/Ebor-Framework)
– js_composer (https://github.com/jan-muller/js_composer)It is very likely PHP version has changed at some point, and it’s causing rippling errors across these plugins.
Forum: Plugins
In reply to: [WP-LESS] Php V7.4 Php ErrorAn updated version of the plugin with a maintained version of Less.php has been published and should solve this problem.
Forum: Plugins
In reply to: [WP-LESS] Version 1.9 Compile ErrorOther people confirms the latest version fixes this problem.
Forum: Plugins
In reply to: [WP-LESS] Version 1.9 Compile ErrorVersion
1.9.3-2
should fix the issue.Forum: Plugins
In reply to: [WP-LESS] Version 1.9 Compile ErrorOops, sorry for the troubles.
I’m on it.
Forum: Plugins
In reply to: [WP-LESS] WP LESS Not Compabile with PHP 7.x?Hi @renpub,
thanks for reporting the issue. Sadly this is linked to a dependency of the project.
I have quickly looked there https://github.com/oyejorge/less.php/issues but have not found anything obvious.
Maybe you can create an issue there with the lines related to this error, or add a comment in an issue you think is related.
Forum: Plugins
In reply to: [WP-LESS] WP-Less not working with WP 4.5Well it seems you use the
.Copy()
mixin which is not available neither inmain.less
norfunctions.less
. So, so far it is a valid Less compiler error unless you expect it to load another file for you?Forum: Plugins
In reply to: [WP-LESS] Sourcemaps@camilleb12 if you’d like to submit this as an improvement, you’re more than welcome to do so ?? I guess we can ditch leafo/less.php and focus only on relying on oyejorge/less.php one (better to have better features than maintaining a compat with two compilers IMO).
Do you need any help to get you started?
Forum: Plugins
In reply to: [WP-LESS] SourcemapsHi there,
after digging a bit into it, it seems there is no way at the moment to enable Source Maps from the wp-less plugin. I raised a question on the lessphp GitHub repo to find out more about this: https://github.com/oyejorge/less.php/issues/277
Although, please note this is technically doable but not in the current state of the WordPress plugin.
Forum: Plugins
In reply to: [WP-LESS] Website down/fatal errorWell, it is a file used by your theme.
If you have not authored your theme, you should report the error to its author.
It is not a plugin issue, but more likely an error in a file of the theme. DIsabling the plugin and re-enabling it would not change anything to the problem.
Forum: Plugins
In reply to: [WP-LESS] Website down/fatal errorWell, the new parser might be less flexible.
The aforementioned error states a Less syntax problem — I invite you to check it out, file layout.less, line 368. Looks like a comment is missing a closing
*/
(use//
if you don’t want to close a single line comment).Forum: Plugins
In reply to: [WP-LESS] Crashing SiteIt seems to be a Less compiler related issue: https://github.com/oyejorge/less.php/issues/149
Forum: Plugins
In reply to: [WP-LESS] Crashing Site@matijamrkaic no worries, the only problematic message was @dbmurray’s one.
Forum: Plugins
In reply to: [WP-LESS] Crashing Site@dbmurray oh, how rude this is. Free software and you ask for a quick service? Come on… I did not even get any of these notifications, which makes it hard to be aware of these issues, and then to provide support.
Even though, you have to assume developers use their spare time and have a life. Better to be supportive rather than trying to drawn them down into some passive/aggressive shameful message.
1.8.0 has been released and use a different version of Less compiler.
Give me a shout and be responsible, stop ranting – leave that to the french ??