# \[Solved\] Less\_Parser not found, trying to fork Feature block

**URL:** <https://forums.concretecms.org/t/solved-less-parser-not-found-trying-to-fork-feature-block/354>\
**Category:** Developing with Concrete\
**Created:** [July 16, 2021, 10:54am UTC](https://forums.concretecms.org/t/solved-less-parser-not-found-trying-to-fork-feature-block/354 "2021-07-16T10:54:46Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![cali](https://forums.concretecms.org/user_avatar/forums.concretecms.org/cali/32/742_2.png) [@cali](https://forums.concretecms.org/u/cali)\
**Post date:** [July 16, 2021, 10:54am UTC](https://forums.concretecms.org/t/solved-less-parser-not-found-trying-to-fork-feature-block/354/1 "2021-07-16T10:54:46Z")

</div>

Hi guys, i’m trying to fork the feature block to add a button, link, possibility to open in new window and so on.

i’ve got a little issue:

```php
    Class 'Application\Block\MyBlock\Less_Parser' not found

```

in controller it seem to come form the getIconClasses()

```php
    protected function getIconClasses()
        {
            $iconLessFile = DIR_BASE_CORE . '/css/build/vendor/font-awesome/variables.less';
            $icons = array();
            $l = new Less_Parser();
            $parser = $l->parseFile($iconLessFile, false, true);
            $rules = $parser->rules;
            foreach ($rules as $rule) {
                if ($rule instanceof Less_Tree_Rule) {
                    if (strpos($rule->name, '@fa-var') === 0) {
                        $name = str_replace('@fa-var-', '', $rule->name);
                        $icons[] = $name;
                    }
                }
            }
            asort($icons);
            return $icons;
        }

```

i’m not shure to understand why it does not find the less file.

is someone had forked this block or had this kind of error ?

cheers 🙂

---

<div class="post-metadata">

**Author:** ![cali](https://forums.concretecms.org/user_avatar/forums.concretecms.org/cali/32/742_2.png) [@cali](https://forums.concretecms.org/u/cali)\
**Post date:** [July 16, 2021, 11:02am UTC](https://forums.concretecms.org/t/solved-less-parser-not-found-trying-to-fork-feature-block/354/2 "2021-07-16T11:02:01Z")

</div>

ok it’s just i was forgotten the less parser includes …

```php
    use Less_Parser;
    use Less_Tree_Rule;

```
