Title: Undefined offset: 1 &#8230;
Last modified: August 30, 2016

---

# Undefined offset: 1 …

 *  Resolved [heiland](https://wordpress.org/support/users/heiland/)
 * (@heiland)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/undefined-offset-1-4/)
 * When I edit pages, posts or attachments I get notices like…
    Undefined offset:
   1 in …plugins/media-library-assistant/includes/class-mla-mime-types.php on line
   1732
 * [https://wordpress.org/plugins/media-library-assistant/](https://wordpress.org/plugins/media-library-assistant/)

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

 *  Plugin Author [David Lingren](https://wordpress.org/support/users/dglingren/)
 * (@dglingren)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/undefined-offset-1-4/#post-6864532)
 * Thank you for your report. The message is generated as MLA is loading a file 
   with MIME type definitions, and it indicates some kind of damage in the file.
   This happened to one other MLA user over a year ago but I was never able to identify
   the specific cause of the problem.
 * I have uploaded a new MLA Development Version with some code that writes an entry
   to the error log and ignores the damaged line(s). The error log entry will indicate
   what the damaged line contains.
 * If you install the Development Version (or re-install the current official version)
   you will get a fresh copy of the file and the problem may just go away. If not,
   the error log will help me identify the problem. To get the Development Version,
   follow the instructions in this earlier topic:
 * [Shortcode not working in (special) widget](https://wordpress.org/support/topic/shortcode-not-working-in-special-widget?replies=3#post-7753687)
 * If you still have trouble after updating to the Development Version, let me know
   what message(s) are written to the error log. You can get easy access to the 
   error log by following the debug instructions in this earlier topic:
 * [plugin setting page is blank with WP 4.4](https://wordpress.org/support/topic/plugin-setting-page-is-blank-with-wp-44?replies=11#post-7781085)
 * It would be great if you can try the Development Version and let me know if the
   fix works for you. Thanks for your help and your patience.
 *  Thread Starter [heiland](https://wordpress.org/support/users/heiland/)
 * (@heiland)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/undefined-offset-1-4/#post-6864640)
 * Thank you for the quick answer. With the development version the problem seems
   to be fixed. I will check if everything works as expected.
 *  Plugin Author [David Lingren](https://wordpress.org/support/users/dglingren/)
 * (@dglingren)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/undefined-offset-1-4/#post-6864662)
 * I have released MLA version 2.22, which contains the fix for this issue. I am
   marking the topic resolved, but please update it if you have any other problems
   with the MIME type support. Thanks again for alerting me to the problem and for
   your interest in the plugin.

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

The topic ‘Undefined offset: 1 …’ is closed to new replies.

 * ![](https://ps.w.org/media-library-assistant/assets/icon-256x256.png?rev=973502)
 * [Media Library Assistant](https://wordpress.org/plugins/media-library-assistant/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/media-library-assistant/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/media-library-assistant/)
 * [Active Topics](https://wordpress.org/support/plugin/media-library-assistant/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/media-library-assistant/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/media-library-assistant/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [David Lingren](https://wordpress.org/support/users/dglingren/)
 * Last activity: [10 years, 5 months ago](https://wordpress.org/support/topic/undefined-offset-1-4/#post-6864662)
 * Status: resolved