Title: Error Screen Options
Last modified: May 10, 2019

---

# Error Screen Options

 *  Resolved [walterjonesjr](https://wordpress.org/support/users/walterjonesjr/)
 * (@walterjonesjr)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/error-screen-options/)
 * When I try to change the number of items shown under screen options of MLA I 
   get the WordPress Error that my site is experiencing technical difficulties. 
   I turned on debugging in MLA settings and got the following:
 * 10-May-2019 02:06:32 UTC] PHP Fatal error: Uncaught Error: Cannot use object 
   of type Closure as array in /home/cmans/rms.cmans.org/wp-content/plugins/media-
   library-assistant/includes/class-mla-core.php:1496
    Stack trace: #0 /home/cmans/
   rms.cmans.org/wp-content/plugins/media-library-assistant/includes/class-mla-main.
   php(754): MLACore::mla_decode_wp_filter(‘set-screen-opti…’) #1 /home/cmans/rms.
   cmans.org/wp-includes/class-wp-hook.php(286): MLA::mla_set_screen_option_filter(
   false, ‘mla_entries_per…’, ’10’) #2 /home/cmans/rms.cmans.org/wp-includes/plugin.
   php(208): WP_Hook->apply_filters(false, Array) #3 /home/cmans/rms.cmans.org/wp-
   admin/includes/misc.php(658): apply_filters(‘set-screen-opti…’, false, ‘mla_entries_per…’,’
   10’) #4 /home/cmans/rms.cmans.org/wp-admin/admin.php(105): set_screen_options()#
   5 /home/cmans/rms.cmans.org/wp-admin/upload.php(10): require_once(‘/home/cmans/
   rms…’) #6 {main} thrown in /home/cmans/rms.cmans.org/wp-content/plugins/media-
   library-assistant/includes/class-mla-core.php on line

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

 *  Thread Starter [walterjonesjr](https://wordpress.org/support/users/walterjonesjr/)
 * (@walterjonesjr)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/error-screen-options/#post-11515833)
 * Figured it out.
 *  Plugin Author [David Lingren](https://wordpress.org/support/users/dglingren/)
 * (@dglingren)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/error-screen-options/#post-11515836)
 * Thanks for your report and for including the error stack trace; very helpful.
   Thanks as well for your persistence in “”figuring it out” – excellent news.
 * I would be very interested in any further details you can provide so I can make
   any MLA changes that might help other users in the future. I am traveling until
   next week, but I can investigate further on my return. Thanks for any help you
   can give me, and for your interest in the plugin.
 *  Plugin Author [David Lingren](https://wordpress.org/support/users/dglingren/)
 * (@dglingren)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/error-screen-options/#post-11536491)
 * As a precaution, I have added a test to the code in `mla_decode_wp_filter()` 
   to avoid PHP errors when encountering a non-array reference type. I do not plan
   any further changes unless I can get more information to reproduce this issue
   for further investigation.

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

The topic ‘Error Screen Options’ 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: [7 years, 1 month ago](https://wordpress.org/support/topic/error-screen-options/#post-11536491)
 * Status: resolved