XF 2.1 Getting Server Error on my Forum

deslocotoco

Well-known member
Hello again.

Let's do this. I'm getting infinite errors like that:

Code:
ParseError: missing opening `{` in anonymous-file-0.less on line 2794, column 1 2792| -webkit-font-smoothing: antialiased; 2793| -moz-osx-font-smoothing: grayscale; 2794| } 2795| 2796| .m-faContent(@content, @width: false, @direction: false) 2797| {

    Um momento atrás src/vendor/oyejorge/less.php/lib/Less/Parser.php:677

    
ParseError: missing opening `{` in anonymous-file-0.less on line 2794, column 1 2792| -webkit-font-smoothing: antialiased; 2793| -moz-osx-font-smoothing: grayscale; 2794| } 2795| 2796| .m-faContent(@content, @width: false, @direction: false) 2797| {

    Um momento atrás src/vendor/oyejorge/less.php/lib/Less/Parser.php:677

    
ParseError: missing opening `{` in anonymous-file-0.less on line 2794, column 1 2792| -webkit-font-smoothing: antialiased; 2793| -moz-osx-font-smoothing: grayscale; 2794| } 2795| 2796| .m-faContent(@content, @width: false, @direction: false) 2797| {

    Um momento atrás src/vendor/oyejorge/less.php/lib/Less/Parser.php:677

    
ParseError: missing opening `{` in anonymous-file-421.less on line 2794, column 1 2792| -webkit-font-smoothing: antialiased; 2793| -moz-osx-font-smoothing: grayscale; 2794| } 2795| 2796| .m-faContent(@content, @width: false, @direction: false) 2797| {

    Um momento atrás src/vendor/oyejorge/less.php/lib/Less/Parser.php:677

    
ParseError: missing opening `{` in anonymous-file-1489.less on line 2794, column 1 2792| -webkit-font-smoothing: antialiased; 2793| -moz-osx-font-smoothing: grayscale; 2794| } 2795| 2796| .m-faContent(@content, @width: false, @direction: false) 2797| {

    Um momento atrás src/vendor/oyejorge/less.php/lib/Less/Parser.php:677

    
ParseError: missing opening `{` in anonymous-file-0.less on line 2794, column 1 2792| -webkit-font-smoothing: antialiased; 2793| -moz-osx-font-smoothing: grayscale; 2794| } 2795| 2796| .m-faContent(@content, @width: false, @direction: false) 2797| {

    1 minuto atrás src/vendor/oyejorge/less.php/lib/Less/Parser.php:677

    
ParseError: missing opening `{` in anonymous-file-0.less on line 2794, column 1 2792| -webkit-font-smoothing: antialiased; 2793| -moz-osx-font-smoothing: grayscale; 2794| } 2795| 2796| .m-faContent(@content, @width: false, @direction: false) 2797| {

    1 minuto atrás src/vendor/oyejorge/less.php/lib/Less/Parser.php:677

    
ParseError: missing opening `{` in anonymous-file-0.less on line 2794, column 1 2792| -webkit-font-smoothing: antialiased; 2793| -moz-osx-font-smoothing: grayscale; 2794| } 2795| 2796| .m-faContent(@content, @width: false, @direction: false) 2797| {

    1 minuto atrás src/vendor/oyejorge/less.php/lib/Less/Parser.php:677

    
ParseError: missing opening `{` in anonymous-file-0.less on line 2794, column 1 2792| -webkit-font-smoothing: antialiased; 2793| -moz-osx-font-smoothing: grayscale; 2794| } 2795| 2796| .m-faContent(@content, @width: false, @direction: false) 2797| {

    1 minuto atrás src/vendor/oyejorge/less.php/lib/Less/Parser.php:677

    
ParseError: missing opening `{` in anonymous-file-0.less on line 2794, column 1 2792| -webkit-font-smoothing: antialiased; 2793| -moz-osx-font-smoothing: grayscale; 2794| } 2795| 2796| .m-faContent(@content, @width: false, @direction: false) 2797| {

    1 minuto atrás src/vendor/oyejorge/less.php/lib/Less/Parser.php:677

    
ParseError: missing opening `{` in anonymous-file-0.less on line 2794, column 1 2792| -webkit-font-smoothing: antialiased; 2793| -moz-osx-font-smoothing: grayscale; 2794| } 2795| 2796| .m-faContent(@content, @width: false, @direction: false) 2797| {

    1 minuto atrás src/vendor/oyejorge/less.php/lib/Less/Parser.php:677

    
ParseError: missing opening `{` in anonymous-file-0.less on line 2794, column 1 2792| -webkit-font-smoothing: antialiased; 2793| -moz-osx-font-smoothing: grayscale; 2794| } 2795| 2796| .m-faContent(@content, @width: false, @direction: false) 2797| {

    1 minuto atrás src/vendor/oyejorge/less.php/lib/Less/Parser.php:677

    
ParseError: missing opening `{` in anonymous-file-0.less on line 2794, column 1 2792| -webkit-font-smoothing: antialiased; 2793| -moz-osx-font-smoothing: grayscale; 2794| } 2795| 2796| .m-faContent(@content, @width: false, @direction: false) 2797| {

    1 minuto atrás src/vendor/oyejorge/less.php/lib/Less/Parser.php:677

    
ParseError: missing opening `{` in anonymous-file-0.less on line 2794, column 1 2792| -webkit-font-smoothing: antialiased; 2793| -moz-osx-font-smoothing: grayscale; 2794| } 2795| 2796| .m-faContent(@content, @width: false, @direction: false) 2797| {

    1 minuto atrás src/vendor/oyejorge/less.php/lib/Less/Parser.php:677

    
ParseError: missing opening `{` in anonymous-file-0.less on line 2794, column 1 2792| -webkit-font-smoothing: antialiased; 2793| -moz-osx-font-smoothing: grayscale; 2794| } 2795| 2796| .m-faContent(@content, @width: false, @direction: false) 2797| {

    1 minuto atrás src/vendor/oyejorge/less.php/lib/Less/Parser.php:677

    
ParseError: missing opening `{` in anonymous-file-6303.less on line 2794, column 1 2792| -webkit-font-smoothing: antialiased; 2793| -moz-osx-font-smoothing: grayscale; 2794| } 2795| 2796| .m-faContent(@content, @width: false, @direction: false) 2797| {

    2 minutos atrás src/vendor/oyejorge/less.php/lib/Less/Parser.php:677

    
ParseError: missing opening `{` in anonymous-file-0.less on line 2794, column 1 2792| -webkit-font-smoothing: antialiased; 2793| -moz-osx-font-smoothing: grayscale; 2794| } 2795| 2796| .m-faContent(@content, @width: false, @direction: false) 2797| {

    2 minutos atrás src/vendor/oyejorge/less.php/lib/Less/Parser.php:677

    
ParseError: missing opening `{` in anonymous-file-0.less on line 2794, column 1 2792| -webkit-font-smoothing: antialiased; 2793| -moz-osx-font-smoothing: grayscale; 2794| } 2795| 2796| .m-faContent(@content, @width: false, @direction: false) 2797| {

    2 minutos atrás src/vendor/oyejorge/less.php/lib/Less/Parser.php:677

    
ParseError: missing opening `{` in anonymous-file-0.less on line 2794, column 1 2792| -webkit-font-smoothing: antialiased; 2793| -moz-osx-font-smoothing: grayscale; 2794| } 2795| 2796| .m-faContent(@content, @width: false, @direction: false) 2797| {

    2 minutos atrás src/vendor/oyejorge/less.php/lib/Less/Parser.php:677

    
ParseError: missing opening `{` in anonymous-file-0.less on line 2794, column 1 2792| -webkit-font-smoothing: antialiased; 2793| -moz-osx-font-smoothing: grayscale; 2794| } 2795| 2796| .m-faContent(@content, @width: false, @direction: false) 2797| {

    2 minutos atrás src/vendor/oyejorge/less.php/lib/Less/Parser.php:677

Opening one i have this:
Code:
     Less_Exception_Chunk: ParseError: missing opening `{` in anonymous-file-0.less on line 2794, column 1 2792| -webkit-font-smoothing: antialiased; 2793| -moz-osx-font-smoothing: grayscale; 2794| } 2795| 2796| .m-faContent(@content, @width: false, @direction: false) 2797| { src/vendor/oyejorge/less.php/lib/Less/Parser.php:677
    
     Stack trace

#0 src/vendor/oyejorge/less.php/lib/Less/Parser.php(621): Less_Parser->GetRules(NULL)
#1 src/vendor/oyejorge/less.php/lib/Less/Parser.php(449): Less_Parser->_parse()
#2 src/XF/CssRenderer.php(394): Less_Parser->parse('// Note that th...')
#3 src/XF/CssRenderer.php(342): XF\CssRenderer->renderToCss('public:extra.le...', '// Note that th...')
#4 src/XF/CssRenderer.php(250): XF\CssRenderer->renderTemplate('public:extra.le...', NULL)
#5 src/XF/CssRenderer.php(116): XF\CssRenderer->renderTemplates(Array, Array, Array)
#6 src/XF/CssWriter.php(53): XF\CssRenderer->render(Array)
#7 css.php(30): XF\CssWriter->run(Array, 9, 3, 'eadb2387712a3d7...')
#8 {main}

Request state

array(4) {
  ["url"] => string(213) "/css.php?css=public%3Aah_fa.less%2Cpublic%3Aalnb_navigation.less%2Cpublic%3Arellect_favicon.less%2Cpublic%3Ashare_controls.less%2Cpublic%3Aextra.less&s=9&l=3&d=1548936869&k=eadb2387712a3d72877ade649832f210bf9b922e"
  ["referrer"] => string(28) "https://forum.politz.com.br/"
  ["_GET"] => array(5) {
    ["css"] => string(118) "public:ah_fa.less,public:alnb_navigation.less,public:rellect_favicon.less,public:share_controls.less,public:extra.less"
    ["s"] => string(1) "9"
    ["l"] => string(1) "3"
    ["d"] => string(10) "1548936869"
    ["k"] => string(40) "eadb2387712a3d72877ade649832f210bf9b922e"
  }
  ["_POST"] => array(0) {
  }
}
 
I already tried to disable addons, but the problem persists.

This is my extra.less if helps:

Code:
/* Resize Image */
/* @media (min-width: 680px){ */
.message-body img {
    max-width: 450px !important;
    max-height: 450px !important;
}
}
/* Resize Image */

/* Node Icons */
#XF{
    .node--id2 .node-icon i::before{
        content: '\f0a1';
    }
.node--id3 .node-icon i::before{
        content: '\f257';
    }
.node--id4 .node-icon i::before{
        content: '\f19c';
    }
.node--id5 .node-icon i::before{
        content: '\f19c';
    }
.node--id7 .node-icon i::before{
        content: '\f21b';
    }
.node--id10 .node-icon i::before{
        content: '\f109';
    }
.node--id9 .node-icon i::before{
        content: '\f26c';
    }
.node--id8 .node-icon i::before{
        content: '\f21e';
    }
.node--id11 .node-icon i::before{
        content: '\f0d6';
    }
.node--id12 .node-icon i::before{
        content: '\f05a';
    }
.node--id16 .node-icon i::before{
        content: '\f1ea';
    }
.node--id17 .node-icon i::before{
        content: '\f041';
    }
    .node--id18 .node-icon i::before{
        content: '\f0ac';
    }
    .node--id19 .node-icon i::before{
        content: '\f258';
    }
    .node--id20 .node-icon i::before{
        content: '\f02d';
    }
    .node--id21 .node-icon i::before{
        content: '\f11b';
    }
    .node--id22 .node-icon i::before{
        content: '\f1e3';
    }
    .node--id27 .node-icon i::before{
        content: '\f132';
    }
}
/* Node Icons */

/* Signature Image Size */
.message-signature
{
    .bbWrapper
    {
        .bbImage
        {
            max-width: 300px;
            max-height: 150px;
            overflow-x: auto;
            overflow-y: auto;
        }
    }
}
/* Signature Image Size */

/* Jump Button */
#scrolldownhere
{position:relative;top:-500px}
/* Jump Button */

/* Donations Icon */
.p-nav-list .p-navEl a.p-navEl-link[data-nav-id="doacoes"]:before { content: "\f0d6"; }
/* Donations Icon */

/*Invert Button */
.formButtonGroup .formButtonGroup-primary .button--icon--reply
{
  float: right;
  margin-left: 7px;
}
/*Invert Button */

/*Action Bar*/
.actionBar-action:before {
    margin-right: 5px;
}
.actionBar-action--edit:before {.m-faContent("\f040");}
.actionBar-action--report:before {.m-faContent("\f071");}
.actionBar-action--ip:before {.m-faContent("\f002");}
.actionBar-action--delete:before {.m-faContent("\f00d");}
.actionBar-action--spam:before {.m-faContent("\f024");}
.actionBar-action--warn:before {.m-faContent("\f12a");}
.actionBar-action--history:before {.m-faContent("\f1da");}
/*Action Bar*/
 
Last edited:
Code:
/* Resize Image */
/* @media (min-width: 680px){ */
.message-body img {
    max-width: 450px !important;
    max-height: 450px !important;
}
}
/* Resize Image */

You have 2 "}" there.
 
Top Bottom