Kunena 6.2.1 Released with module latest 6.0.4 and module kunena stats 6.0.4
The Kunena team has announce the arrival of Kunena 6.2.1 [K 6.2.1] which is now available for download as a native Joomla extension for J! 4.3.x/4.4.x/5.0.x. This version addresses most of the issues that were discovered in K 6.1.0 and issues discovered during the last development stages of K 6.1
Solved KunenaScssPhp\ScssPhp\Parser:
- Chico Gois
-
Topic Author
- Offline
- New Member
- Let´s go de pinóte again...
Less
More
3 weeks 6 days ago - 3 weeks 6 days ago #1
by Chico Gois
Atenciosamente,
Chico Gois
KunenaScssPhp\ScssPhp\Parser: was created by Chico Gois
Joomla 5.0
PHP 8.1
Kunena version:6.2.1
I have this error.
Thanks
PHP 8.1
Kunena version:6.2.1
I have this error.
Thanks
Code:
KunenaScssPhp\ScssPhp\Parser::registerPushedBlock(): Argument #1 ($b) must be of type KunenaScssPhp\ScssPhp\Block, ScssPhp\ScssPhp\Block\DirectiveBlock given, called in /home/u141892142/domains/mysite/public_html/libraries/kunena/External/scssphp/scssphp/src/Parser.php on line 879
Atenciosamente,
Chico Gois
Last edit: 3 weeks 6 days ago by Chico Gois.
The following user(s) said Thank You: TomasFC
Please Log in or Create an account to join the conversation.
3 weeks 4 days ago - 3 weeks 4 days ago #2
by xillibit
I don't provide support by PM, because this can be useful for someone else.
Replied by xillibit on topic KunenaScssPhp\ScssPhp\Parser:
Hello,
I have looked to it but i don't have this issue it don't goes at the line that he said
Do-you have set a custom.scss file ?
I have looked to it but i don't have this issue it don't goes at the line that he said
Do-you have set a custom.scss file ?
I don't provide support by PM, because this can be useful for someone else.
Last edit: 3 weeks 4 days ago by xillibit.
Please Log in or Create an account to join the conversation.
3 weeks 3 days ago #3
by TomasFC
Replied by TomasFC on topic KunenaScssPhp\ScssPhp\Parser:
Hello,
I don't want to hijack this thread, but I had this same error when upgrading from 6.2.0 to 6.2.1 while on Joomla 4.4 (without upgrading Joomla).
The same parser error giving a 500 error.
- I do have a custom.scss file.
- I also have a Gantry template.
What I noticed is that the @mixin I had in Kunena's custom.scss caused the issue when upgrading to K 6.2.1, without any changes to the file. I removed that @mixin portion and placed it in the Gantry template's custom.scss file for the entire site.
That solved the issue for me, as Gantry did parse the scss file properly, and while the mixin was just for the forum, it doesn't affect the rest of the site.
There could be a bug in the parser.
Hoping this helps,
Tomás
I don't want to hijack this thread, but I had this same error when upgrading from 6.2.0 to 6.2.1 while on Joomla 4.4 (without upgrading Joomla).
The same parser error giving a 500 error.
- I do have a custom.scss file.
- I also have a Gantry template.
What I noticed is that the @mixin I had in Kunena's custom.scss caused the issue when upgrading to K 6.2.1, without any changes to the file. I removed that @mixin portion and placed it in the Gantry template's custom.scss file for the entire site.
That solved the issue for me, as Gantry did parse the scss file properly, and while the mixin was just for the forum, it doesn't affect the rest of the site.
There could be a bug in the parser.
Hoping this helps,
Tomás
Please Log in or Create an account to join the conversation.
3 weeks 3 days ago #4
by Leen
L.v.d.A
Replied by Leen on topic KunenaScssPhp\ScssPhp\Parser:
If I search locally for mixin on my test site
I mainly come across it a lot in akeeba backup and gantry
so my comment/question is, are all extensions all Up to Date?
I mainly come across it a lot in akeeba backup and gantry
so my comment/question is, are all extensions all Up to Date?
L.v.d.A
Please Log in or Create an account to join the conversation.
3 weeks 3 days ago #5
by TomasFC
Replied by TomasFC on topic KunenaScssPhp\ScssPhp\Parser:
In my case, yes. All extensions are up to date and compatible with J4.4
Within the custom.scss file I added quite a bit of code. Amongst all that code was some @include and @mixin
I removed the portions of both to see if either was breaking when parsing, and the @include instructions were fine, but not the @mixin ...
So I removed all of that @mixin part of the code I had and the forum was back working. In order to have that back again (mainly color coding categories) I inserted that same code in the main template's custom scss file and it worked fine. Meaning all the color coded categories displayed how I wanted.
So from that I deduce that
Tomás
Within the custom.scss file I added quite a bit of code. Amongst all that code was some @include and @mixin
I removed the portions of both to see if either was breaking when parsing, and the @include instructions were fine, but not the @mixin ...
So I removed all of that @mixin part of the code I had and the forum was back working. In order to have that back again (mainly color coding categories) I inserted that same code in the main template's custom scss file and it worked fine. Meaning all the color coded categories displayed how I wanted.
So from that I deduce that
- The code was written properly and
- Probably, Kunena's parsing of the @mixin functionality has a bug, but it could be something other within my @mixin instructions, though I doubt it as it was quite straightforward.
Tomás
Please Log in or Create an account to join the conversation.
3 weeks 2 days ago #6
by xillibit
I don't provide support by PM, because this can be useful for someone else.
Replied by xillibit on topic KunenaScssPhp\ScssPhp\Parser:
Hello,
Is-it possible to send to me your file custom.scss ? Like i can try to reproduce it
Is-it possible to send to me your file custom.scss ? Like i can try to reproduce it
I don't provide support by PM, because this can be useful for someone else.
Please Log in or Create an account to join the conversation.
- Chico Gois
-
Topic Author
- Offline
- New Member
- Let´s go de pinóte again...
3 weeks 22 hours ago #7
by Chico Gois
Atenciosamente,
Chico Gois
Replied by Chico Gois on topic KunenaScssPhp\ScssPhp\Parser:
Apologies for the delay.
The problem apparently is with my template
The problem apparently is with my template
Atenciosamente,
Chico Gois
Please Log in or Create an account to join the conversation.
Time to create page: 0.292 seconds