Tracy Perry

Customer
I'm getting server error logs that contain the following
Using Blacked Pro
Code:
[LIST]
[*]Less_Exception_Chunk: ParseError: Unexpected input in anonymous-file-0.less on line 1510, column 37 1508| 1509| 1510| .xb-toggle-default .p-header-inner {background:images/sf.png 1511| } 1512| 1513|
[*]src/vendor/oyejorge/less.php/lib/Less/Parser.php:677
[*]Generated by: Unknown account
[*]December 15, 2018 at 8:50 PM
[/LIST]
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(363): Less_Parser->parse('// Note that th...')
#3 src/XF/CssRenderer.php(311): XF\CssRenderer->renderToCss('public:extra.le...', '// Note that th...')
#4 src/XF/CssRenderer.php(235): XF\CssRenderer->renderTemplate('public:extra.le...', NULL)
#5 src/XF/CssRenderer.php(101): XF\CssRenderer->renderTemplates(Array, Array, Array)
#6 src/XF/CssWriter.php(53): XF\CssRenderer->render(Array)
#7 css.php(30): XF\CssWriter->run(Array, 8, 1, '83bbcd56ef3c964...')
#8 {main}
Request state
array(4) {
  ["url"] => string(177) "/css.php?css=public%3Anode_list.less%2Cpublic%3Anotices.less%2Cpublic%3Ashare_controls.less%2Cpublic%3Aextra.less&s=8&l=1&d=1544862894&k=83bbcd56ef3c9640c51105eb17f6497ffcd2d0a9"
  ["referrer"] => bool(false)
  ["_GET"] => array(5) {
    ["css"] => string(86) "public:node_list.less,public:notices.less,public:share_controls.less,public:extra.less"
    ["s"] => string(1) "8"
    ["l"] => string(1) "1"
    ["d"] => string(10) "1544862894"
    ["k"] => string(40) "83bbcd56ef3c9640c51105eb17f6497ffcd2d0a9"
  }
  ["_POST"] => array(0) {
  }

Code:
Less_Exception_Chunk: ParseError: Unexpected input in anonymous-file-0.less on line 1510, column 37 1508| 1509| 1510| .xb-toggle-default .p-header-inner {background:images/sf.png 1511| } 1512| 1513| src/vendor/oyejorge/less.php/lib/Less/Parser.php:677
Generated by: Unknown account December 15, 2018 at 5:44 AM
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(363): Less_Parser->parse('// Note that th...')
#3 src/XF/CssRenderer.php(311): XF\CssRenderer->renderToCss('public:extra.le...', '// Note that th...')
#4 src/XF/CssRenderer.php(235): XF\CssRenderer->renderTemplate('public:extra.le...', NULL)
#5 src/XF/CssRenderer.php(101): XF\CssRenderer->renderTemplates(Array, Array, Array)
#6 src/XF/CssWriter.php(53): XF\CssRenderer->render(Array)
#7 css.php(30): XF\CssWriter->run(Array, 8, 1, '83bbcd56ef3c964...')
#8 {main}
Request state
array(4) {
  ["url"] => string(177) "/css.php?css=public%3Anode_list.less%2Cpublic%3Anotices.less%2Cpublic%3Ashare_controls.less%2Cpublic%3Aextra.less&s=8&l=1&d=1544862894&k=83bbcd56ef3c9640c51105eb17f6497ffcd2d0a9"
  ["referrer"] => string(22) "https://astrowhat.com/"
  ["_GET"] => array(5) {
    ["css"] => string(86) "public:node_list.less,public:notices.less,public:share_controls.less,public:extra.less"
    ["s"] => string(1) "8"
    ["l"] => string(1) "1"
    ["d"] => string(10) "1544862894"
    ["k"] => string(40) "83bbcd56ef3c9640c51105eb17f6497ffcd2d0a9"
  }
  ["_POST"] => array(0) {
  }
}


Code:
Less_Exception_Chunk: ParseError: missing closing `)` in anonymous-file-866.less on line 1550, column 22 1548| } 1549| .node--forum.node--id17.node--read .node-icon { 1550| background-image: url('images/read.png') !important; 1551| background-repeat: no-repeat; 1552| background-position: center; 1553| opacity: 0.4; src/vendor/oyejorge/less.php/lib/Less/Parser.php:677
Generated by: Unknown account December 15, 2018 at 2:30 AM
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(363): Less_Parser->parse('// Note that th...')
#3 src/XF/CssRenderer.php(311): XF\CssRenderer->renderToCss('public:extra.le...', '// Note that th...')
#4 src/XF/CssRenderer.php(235): XF\CssRenderer->renderTemplate('public:extra.le...', NULL)
#5 src/XF/CssRenderer.php(101): XF\CssRenderer->renderTemplates(Array, Array, Array)
#6 src/XF/CssWriter.php(53): XF\CssRenderer->render(Array)
#7 css.php(30): XF\CssWriter->run(Array, 8, 1, 'cc759fcfe7f9d4b...')
#8 {main}
Request state
array(4) {
  ["url"] => string(153) "/css.php?css=public%3Anode_list.less%2Cpublic%3Ashare_controls.less%2Cpublic%3Aextra.less&s=8&l=1&d=1544862615&k=cc759fcfe7f9d4b63d6681c315886687608be5cd"
  ["referrer"] => string(22) "https://astrowhat.com/"
  ["_GET"] => array(5) {
    ["css"] => string(66) "public:node_list.less,public:share_controls.less,public:extra.less"
    ["s"] => string(1) "8"
    ["l"] => string(1) "1"
    ["d"] => string(10) "1544862615"
    ["k"] => string(40) "cc759fcfe7f9d4b63d6681c315886687608be5cd"
  }
  ["_POST"] => array(0) {
  }
}
Code:
Less_Exception_Chunk: ParseError: missing closing `)` in anonymous-file-866.less on line 1550, column 22 1548| } 1549| .node--forum.node--id17.node--read .node-icon { 1550| background-image: url('images/read.png') !important; 1551| background-repeat: no-repeat; 1552| background-position: center; 1553| opacity: 0.4; src/vendor/oyejorge/less.php/lib/Less/Parser.php:677
Generated by: Unknown account December 15, 2018 at 2:30 AM
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(363): Less_Parser->parse('// Note that th...')
#3 src/XF/CssRenderer.php(311): XF\CssRenderer->renderToCss('public:extra.le...', '// Note that th...')
#4 src/XF/CssRenderer.php(235): XF\CssRenderer->renderTemplate('public:extra.le...', NULL)
#5 src/XF/CssRenderer.php(101): XF\CssRenderer->renderTemplates(Array, Array, Array)
#6 src/XF/CssWriter.php(53): XF\CssRenderer->render(Array)
#7 css.php(30): XF\CssWriter->run(Array, 8, 1, 'cc759fcfe7f9d4b...')
#8 {main}
Request state
array(4) {
  ["url"] => string(153) "/css.php?css=public%3Anode_list.less%2Cpublic%3Ashare_controls.less%2Cpublic%3Aextra.less&s=8&l=1&d=1544862615&k=cc759fcfe7f9d4b63d6681c315886687608be5cd"
  ["referrer"] => string(22) "https://astrowhat.com/"
  ["_GET"] => array(5) {
    ["css"] => string(66) "public:node_list.less,public:share_controls.less,public:extra.less"
    ["s"] => string(1) "8"
    ["l"] => string(1) "1"
    ["d"] => string(10) "1544862615"
    ["k"] => string(40) "cc759fcfe7f9d4b63d6681c315886687608be5cd"
  }
  ["_POST"] => array(0) {
  }
}

Some of these errors may be related to me trying to use an actual image for read/unread instead of the FA ones.


The only add-ons I am using are these.
Screen Shot 2018-12-16 at 9.38.50 PM.png


I've noticed that the vendor oyejorge is in every stack trace... but not sure what that add-on is for, or if its's part of XF 2.0 as I've just updated my site to the 2.0 series
 
Last edited:
This appears to be bad css somewhere that you’ve added. Can you post a screenshot of style properties - header and navigation - header inner? I think it is
 
EXTRA.less is contaiins -
Code:
.xb-toggle-default .p-header-inner {background:images/sf.png}


.structItem--item {
    background-color: #1f1515 !important;
}
This is the only CSS I've done with the style.in any template.
I haven't found the header inner as a style property under the header & navigation.
I did find a Style Properties -> Header & Navigation -> Header/Logo row inner.
It contains this
Screen Shot 2018-12-16 at 10.10.01 PM.png
 
Should be:


Code:
.xb-toggle-default .p-header-inner {background: url("images/sf.png") no-repeat center center; }

Of course you may need to change repeat/positioning ect.
 

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.

Back