Title: Fatal error using Twitter Bootstrap 3.2.0
Last modified: August 22, 2016

---

# Fatal error using Twitter Bootstrap 3.2.0

 *  [Danny](https://wordpress.org/support/users/dannyfoo/)
 * (@dannyfoo)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/fatal-error-using-twitter-bootstrap-320/)
 * Updated to 1.7.2 and ran into this error:
 * `Fatal error: Uncaught exception 'Exception' with message 'parse error: failed
   at`&:extend(.clearfix all);`/Applications/MAMP/htdocs/project-name/wp-content/
   themes/custom/bootstrap/less/mixins/grid.less on line 11' in /Applications/MAMP/
   htdocs/project-name/wp-content/plugins/wp-less/vendor/leafo/lessphp/lessc.inc.
   php:3460 Stack trace: #0 /Applications/MAMP/htdocs/project-name/wp-content/plugins/
   wp-less/vendor/leafo/lessphp/lessc.inc.php(2273): lessc_parser->throwError() #
   1 /Applications/MAMP/htdocs/project-name/wp-content/plugins/wp-less/vendor/leafo/
   lessphp/lessc.inc.php(121): lessc_parser->parse('// Grid system?...') #2 /Applications/
   MAMP/htdocs/project-name/wp-content/plugins/wp-less/vendor/leafo/lessphp/lessc.
   inc.php(753): lessc->tryImport(Array, Object(stdClass), Object(stdClass)) #3 /
   Applications/MAMP/htdocs/project-name/wp-content/plugins/wp-less/vendor/leafo/
   lessphp/lessc.inc.php(162): lessc->compileProp(Array, Object(stdClass), Object(
   stdClass)) #4 /Applications/MAMP/htdocs/project-name/wp-content/plugins/wp-less/
   vendor/le in /Applications/MAMP/htdocs/project-name/wp-content/plugins/wp-less/
   vendor/leafo/lessphp/lessc.inc.php on line 3460`
 * If I commented out bootstrap.less, website loads but styling is no longer right
   since I’m using bootstrap’s mixins.
 * Advice to solutions would be very much appreciated. Thanks.
 * [https://wordpress.org/plugins/wp-less/](https://wordpress.org/plugins/wp-less/)

Viewing 1 replies (of 1 total)

 *  Plugin Contributor [fabrizim](https://wordpress.org/support/users/fabrizim/)
 * (@fabrizim)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/fatal-error-using-twitter-bootstrap-320/#post-5287473)
 * Please see the documentation for changing the compiler to less.php here:
 * [https://github.com/oncletom/wp-less/blob/master/doc/Advanced-Usage.md#example-using-the-lessphp-library](https://github.com/oncletom/wp-less/blob/master/doc/Advanced-Usage.md#example-using-the-lessphp-library)
 * The problem is that the lessphp compiler has not been updated to work with the
   latest bootstrap (it does not support the :extend language construct). By switching
   to the less.php compiler, Bootstrap 3.2 will compile.
 * Best regards-
    Mark

Viewing 1 replies (of 1 total)

The topic ‘Fatal error using Twitter Bootstrap 3.2.0’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-less.svg)
 * [WP-LESS](https://wordpress.org/plugins/wp-less/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-less/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-less/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-less/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-less/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-less/reviews/)

## Tags

 * [twitter bootstrap](https://wordpress.org/support/topic-tag/twitter-bootstrap/)

 * 1 reply
 * 2 participants
 * Last reply from: [fabrizim](https://wordpress.org/support/users/fabrizim/)
 * Last activity: [11 years, 8 months ago](https://wordpress.org/support/topic/fatal-error-using-twitter-bootstrap-320/#post-5287473)
 * Status: not resolved