Title: Errors when turning on LESS Compiler
Last modified: August 22, 2016

---

# Errors when turning on LESS Compiler

 *  [fl4v](https://wordpress.org/support/users/fl4v/)
 * (@fl4v)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/errors-when-turning-on-less-compiler/)
 * Hello there, I have the latest version (3.2 0-2) of your plugin, and define(‘
   WP_DEBUG’, true); in wp-config.
    On the admin page when I turn on the LESS Compiler
   to any value other than None, I get: – First a bunch of Undefined offset: 3 in
   C:\wamp\www\wordpress\wp-content\plugins\wordpress-bootstrap-css\src\icwp-optionshandler-
   base.php with the offsets having the pattern 3, 2, 1, 3, 2, 1, 3, 2, 1… – Then
   for each configuration box: Notice: Undefined variable: sChecked in C:\wamp\www\
   wordpress\wp-content\plugins\wordpress-bootstrap-css\views\icwp_options_helper.
   php on line 283
 * The offset issue comes back on the website page, and obviously not the other 
   one which is admin specific.
 * Lastly, what is supposed to be shown in the HTML code if your plugin is enable
   and works fine? Is it a line <script src=”js/libs/bootstrap.min.js”></script>?
 * Thanks a lot
 * [https://wordpress.org/plugins/wordpress-bootstrap-css/](https://wordpress.org/plugins/wordpress-bootstrap-css/)

Viewing 10 replies - 1 through 10 (of 10 total)

 *  Plugin Author [Paul](https://wordpress.org/support/users/paultgoodchild/)
 * (@paultgoodchild)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/errors-when-turning-on-less-compiler/#post-5249648)
 * can you tell me the line number for the undefined offset please?
 *  Thread Starter [fl4v](https://wordpress.org/support/users/fl4v/)
 * (@fl4v)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/errors-when-turning-on-less-compiler/#post-5249652)
 * My bad:
    Undefined offset: 3 in C:\wamp\www\wordpress\wp-content\plugins\wordpress-
   bootstrap-css\src\icwp-optionshandler-base.php on line 611
 *  Plugin Author [Paul](https://wordpress.org/support/users/paultgoodchild/)
 * (@paultgoodchild)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/errors-when-turning-on-less-compiler/#post-5249657)
 * Cool… I’ve fixed this and I’ll release a minor update tomorrow morning.
 * Thanks!
    Paul.
 *  Thread Starter [fl4v](https://wordpress.org/support/users/fl4v/)
 * (@fl4v)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/errors-when-turning-on-less-compiler/#post-5249675)
 * OK thanks! What was it?
 * What about the second part of the question, what should I expect to see on py
   pages?
 *  Plugin Author [Paul](https://wordpress.org/support/users/paultgoodchild/)
 * (@paultgoodchild)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/errors-when-turning-on-less-compiler/#post-5249708)
 * It was just a minor notice about array elements not being present. Nothing serious.
   WP_DEBUG prints out a lot of notices that are irrelevant most of the time – useful
   for debug errors and problems, not for running on your site.
 * What displays on your site depends on what you’ve got selected. But at the very
   start, right after the head, you shoiuld see somethhing like:
 * `<link rel="stylesheet" type="text/css" href="http://mywebsite.com/wp-content/
   plugins/wordpress-bootstrap-css/resources/bootstrap-3.2.0/css/bootstrap.css"/
   >`
 * for example
 * And if you enable javascript, you’ll see something similar but for Javascript.
   js file.
 * Hope that helps.
 *  [wingNG](https://wordpress.org/support/users/wingng/)
 * (@wingng)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/errors-when-turning-on-less-compiler/#post-5249743)
 * Hey Guys,
    I also catch an error when I turn on the LESS Compiler, but that’s
   different:
 * Fatal error: Allowed memory size of 41943040 bytes exhausted (tried to allocate
   48 bytes) in /public_html/wp-content/plugins/wordpress-bootstrap-css/inc/Less.
   php/Tree/Selector.php on line 61
 * is there any solution to limit the size? or any idea on this issue?
 * Thanks a lot! =)
 *  [wingNG](https://wordpress.org/support/users/wingng/)
 * (@wingng)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/errors-when-turning-on-less-compiler/#post-5249747)
 * Solved!
 * Just increased the wp memory limit to 64M to solve the issue!
 * Thanks.
 *  Thread Starter [fl4v](https://wordpress.org/support/users/fl4v/)
 * (@fl4v)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/errors-when-turning-on-less-compiler/#post-5249761)
 * I have updated my bootstrap plugin, 2 out of 3 errors are fixes, good job!
 * On the admin page I still have
 * > Notice: Undefined offset: 1 in C:\wamp\www\wordpress\wp-content\plugins\wordpress-
   > bootstrap-css\src\icwp-optionshandler-base.php on line 745
   >  Call Stack # Time
   > Memory Function Location 1 0.0024 178288 {main}( ) ..\admin.php:0 2 0.6742 
   > 20213168 do_action( ) ..\admin.php:211 3 0.6743 20214144 call_user_func_array:{
   > C:\wamp\www\wordpress\wp-includes\plugin.php:470} ( ) ..\plugin.php:470 4 0.6743
   > 20214208 ICWP_WPTB_FeatureHandler_Less->displayFeatureConfigPage( ) ..\plugin.
   > php:470 5 0.6744 20214688 ICWP_WPTB_FeatureHandler_Base_V2->getBaseDisplayData()..\
   > icwp-optionshandler-less.php:81 6 0.6759 20263952 ICWP_WPTB_FeatureHandler_Base_V2-
   > >collateAllFormInputsForAllOptions( ) ..\icwp-optionshandler-base.php:981
 * For several offsets ranging from 1 to 3
 *  Thread Starter [fl4v](https://wordpress.org/support/users/fl4v/)
 * (@fl4v)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/errors-when-turning-on-less-compiler/#post-5249763)
 * Plus I don’t see anything looking like <link rel=”stylesheet” type=”text/css”
   href=”[http://mywebsite.com/wp-content/plugins/wordpress-bootstrap-css/resources/bootstrap-3.2.0/css/bootstrap.css”/&gt](http://mywebsite.com/wp-content/plugins/wordpress-bootstrap-css/resources/bootstrap-3.2.0/css/bootstrap.css”/&gt);
   in my HTML code after page load, under my own theme or under any Twenty Fourteen/
   Thirteen / Twelve theme. I also tried deactivating every plugin, and login out
   of wordpress.
    I have bootstrap CSS on and bootstrap LESS on.
 *  Thread Starter [fl4v](https://wordpress.org/support/users/fl4v/)
 * (@fl4v)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/errors-when-turning-on-less-compiler/#post-5249765)
 * Never mind, bootstrap loads now.
    The documentation is misleading, it seems to
   indicate that everything is supposed to work right away, when you just have to
   check some settings.

Viewing 10 replies - 1 through 10 (of 10 total)

The topic ‘Errors when turning on LESS Compiler’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wordpress-bootstrap-css_d0f2fd.svg)
 * [Twitter Bootstrap for WordPress](https://wordpress.org/plugins/wordpress-bootstrap-css/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordpress-bootstrap-css/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordpress-bootstrap-css/)
 * [Active Topics](https://wordpress.org/support/plugin/wordpress-bootstrap-css/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordpress-bootstrap-css/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordpress-bootstrap-css/reviews/)

## Tags

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

 * 10 replies
 * 3 participants
 * Last reply from: [fl4v](https://wordpress.org/support/users/fl4v/)
 * Last activity: [11 years, 8 months ago](https://wordpress.org/support/topic/errors-when-turning-on-less-compiler/#post-5249765)
 * Status: not resolved