[starlit]
never let them see you cry
Replying To 
Mar 29 10 (UTC)
penguinparity: Beware of Penguin (Default)
Thank you so much for this! I deleted the 4 lines of code in the style sheet you have listed, but I'm still getting this error when I try to compile:

Error compiling layer:

Compile error: line 1942, column 12: Can't find member 'locked' in CommentInfo
S2::NodeVarRef, S2/NodeVarRef.pm, 212
S2::NodeTerm, S2/NodeTerm.pm, 174
S2::NodeTerm, S2/NodeTerm.pm, 66
S2::NodeUnaryExpr, S2/NodeUnaryExpr.pm, 54
S2::NodeExpr, S2/NodeExpr.pm, 46
S2::NodeIfStmt, S2/NodeIfStmt.pm, 79
S2::NodeStmtBlock, S2/NodeStmtBlock.pm, 108
S2::NodeIfStmt, S2/NodeIfStmt.pm, 92
S2::NodeStmtBlock, S2/NodeStmtBlock.pm, 108
S2::NodeIfStmt, S2/NodeIfStmt.pm, 92
S2::NodeStmtBlock, S2/NodeStmtBlock.pm, 108
S2::NodeFunction, S2/NodeFunction.pm, 230
S2::Checker, S2/Checker.pm, 374
S2::Compiler, S2/Compiler.pm, 34


Context

1938: } else {
1939: $comments_count = get_plural_phrase($.entry.comments.count, "text_read_comments");
1940: }
1941: if ($.entry.comments.count > 0) {
1942: if (not $.entry.comments.locked) {
1943: $comments_count = """$comments_count — """;
1944: } else {
1945: $comments_count = """$comments_count""";
1946: }
Reply Form 
This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting
This page was loaded Jun 30th 2025, 11:36 pm GMT.