Title: Getting Exception when adding file types from search
Last modified: June 18, 2018

---

# Getting Exception when adding file types from search

 *  Resolved [zxurian](https://wordpress.org/support/users/zxurian/)
 * (@zxurian)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/getting-exception-when-adding-file-types-from-search/)
 * I used the “SEarch Known Types” button, found the extensions I was looking for,
   selected them, then under Bulk Actions picked the “Add Selected Types”. After
   clicking go, the following exception occured:
 * `Fatal error: Uncaught Error: Call to undefined method MLASettings::_process_optional_upload_mime()
   in ~/html/wp-content/plugins/media-library-assistant/includes/class-mla-settings-
   upload-tab.php:371 Stack trace: #0 ~/html/wp-content/plugins/media-library-assistant/
   includes/class-mla-settings.php(1488): MLASettings_Upload::mla_compose_upload_tab()#
   1 ~/html/wp-includes/class-wp-hook.php(286): MLASettings::mla_render_settings_page('')#
   2 ~/html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters('', Array)#
   3 ~/html/wp-includes/plugin.php(453): WP_Hook->do_action(Array) #4 ~/html/wp-
   admin/admin.php(224): do_action('settings_page_m...') #5 ~/html/wp-admin/options-
   general.php(10): require_once('/var/www/unikav...') #6 {main} thrown in ~/wp-
   content/plugins/media-library-assistant/includes/class-mla-settings-upload-tab.
   php on line 371`
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fgetting-exception-when-adding-file-types-from-search%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [David Lingren](https://wordpress.org/support/users/dglingren/)
 * (@dglingren)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/getting-exception-when-adding-file-types-from-search/#post-10412600)
 * Thanks for your report and for including the complete text and stack trace; very
   helpful. I was able to reproduce your problem, which comes from a defect in the
   current MLA version. Thank you for alerting me to this MLA defect!
 * I have uploaded a new MLA Development Version dated 20180601 that contains a 
   fix. To get the Development Version you can follow the instructions in this earlier
   topic:
 * [PHP Warning on media upload with Polylang](https://wordpress.org/support/topic/php-warning-on-media-upload-with-polylang/#post-9625341)
 * It would be great if you can install the Development Version and let me know 
   how it works for you.
 * If you don’t install the Development version you can click the “Select” rollover
   link for each individual item you want to install. However, this action generates
   a PHP Notice message which you may see depending on your error logging configuration.
   I have fixed that problem as well.
 * I will leave this topic unresolved for now. Please let me know if you try the
   Development Version. Thanks again for your help and for your interest in the 
   plugin.
 *  Plugin Author [David Lingren](https://wordpress.org/support/users/dglingren/)
 * (@dglingren)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/getting-exception-when-adding-file-types-from-search/#post-10498806)
 * I have released MLA version 2.75, which contains the fix for this topic. I am
   marking the topic resolved, but please update it if you have any problems or 
   further questions regarding the new version.

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

The topic ‘Getting Exception when adding file types from search’ 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/)

 * 2 replies
 * 2 participants
 * Last reply from: [David Lingren](https://wordpress.org/support/users/dglingren/)
 * Last activity: [7 years, 10 months ago](https://wordpress.org/support/topic/getting-exception-when-adding-file-types-from-search/#post-10498806)
 * Status: resolved