Codoforum related discussions
Some LESS Fatal Error after update to 5.01

Hallo @admin

would you be so kind and help me and tell me what to do to solve my issue please?


I think it is something wrong or missing with the Less compiler, but I can be wrong. I know only CSS3 and HTML5 but as good as no Less or PHP.


I got the following error message:


Fatal error: Uncaught Less_Exception_Compiler: variable @badgeRewardedBorderColor is undefined in file anonymous-file-0.less in anonymous-file-0.less in /var/www/web24746577/html/nw/board/sys/vendor/wikimedia/less.php/lib/Less/Tree/Variable.php:49 Stack trace: #0 /var/www/web24746577/html/nw/board/sys/vendor/wikimedia/less.php/lib/Less/Tree/Expression.php(52): Less_Tree_Variable->compile(Object(Less_Environment)) #1 /var/www/web24746577/html/nw/board/sys/vendor/wikimedia/less.php/lib/Less/Tree/Value.php(27): Less_Tree_Expression->compile(Object(Less_Environment)) #2 /var/www/web24746577/html/nw/board/sys/vendor/wikimedia/less.php/lib/Less/Tree/Rule.php(75): Less_Tree_Value->compile(Object(Less_Environment)) #3 /var/www/web24746577/html/nw/board/sys/vendor/wikimedia/less.php/lib/Less/Tree/Ruleset.php(94): Less_Tree_Rule->compile(Object(Less_Environment)) #4 /var/www/web24746577/html/nw/board/sys/vendor/wikimedia/less.php/lib/Less/Tree/Ruleset.php(94): Less_Tree_Ruleset->compile(Object(Less_Environment)) #5 /var/www/web2474 in /var/www/web24746577/html/nw/board/sys/vendor/wikimedia/less.php/lib/Less/Tree/Variable.php on line 49

Fatal error: Uncaught Less_Exception_Compiler: variable @badgeRewardedBorderColor is undefined in file anonymous-file-0.less in anonymous-file-0.less in anonymous-file-0.less in /var/www/web24746577/html/nw/board/sys/vendor/wikimedia/less.php/lib/Less/Tree/Mixin/Call.php:130 Stack trace: #0 /var/www/web24746577/html/nw/board/sys/vendor/wikimedia/less.php/lib/Less/Tree/Ruleset.php(147): Less_Tree_Mixin_Call->compile(Object(Less_Environment)) #1 /var/www/web24746577/html/nw/board/sys/vendor/wikimedia/less.php/lib/Less/Tree/Ruleset.php(88): Less_Tree_Ruleset->EvalMixinCalls(Object(Less_Tree_Ruleset), Object(Less_Environment), 2) #2 /var/www/web24746577/html/nw/board/sys/vendor/wikimedia/less.php/lib/Less/Tree/Ruleset.php(94): Less_Tree_Ruleset->compile(Object(Less_Environment)) #3 /var/www/web24746577/html/nw/board/sys/vendor/wikimedia/less.php/lib/Less/Parser.php(199): Less_Tree_Ruleset->compile(Object(Less_Environment)) #4 /var/www/web24746577/html/nw/board/sys/CODOF/Asset/Stream.php(409): Less_Parser->getCss() #5 /var/www in /var/www/web24746577/html/nw/board/sys/vendor/wikimedia/less.php/lib/Less/Tree/Mixin/Call.php on line 130
  • further the Profile page is not working and the "read more - full topic page" too

  • also I can not find the page or feature to give members some badgets.


Kind regards, Andy smile


Hallo @admin would you be so kind and help me and tell me what to do to solve my issue please? I think it is something wrong or missing with the Less compiler, but I can be wrong. I know only CSS3 and HTML5 but as good as no Less or PHP. **I got the following error message:** ```` Fatal error: Uncaught Less_Exception_Compiler: variable @badgeRewardedBorderColor is undefined in file anonymous-file-0.less in anonymous-file-0.less in /var/www/web24746577/html/nw/board/sys/vendor/wikimedia/less.php/lib/Less/Tree/Variable.php:49 Stack trace: #0 /var/www/web24746577/html/nw/board/sys/vendor/wikimedia/less.php/lib/Less/Tree/Expression.php(52): Less_Tree_Variable->compile(Object(Less_Environment)) #1 /var/www/web24746577/html/nw/board/sys/vendor/wikimedia/less.php/lib/Less/Tree/Value.php(27): Less_Tree_Expression->compile(Object(Less_Environment)) #2 /var/www/web24746577/html/nw/board/sys/vendor/wikimedia/less.php/lib/Less/Tree/Rule.php(75): Less_Tree_Value->compile(Object(Less_Environment)) #3 /var/www/web24746577/html/nw/board/sys/vendor/wikimedia/less.php/lib/Less/Tree/Ruleset.php(94): Less_Tree_Rule->compile(Object(Less_Environment)) #4 /var/www/web24746577/html/nw/board/sys/vendor/wikimedia/less.php/lib/Less/Tree/Ruleset.php(94): Less_Tree_Ruleset->compile(Object(Less_Environment)) #5 /var/www/web2474 in /var/www/web24746577/html/nw/board/sys/vendor/wikimedia/less.php/lib/Less/Tree/Variable.php on line 49 Fatal error: Uncaught Less_Exception_Compiler: variable @badgeRewardedBorderColor is undefined in file anonymous-file-0.less in anonymous-file-0.less in anonymous-file-0.less in /var/www/web24746577/html/nw/board/sys/vendor/wikimedia/less.php/lib/Less/Tree/Mixin/Call.php:130 Stack trace: #0 /var/www/web24746577/html/nw/board/sys/vendor/wikimedia/less.php/lib/Less/Tree/Ruleset.php(147): Less_Tree_Mixin_Call->compile(Object(Less_Environment)) #1 /var/www/web24746577/html/nw/board/sys/vendor/wikimedia/less.php/lib/Less/Tree/Ruleset.php(88): Less_Tree_Ruleset->EvalMixinCalls(Object(Less_Tree_Ruleset), Object(Less_Environment), 2) #2 /var/www/web24746577/html/nw/board/sys/vendor/wikimedia/less.php/lib/Less/Tree/Ruleset.php(94): Less_Tree_Ruleset->compile(Object(Less_Environment)) #3 /var/www/web24746577/html/nw/board/sys/vendor/wikimedia/less.php/lib/Less/Parser.php(199): Less_Tree_Ruleset->compile(Object(Less_Environment)) #4 /var/www/web24746577/html/nw/board/sys/CODOF/Asset/Stream.php(409): Less_Parser->getCss() #5 /var/www in /var/www/web24746577/html/nw/board/sys/vendor/wikimedia/less.php/lib/Less/Tree/Mixin/Call.php on line 130 ```` - further the Profile page is not working and the "read more - full topic page" too - also I can not find the page or feature to give members some badgets. Kind regards, Andy ;)
edited Sep 14 at 12:01 am

Hi @WebCrew

Yes, you are right. We missed to add this variable in the default theme and only added in 2k18 theme.
We have fixed this and released V5.0.2


further the Profile page is not working and the "read more - full topic page" too

Yes, that's because of the missing variable definition in themes other than 2k18.


also I can not find the page or feature to give members some badgets.


For now, we have only made it available in the profile page. Go to any user profile as admin/moderator and you should see "Reward badges" button next to his name.
We are planning to add automated badge rewards and other things to this badge system in the future.


Thank you for reporting the bug smile


Hi @WebCrew Yes, you are right. We missed to add this variable in the default theme and only added in 2k18 theme. We have fixed this and released V5.0.2 [quote="pid:24523, uid:8261"]further the Profile page is not working and the "read more - full topic page" too[/quote] Yes, that's because of the missing variable definition in themes other than 2k18. [quote="pid:24523, uid:8261"]also I can not find the page or feature to give members some badgets.[/quote] For now, we have only made it available in the profile page. Go to any user profile as admin/moderator and you should see "Reward badges" button next to his name. We are planning to add automated badge rewards and other things to this badge system in the future. Thank you for reporting the bug :)
Necessity is the mother of all inventions!
20
2
2
live preview
enter atleast 10 characters
WARNING: You mentioned %MENTIONS%, but they cannot see this message and will not be notified
Saving...
Saved
With selected deselect posts show selected posts
All posts under this topic will be deleted ?
Pending draft ... Click to resume editing
Discard draft