• Resolved justinpixler

    (@justinpixler)


    Fatal error: Call to undefined function get_post_mime_types() in /home/xxxxxx/public_html/noonecaresaboutwhatyoudo.com/wp-admin/includes/media.php on line 1157

    that’s what i see when i try to insert the media into my posts. i know they’re still uploading because i can see them in media>library, i just can’t use them.

    i use the theme videographex, just before this happened my friend that does some simple coding for me installed the postmash plugin, but he doesn’t think he edited anything that would’ve caused this.

    i really appreciate any help. thanks.

    -justin

Viewing 3 replies - 1 through 3 (of 3 total)
  • Riversatile

    (@riversatile)

    Hi,

    Check the file called “wp-admin\includes\post.php”, you must find a line :
    function get_post_mime_types()

    If you don’t find this line, this mean there is no function called “get_post_mime_types” !!! Otherwise, try to overwrite the file “wp-admin\includes\post.php” to solve the issue.

    Thread Starter justinpixler

    (@justinpixler)

    thanks for the quick reply. can you tell me exactly where in the script that line is supposed to go? we haven’t been able to make it work.

    Thread Starter justinpixler

    (@justinpixler)

    nevermind, i was able to find it here: http://svn.automattic.com/wordpress/trunk/wp-admin/includes/post.php

    it’s working again, thanks!

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Cannot insert media, error message’ is closed to new replies.