Fatal error: Call to undefined function get_attachment_icon()

I got this error when I try to upload an attachment image on one of my Wordpress blog :

Fatal error: Call to undefined function get_attachment_icon() in /public_html/mywordpressdomain.com/wp-admin/inline-uploading.php on line 263

This wordpress blog installed on WP 2.0.3 version, and I assumed that this error could be happen to all 2.0.x version.

I tried to find the get_attachment_icon function on wp-admin/admin-functions.php file and found that the function not support the non image extensions to be uploaded on the uploading file directory (wp-content/uploads).

To solve the problem, just go to your uploaded file directory (default is wp-content/uploads) and try find the non image file extension there (ex: html. php, etc). And then erase them.

Actually this is not a Wordpress bug, but WP didn’t escape the functions anyway.

Hope it works for you!



Thank you for reading this post. You can now Leave A Comment (0) or Leave A Trackback.

  

Related Reading:


Subscribe without commenting


Leave a Reply

Note: Any comments are permitted only because the site owner is letting you post, and any comments will be removed for any reason at the absolute discretion of the site owner.

On discussion, feel free to join:
  • Verified seller cvv-dumps-track-bank login-wu transfer for sale !
    [CENTER][SIZE="4"]Welcome Customers[/SIZE][/CENTER] Image: http://i828.photobucket.com/albums/zz207/blusky4/nh.gif Selling Dumps + pin Selling Dump+pin all of the dumps are getting checked for validat. […]
  • selling cvv fresh and good dumps-track-bank login-paypal-transfer wu
    Selling Dumps + pin Selling Dump+pin all of the dumps are getting checked for validaty before we sell them. If there is something wrong witj tje dump, we will replace it with no questions. Minimum ord. […]
  • sell Dumps for work cashout ATM
    [CENTER][SIZE="4"]Welcome Customers[/SIZE][/CENTER] Image: http://i828.photobucket.com/albums/zz207/blusky4/nh.gif I and my team are back to work..with weekly fresh EU & USA dumps and CCs, 201 + 101 M. […]
  • Verified seller cvv-dumps-track-bank login-wu transfer for sale !
    [CENTER][SIZE="4"]Welcome Customers[/SIZE][/CENTER] Image: http://i828.photobucket.com/albums/zz207/blusky4/nh.gif Selling Dumps + pin Selling Dump+pin all of the dumps are getting checked for validat. […]
  • selling cvv fresh and good dumps-track-bank login-paypal-transfer wu
    Selling Dumps + pin Selling Dump+pin all of the dumps are getting checked for validaty before we sell them. If there is something wrong witj tje dump, we will replace it with no questions. Minimum ord. […]
  • sell Dumps for work cashout ATM
    [CENTER][SIZE="4"]Welcome Customers[/SIZE][/CENTER] Image: http://i828.photobucket.com/albums/zz207/blusky4/nh.gif I and my team are back to work..with weekly fresh EU & USA dumps and CCs, 201 + 101 M. […]
  • Verified seller cvv-dumps-track-bank login-wu transfer for sale !
    [CENTER][SIZE="4"]Welcome Customers[/SIZE][/CENTER] Image: http://i828.photobucket.com/albums/zz207/blusky4/nh.gif Selling Dumps + pin Selling Dump+pin all of the dumps are getting checked for validat. […]
  • selling cvv fresh and good dumps-track-bank login-paypal-transfer wu
    Selling Dumps + pin Selling Dump+pin all of the dumps are getting checked for validaty before we sell them. If there is something wrong witj tje dump, we will replace it with no questions. Minimum ord. […]
  • sell Dumps for work cashout ATM
    [CENTER][SIZE="4"]Welcome Customers[/SIZE][/CENTER] Image: http://i828.photobucket.com/albums/zz207/blusky4/nh.gif I and my team are back to work..with weekly fresh EU & USA dumps and CCs, 201 + 101 M. […]
  • Verified seller cvv-dumps-track-bank login-wu transfer for sale !
    [CENTER][SIZE="4"]Welcome Customers[/SIZE][/CENTER] Image: http://i828.photobucket.com/albums/zz207/blusky4/nh.gif Selling Dumps + pin Selling Dump+pin all of the dumps are getting checked for validat. […]