tbela99/gzip

0 Argument 1 passed to TBela\CSS\RuleList::setChildren() must be of the type array

aminweb2 opened this issue · 10 comments

0 Argument 1 passed to TBela\CSS\RuleList::setChildren() must be of the type array, null given, called in /plugins/system/gzip/vendor/tbela99/css/src/TBela/CSS/Element.php on line 60

$this->{'set'.$key}($value);

how solve this problem?

I am working on it

I am working on it

Thank you @tbela99

can you try this branch and let me know if it works?
https://github.com/tbela99/gzip/tree/joomla4_compat

thanks

can you try this branch and let me know if it works?
https://github.com/tbela99/gzip/tree/joomla4_compat

thanks

I teste on Joomla 3.10.1
error: 0 Argument 1 passed to TBela\CSS\Element\RuleList::setChildren() must be of the type array, null given, called in plugins/system/gzip/vendor/tbela99/css/src/TBela/CSS/Element.php on line 58

This problem occurs when I enable the " Process CSS" option.

can you provide the css file involved?
Thanks

and the php version you are using as well please

and the php version you are using as well please

7.3.29

can you provide the css file involved?
Thanks

I do not know what you mean

I mean you provide the css file that triggers this error

can you test this branch again and let me know if your issue is addressed?
https://github.com/tbela99/gzip/tree/joomla4_compat

thanks

I will reopen if you still have an issue