• Resolved E. Marten

    (@emarten)


    For me the medialibrary grid view (/wp-admin/upload.php?mode=grid) is not showing up.
    Network analysis shows up this:

    <br />
    <b>Warning</b>: simplexml_load_file(): [**].svg:1: parser error : Start tag expected, ‘<‘ not found in <b>[**]/wp-content/plugins/safe-svg/safe-svg.php</b> on line <b>370</b><br />
    <br />
    <b>Warning</b>: simplexml_load_file(): ???? in <b>[**]/wp-content/plugins/safe-svg/safe-svg.php</b> on line <b>370</b><br />
    <br />
    <b>Warning</b>: simplexml_load_file(): ^ in <b>[**]/wp-content/plugins/safe-svg/safe-svg.php</b> on line <b>370</b><br />

    Just silencing the error helps:
    Line 370: $svg = @simplexml_load_file( $svg );

    But I am sure the dimensions may be important for sth?!?

    May it be BOM? I am exporting from latest illustrator.

    Greets Eric

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter E. Marten

    (@emarten)

    Okay, just found out there was an empty svg (filesize 0) in my library (i dont know why).
    Deleting this helped.

    Plugin Contributor Daryll Doyle

    (@enshrined)

    Hi @emarten,

    Thanks for the update and I’m glad you worked it out!

    I’ll add some more error checking for this so the error doesn’t occur if it comes across an empty file ??

    Cheers,
    Daryll

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Media Library Grid-View not showing’ is closed to new replies.