grok / wordpress-plugin-scalable-vector-graphics

Scalable Vector Graphics are two-dimensional vector graphics, that can be both static and dynamic. This plugin allows your to easily use them on your site.
http://sterlinghamilton.com/scalable-vector-graphics-plugin
GNU General Public License v2.0
15 stars 5 forks source link

simplexml_load_file() parse Error #12

Open DanAlipes opened 6 years ago

DanAlipes commented 6 years ago

After upgrading to wordpress 4.9.8 I was getting a php parse error parser error : Start tag expected, '<' not found in to fix this I replaced $svg = simplexml_load_file( $svg ); with $svg = simplexml_load_file(html_entity_decode( $svg ), 'SimpleXMLElement', LIBXML_NOCDATA);

grok commented 6 years ago

Thanks @DanAlipes! I am going to take a look to see what's going on. I have multiple sites hosted in various places and they have been upgraded to PHP 7.2 and WordPress 4.9.8 and they are not showing this.

Could you state what version of PHP and what hosting company you are with?