K
K
kolibry12015-10-22 13:00:30
PHP
kolibry1, 2015-10-22 13:00:30

What does WordPress not like about less?

good afternoon.
after frauds on the site unknown to me (presumably, they tried to do something harmless on an overcrowded hosting, and due to overcrowding, some files were auto-replaced), the WordPress site stopped entering the admin panel - writes

lessphp fatal error: expected color value: failed at `-groups.less";` /home/aqq****/public_html/mydomen/wp-content/themes/theme52658/bootstrap/less/bootstrap.less on line 37
Warning : Cannot modify header information - headers already sent by (output started at /home/aqq****/public_html/mydomen/wp-content/themes/CherryFramework/includes/less-compile.php:309) in /home/aqq ****/public_html/mydomain/wp-includes/pluggable.php on line 1196

and a line appeared on the top of the site
lessphp fatal error: expected color value: failed at `-groups.less";` /home/aqq****/public_html/mydomen/wp-content/themes/theme52658/bootstrap/less/bootstrap.less on line 37

I get into the indicated 37th line - there is this:
@import "button-groups.less";

that is, the problem is in the import ...
besides the backup, is there a way to unravel manually? backup - as an option, but last of all, maybe you will have to sacrifice many changes ..
the joke is that I scored the error line in Google - I saw that such errors, with this description, are all the time. But I didn't see any solution. I decided that since it often occurs, it can be treated somehow easily.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
kapuletti, 2015-10-22
@kapuletti

Comment out this line temporarily and try again.
// @import "button-groups.less";

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question