• I am getting parse errors that I wasn’t getting before updating. As far as I can see my code is correct and I can’t find where the problem is.
    Here is the error:

    Fatal error: Uncaught exception ‘Less_Exception_Parser’ with message ‘ in styles.less on line 1, column 0 1| @charset “utf-8”; 2| 3| #post-16 header h1, #post-335 header h1, #post-358 header h1, #post-377 header h1, #post-624 header h1, #post-628 header h1, #post-630 header h1, #post-634 header h1, #post-636 header h1, #post-638 header h1, #post-640 header h1, #post-644 header h1, #post-642 header h1, #post-632 header h1 { 4| display:none !important; 5| } 6| ‘ in /home/automate/public_html/wp-content/plugins/wp-less/vendor/oyejorge/less.php/lib/Less/Parser.php:2606 Stack trace: #0 /home/automate/public_html/wp-content/plugins/wp-less/vendor/oyejorge/less.php/lib/Less/Parser.php(793): Less_Parser->Error(NULL) #1 /home/automate/public_html/wp-content/plugins/wp-less/vendor/oyejorge/less.php/lib/Less/Parser.php(1738): Less_Parser->expectChar(‘]’) #2 /home/automate/public_html/wp-content/plugins/wp-less/vendor/oyejorge/less.php/lib/Less/Parser.php(691): Less_Parser->parseAttribute() #3 /home/automate/public_html/wp-co in /home/automate/public_html/wp-content/plugins/wp-less/vendor/oyejorge/less.php/lib/Less/Parser.php on line 2606

    https://www.ads-software.com/plugins/wp-less/

Viewing 1 replies (of 1 total)
  • Me too, as well as another developer in my area.
    My code worked fine until I updated the plugin. I ended up reverting to an older version of the plugin, which fixed things for me.

    Error Log showed the following:
    PHP Fatal error: Uncaught exception ‘Less_Exception_Chunk’ with message ‘ParseError: unmatched /* in layout.less on line 29, column 52\n27| \t\n28| /*! #Fonts and Colors *//*\n29| ================================================== */\n30| @primary-font: ‘Lato’, sans-serif;\n31| @secondary-font: ‘Cardo’, serif;\n32| ‘ in /nas/wp/www/cluster-41977/cedarhurst/wp-content/plugins/wp-less/vendor/oyejorge/less.php/lib/Less/Parser.php:535\nStack trace:\n#0 /nas/wp/www/cluster-41977/cedarhurst/wp-content/plugins/wp-less/vendor/oyejorge/less.php/lib/Less/Parser.php(474): Less_Parser->GetRules(‘/nas/wp/www/clu…’)\n#1 /nas/wp/www/cluster-41977/cedarhurst/wp-content/plugins/wp-less/vendor/oyejorge/less.php/lib/Less/Parser.php(346): Less_Parser->_parse(‘/nas/wp/www/clu…’)\n#2 /nas/wp/www/cluster-41977/cedarhurst/wp-content/plugins/wp-less/vendor/oyejorge/less.php/lessc.inc.php(147): Less_Parser->parseFile(‘/nas/wp/www/clu…’)\n#3 /nas/wp/www/cluster-41977/cedarhurst/wp-content/plugins/wp-less/vendor/oyejorge/less.php/lessc.inc.php(225): lessc-> in /nas/wp/www/cluster-41977/cedarhurst/wp-content/plugins/wp-less/vendor/oyejorge/less.php/lib/Less/Parser.php on line 535

Viewing 1 replies (of 1 total)
  • The topic ‘Parse errors after updating’ is closed to new replies.