Media uploads error

Is your website set to load over https? So https://example.com and not http://example.com? The link to google fonts is over http which will cause an error when your site loads securely over https. There are a few places the reference to google fonts could be: try header.php, functions.php and your stylesheet(s). Wherever you find a … Read more

Cannot upload png photo files into media library. I get a ‘Could not insert post into the database’

there’s a bunch of possible reasons for your problem. I would check the following: Make sure that files you’re uploading are allowed by WordPress https://codex.wordpress.org/Uploading_Files It’s possible that you’re trying to upload files bigger than allowed by your PHP configuration – check upload_max_filesize and post_max_size settings in php.ini. If you do not have access to … Read more

How to allow .ged file uploads

you need to allow them to be uploaded in your media files. you can add following code to your themes functions.php and it should work. function my_mime_types($mime_types){ $mime_types[‘ged’] = ‘application/octet-stream’; return $mime_types; } add_filter(‘upload_mimes’, ‘my_mime_types’, 1, 1); there is more information about adding new mime types in WP here: https://wpsmackdown.com/add-remove-filetypes-wordpress-media-library/#add-filetypes Here is an info about … Read more