When I go to content > media, I don't see anything and cannot upload images or make folders. There is the error: "Property 'mime_type' of argument 'item' of event onFetchMediaItems has a wrong item. Valid: string".
I found a possible solution could be to enable the fileinfo PHP extension. I did it but it didn't help. Php settings tab (on Joomla System information) says 'Fileinfo Available: No'. So, if it is enabled on cPanel, how to make it available to Joomla?
New update: I checked with the hosting provider and got this answer: "It is NOT possible to change PHP settings from the php.ini file at the server level. If you need to change the php.ini settings, create your own php.ini file in the directory where the script that requires such changes is located."
I created php.ini file in Joomla root folder, added this line: extension = fileinfo.so
It didn't help. Any ideas?
fileinfodid resolve the issue. Have you confirmed that the` fileinfo` is actually available by going into System Information and then the PHP Information tab of your Joomla installation?