Error in files section with SVG files

Dear all,

I’m having a problem with the files section in the blueprint of a page. An error occurs after uploading SVG files:

The section “files” could not be loaded: Call to undefined function Kirby\Image\simplexml_load_string()

The file is rendered in the frontend when used in a block and there’s no error with the file in a regular files field. It probably has to do with the server configuration, because I’ve never had the problem in other server environments… But I don’t know exactly what the problem is.

Can somebody help?

Thanks in advance!

What is your Kirby version?

The version is 3.4.4

Looks like the SimpleXml PHP extension is missing from you PHP installation.

Okay, thanks for the answer. I’ll tell the server provider to check for the installation of the extension.