Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Seeing ´Undefined property: Less_Tree_Operation::$value with v5.1.1 on PHP 8.3 #114

Open
kdambekalns opened this issue Sep 27, 2024 · 1 comment
Labels
Type: Question Ask for help, and other questions

Comments

@kdambekalns
Copy link

I see

Warning: Undefined property: Less_Tree_Operation::$value in /…/wikimedia/less.php/lib/Less/Tree/Dimension.php line 79

Fun fact: At this point $other is no the expected Less_Tree_Dimension but an instance of Less_Tree_Operation (type safety would be great).

I would love to help debugging this, but I can't even tell if this can be caused by faulty LESS input (it should not lead to such a warning, though) or is a programmatic error.

@Krinkle
Copy link
Member

Krinkle commented Sep 27, 2024

@kdambekalns

We'll a reduced example input that reproduces the error to investigate.

I suggest comparing also to upstream Less.js at http://lesscss.org/less-preview/, to see how the same input behaves there.

@Krinkle Krinkle added the Type: Question Ask for help, and other questions label Sep 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Question Ask for help, and other questions
Development

No branches or pull requests

2 participants