You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is a problem of compatibility with php 7.4, it is in the file: plugins\dmitrybykov\htmlminify\vendor\matthiasmullie\minify\src\CSS.php
The problem is in the line 528 in the implode, in php 7.4 you need to change the position of the glue element and the array, so change: '/(?<=[: ])('.implode(array_keys($colors), '|').')(?=[; }])/i',
for: '/(?<=[: ])('.implode('|', array_keys($colors)).')(?=[; }])/i',
The text was updated successfully, but these errors were encountered:
There is a problem of compatibility with php 7.4, it is in the file: plugins\dmitrybykov\htmlminify\vendor\matthiasmullie\minify\src\CSS.php
The problem is in the line 528 in the implode, in php 7.4 you need to change the position of the glue element and the array, so change: '/(?<=[: ])('.implode(array_keys($colors), '|').')(?=[; }])/i',
for: '/(?<=[: ])('.implode('|', array_keys($colors)).')(?=[; }])/i',
The text was updated successfully, but these errors were encountered: