Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9190541
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T20:29:09+00:00 2026-06-17T20:29:09+00:00

I’m getting a strange LESS compilation error, where the message is as follows: non_object_property_callError:

  • 0

I’m getting a strange LESS compilation error, where the message is as follows:

non_object_property_callError: Cannot call method ‘charAt’ of null in
/Volumes/Windows/Program Files
(x86)/Ampps/www/custom-site/templates/custom-template/less/style.less:null:-1
1 @import “icomoon/icomoon.less”;

The code causing the error is as follows:

@import "imports/variables.less";
@import "icomoon/icomoon.less";

@import "mixins.less";

I tried compiling just these two files, and all goes well. So this told me that the error was in LESS’s ability to accurately report the source of errors. Testing on the nodejs compiler, the same error is returned. Testing on every other compiler still gives this error…

To try and find the source of the error, I naturally commented out the remaining code in the style.less file after the import call, but the error persisted. The issue here is that I have no idea where the error is, though I have a suspicion it’s somewhere after the call to the import.

Any help would be appreciated.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T20:29:10+00:00Added an answer on June 17, 2026 at 8:29 pm

    Saying “less is not able to report the exact problem” is actually only have of the truth.

    What exactly happens is that the less compiler is not able to compile your less code because there is an issue in it, so the compiler triggers its error handling to show where the error is. However, doing so, an exceptions occurs. And thus, you see only the very same exception which is basically caused by a bug in the less compiler.

    For a detailed description, see the pull request (https://github.com/cloudhead/less.js/pull/703) fixing the issue.

    So, what are the options here:

    • if you can’t switch to a newer less version, continue to try to find the problem by commenting out parts of your less code. I know, it is not fun at all. I had to go with this also for a while…
    • if you can upgrade to a newer version of lessc, try this and you my get nice error handling such as the example below shows.

    Error sample of the less compiler:

    $ lessc style.less > style.css
    NameError: variable @bla is undefined in assets/less/included.less:3:20
    2   background: url(../img/wall-texture.png);
    3   background-color: @bla;
    4 }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a .ini file as follows: [playlist] numberofentries=2 File1=http://87.230.82.17:80 Title1=(#1 - 365/1400) Example
link Im having trouble converting the html entites into html characters, (&# 8217;) i
I'm using v2.0 of ClassTextile.php, with the following call: $testimonial_text = $textile->TextileRestricted($_POST['testimonial']); ... and
I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this
I'm trying to convert HTML to plain text. I get many &\#8217; &\#8220; etc.
I'm trying to decode HTML entries from here NYTimes.com and I cannot figure out
Let's say I'm outputting a post title and in our database, it's Hello Y’all
Seemingly simple, but I cannot find anything relevant on the web. What is the
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
I'm new to using the Perl treebuilder module for HTML parsing and can't figure

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.