Duplicate StyleProperty error when importing styles

Newsman

Member
Affected version
2.3 Beta 7
Hey there,

I use this command to import a style:

php cmd.php xf-designer:import 'Basic'

This worked flawlessly until updating to the newest Beta (7); now I receive this error

In StyleProperty.php line 174:

Argument 2 passed to XF\DesignerOutput\StyleProperty::setPropertyValue() must be of the type string, array given

Is this anything critical I got to take care of?

Cheers!
 

Fixed in Beta 8
 
I think you can check the specific style properties being imported and ensure they are correctly formatted as strings rather than arrays.
 
Top Bottom