src/XF.php Unexpected contents ?

cannabis ape

Customer
I'm not sure if this popped up after that last edit but this is the error I'm getting.

src/XF.php Unexpected contents
 

Russ

Pixel Exit Staff
I will need a little more info. Can you post the full error? You can also submit a ticket if you need to provide anything private.
 

cannabis ape

Customer
I will need a little more info. Can you post the full error? You can also submit a ticket if you need to provide anything private.
Yes sir
Code:
[LIST]
[*]                
[*]XF\CssRenderException: Error rendering template public:app.less: variable @fa-var-f411 is undefined in file public:app.less in public:app.less (on or near line 4999)
[*]               
[*]src/XF/CssRenderException.php:87
[*]            
[/LIST]
           
[LIST]
[*]                
[*]Generated by: Unknown account
[*]               
[*]Dec 9, 2019 at 6:42 PM
[*]            
[/LIST]
        
        Stack trace
       
            4996 |         .node-icon i
4997 | {
4998 | opacity: 1;
*4999*| &:before { .m-faContent("@{fa-var-f411}\20"); text-shadow: none; }
5000 | }
5001 | .node-title a
5002 | {
------------

#0 src/XF/CssRenderer.php(408): XF\CssRenderException::createFromLessException()
#1 src/XF/CssRenderer.php(342): XF\CssRenderer->renderToCss()
#2 src/XF/CssRenderer.php(250): XF\CssRenderer->renderTemplate()
#3 src/XF/CssRenderer.php(116): XF\CssRenderer->renderTemplates()
#4 src/XF/CssWriter.php(53): XF\CssRenderer->render()
#5 css.php(30): XF\CssWriter->run()
#6 {main}

-------------

Previous Less_Exception_Compiler: variable @fa-var-f411 is undefined in file anonymous-file-17475.less in anonymous-file-17475.less - src/vendor/oyejorge/less.php/lib/Less/Tree/Variable.php:49
#0 src/vendor/oyejorge/less.php/lib/Less/Tree/Quoted.php(57): Less_Tree_Variable->compile()
#1 src/vendor/oyejorge/less.php/lib/Less/Tree/Expression.php(52): Less_Tree_Quoted->compile()
#2 src/vendor/oyejorge/less.php/lib/Less/Tree/Mixin/Call.php(43): Less_Tree_Expression->compile()
#3 src/vendor/oyejorge/less.php/lib/Less/Tree/Ruleset.php(147): Less_Tree_Mixin_Call->compile()
#4 src/vendor/oyejorge/less.php/lib/Less/Tree/Ruleset.php(88): Less_Tree_Ruleset->EvalMixinCalls()
#5 src/vendor/oyejorge/less.php/lib/Less/Tree/Ruleset.php(94): Less_Tree_Ruleset->compile()
#6 src/vendor/oyejorge/less.php/lib/Less/Tree/Ruleset.php(94): Less_Tree_Ruleset->compile()
#7 src/vendor/oyejorge/less.php/lib/Less/Tree/Ruleset.php(94): Less_Tree_Ruleset->compile()
#8 src/vendor/oyejorge/less.php/lib/Less/Tree/Ruleset.php(94): Less_Tree_Ruleset->compile()
#9 src/vendor/oyejorge/less.php/lib/Less/Parser.php(199): Less_Tree_Ruleset->compile()
#10 src/XF/CssRenderer.php(404): Less_Parser->getCss()
#11 src/XF/CssRenderer.php(342): XF\CssRenderer->renderToCss()
#12 src/XF/CssRenderer.php(250): XF\CssRenderer->renderTemplate()
#13 src/XF/CssRenderer.php(116): XF\CssRenderer->renderTemplates()
#14 src/XF/CssWriter.php(53): XF\CssRenderer->render()
#15 css.php(30): XF\CssWriter->run()
#16 {main}

       


        Request state

        

array(4) {
["url"] => string(150) "/wordpress/css.php?css=public%3Anormalize.css%2Cpublic%3Acore.less%2Cpublic%3Aapp.less&s=3&l=1&d=1575916960&k=e8d132ef0cc6cf58fb1de5e0832df6511a46fa7d"
["referrer"] => string(33) "https://wpsolutions.io/wordpress/"
["_GET"] => array(5) {
["css"] => string(53) "public:normalize.css,public:core.less,public:app.less"
["s"] => string(1) "3"
["l"] => string(1) "1"
["d"] => string(10) "1575916960"
["k"] => string(40) "e8d132ef0cc6cf58fb1de5e0832df6511a46fa7d"
}
["_POST"] => array(0) {
}
}
 

Russ

Pixel Exit Staff
It's probably something to do with that wordpress icon.

Revert the node icons you set to wordpress and just use manual CSS:

Code:
.node--forum .node-icon i:before {
    font-family: 'Font Awesome 5 Brands';
content: "\f411";
}
 

cannabis ape

Customer
I removed the one from extra.less, reverted the icons and then added the CSS to node icon but now it shows the default Icons and it still gives a server error.
 

Pre-Sale Questions

If you have any questions or concerns you want to ask before you make a purchase don't hesitate to use one of our multiple support channels for your convenience.