Title: Fix for PHP Warnings
Last modified: July 25, 2018

---

# Fix for PHP Warnings

 *  Resolved [Sander van Dragt](https://wordpress.org/support/users/pacifika/)
 * (@pacifika)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/fix-for-php-warnings/)
 * Currently PHP warnings are generated because the get_option fallback is boolean
   false by default but EML expects an array for the \wpuxss_eml_lib_options (line
   462 of enhanced-media-library.php)
 * Currently:
    `$wpuxss_eml_lib_options = get_option('wpuxss_eml_lib_options');`
 * Please update this to:
    `$wpuxss_eml_lib_options = get_option('wpuxss_eml_lib_options',
   array());`
 * I’d be happy to provide a patch but I can’t find your source code on GitHub.

Viewing 1 replies (of 1 total)

 *  Plugin Author [webbistro](https://wordpress.org/support/users/webbistro/)
 * (@webbistro)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/fix-for-php-warnings/#post-10680055)
 * Hello [@pacifika](https://wordpress.org/support/users/pacifika/),
 * I am very sorry for not replying in due time!
 * Thank you for informing me and for your kind suggestion. Please try v2.7.1, it
   addresses the issues you described. Please let me know if you have any issue 
   with it.
 * Best,
    -Nadia

Viewing 1 replies (of 1 total)

The topic ‘Fix for PHP Warnings’ is closed to new replies.

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

## Tags

 * [bugfix](https://wordpress.org/support/topic-tag/bugfix/)

 * 1 reply
 * 2 participants
 * Last reply from: [webbistro](https://wordpress.org/support/users/webbistro/)
 * Last activity: [7 years, 9 months ago](https://wordpress.org/support/topic/fix-for-php-warnings/#post-10680055)
 * Status: resolved