BeAPI/acf-svg-icon

Parse error: syntax error, unexpected 'version'

lucasjulian opened this issue · 1 comments

Hi ;)

I encountered the folowing error when I upload an SVG (downloaded from flaticon.com) when I try to edit my ACF fields in the BO.

Parse error: syntax error, unexpected 'version' (T_STRING) in /app/public/wp-content/uploads/2019/10/idea.svg on line 1

My SVG start like below:
Capture

Did I miss something ? It's strange because I success to add an SVG before, but not right now :(

Probably fixed on these commit : f0fc1f5