Topic on Project:Support desk

Jump to navigation Jump to search
Sadajun916 (talkcontribs)

When I upload image to my wiki,mediawiki says:Error from line 160 of /includes/libs/mime/XmlTypeCheck.php: Class 'XMLReader' not found

phpinfo says --enable-xmlreader=shared

I use shared hosting.

How can I resolve this problem?

Bawolff (talkcontribs)

You need to contact your hosting provider. If your hosting provider refuses to fix it, you will need to find a different hosting provider.


XMLReader is enabled by default in PHP, so its odd your hosting provider wouldn't have it enabled.

Sadajun916 (talkcontribs)

I contacted my hosting provider and they say XMLReader can't use in php 7.3,so I'll find different hosting provider. Thank you for your help.

Reply to "I can't upload any image."