Title: Attachment Error Status
Last modified: October 10, 2016

---

# Attachment Error Status

 *  Resolved [deathbybots](https://wordpress.org/support/users/deathbybots/)
 * (@deathbybots)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/attachment-error-status/)
 * Hello,
 * The plugin seem to be logging the emails but I did get this error code under 
   the attachment log. I think it is minor but thought I would report it. Error 
   below
 * > Fatal error: Call to undefined function No3x\WPML\mime_content_type() in /home/
   > inkdprint/shop.3inkd.com/store/wp-content/plugins/wp-mail-logging/WPML_Utils.
   > php on line 83

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

 *  [No3x](https://wordpress.org/support/users/no3x/)
 * (@no3x)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/attachment-error-status/#post-8271387)
 * Thank you! Add a \ before mime_content_type in WPML_Utils.php on line 83 as quick
   fix. I will put this in the next release.
 *  [No3x](https://wordpress.org/support/users/no3x/)
 * (@no3x)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/attachment-error-status/#post-8272751)
 * I’v looked a bit more into this now. The problem is not related to the namespace
   so prefixing \ does not has impact.
    It’s related to your php version and installed
   extensions. Especially mime_magic. What php version are you running?
    -  This reply was modified 9 years, 8 months ago by [No3x](https://wordpress.org/support/users/no3x/).
    -  This reply was modified 9 years, 8 months ago by [No3x](https://wordpress.org/support/users/no3x/).
 *  Thread Starter [deathbybots](https://wordpress.org/support/users/deathbybots/)
 * (@deathbybots)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/attachment-error-status/#post-8272871)
 * That domain is currently running PHP 5.6
 *  [No3x](https://wordpress.org/support/users/no3x/)
 * (@no3x)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/attachment-error-status/#post-8272929)
 * Please check if the php module php_fileinfo is enabled.
 *  [No3x](https://wordpress.org/support/users/no3x/)
 * (@no3x)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/attachment-error-status/#post-8272963)
 * Let’s do it the other way around:
    the function is required to determine a file
   icon based on the file type for attachments. In the meantime I changed the plugin
   to avoid throwing an error and showing a generic file icon. This change is not
   available by a new version yet.
 * There are at least 2 options:
    1) You did not even know there are icons for attachemtns/
   you don’t care about attachment icons: ignore this error, wait for the next update
   of the plugin, inform me if the error gone after the next update. 2) Fix your
   server settings to support this kind of function
    -  This reply was modified 9 years, 8 months ago by [No3x](https://wordpress.org/support/users/no3x/).
 *  Thread Starter [deathbybots](https://wordpress.org/support/users/deathbybots/)
 * (@deathbybots)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/attachment-error-status/#post-8272975)
 * This error is not important to me at all. The plug in still works fine for what
   I use it for. However, thanks for looking into this.

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

The topic ‘Attachment Error Status’ is closed to new replies.

 * ![](https://ps.w.org/wp-mail-logging/assets/icon-256x256.jpg?rev=2562296)
 * [WP Mail Logging](https://wordpress.org/plugins/wp-mail-logging/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-mail-logging/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-mail-logging/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-mail-logging/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-mail-logging/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-mail-logging/reviews/)

 * 6 replies
 * 2 participants
 * Last reply from: [deathbybots](https://wordpress.org/support/users/deathbybots/)
 * Last activity: [9 years, 8 months ago](https://wordpress.org/support/topic/attachment-error-status/#post-8272975)
 * Status: resolved