Title: PHP Notice: Undefined variable: med5list
Last modified: October 7, 2018

---

# PHP Notice: Undefined variable: med5list

 *  Resolved [evanre](https://wordpress.org/support/users/evanre/)
 * (@evanre)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/php-notice-undefined-variable-med5list/)
 * Hi.
    local env: PHP 7.2.9-1+ubuntu18.04.1 (Homestead v6.3.0) WordPress: 4.9.8
   Autoptimize: 2.4.0
 *     ```
       [07-Oct-2018 12:02:58 UTC] PHP Notice:  Undefined variable: med5list in /home/vagrant/code/homeswithsoul/wp-content/plugins/autoptimize/classes/autoptimizeStyles.php on line 644
       [07-Oct-2018 12:02:58 UTC] PHP Stack trace:
       [07-Oct-2018 12:02:58 UTC] PHP   1. shutdown_action_hook() /home/vagrant/code/homeswithsoul/wp-includes/load.php:0
       [07-Oct-2018 12:02:58 UTC] PHP   2. do_action() /home/vagrant/code/homeswithsoul/wp-includes/load.php:679
       [07-Oct-2018 12:02:58 UTC] PHP   3. WP_Hook->do_action() /home/vagrant/code/homeswithsoul/wp-includes/plugin.php:453
       [07-Oct-2018 12:02:58 UTC] PHP   4. WP_Hook->apply_filters() /home/vagrant/code/homeswithsoul/wp-includes/class-wp-hook.php:310
       [07-Oct-2018 12:02:58 UTC] PHP   5. wp_ob_end_flush_all() /home/vagrant/code/homeswithsoul/wp-includes/class-wp-hook.php:286
       [07-Oct-2018 12:02:58 UTC] PHP   6. ob_end_flush() /home/vagrant/code/homeswithsoul/wp-includes/functions.php:3743
       [07-Oct-2018 12:02:58 UTC] PHP   7. autoptimizeMain->end_buffering() /home/vagrant/code/homeswithsoul/wp-includes/functions.php:3743
       [07-Oct-2018 12:02:58 UTC] PHP   8. autoptimizeStyles->minify() /home/vagrant/code/homeswithsoul/wp-content/plugins/autoptimize/classes/autoptimizeMain.php:435
       ```
   

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

 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/php-notice-undefined-variable-med5list/#post-10757302)
 * [https://github.com/futtta/autoptimize/commit/27078dee669114ea51a9b10f0a73c076454f34b0](https://github.com/futtta/autoptimize/commit/27078dee669114ea51a9b10f0a73c076454f34b0)
 * thanks evanre, this will go in 2.4.1 too 🙂
 *  Thread Starter [evanre](https://wordpress.org/support/users/evanre/)
 * (@evanre)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/php-notice-undefined-variable-med5list/#post-10757310)
 * Super-fast answer, thanks!
 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/php-notice-undefined-variable-med5list/#post-10757320)
 * typo’s are easy fixes, it’s nice to have those (well, when compared to complex
   stuff such as mbstring stuff breaking some HTML or iconv sometimes slowing the
   process down to a crawl) 😉

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

The topic ‘PHP Notice: Undefined variable: med5list’ is closed to new replies.

 * ![](https://ps.w.org/autoptimize/assets/icon-256X256.png?rev=2211608)
 * [Autoptimize](https://wordpress.org/plugins/autoptimize/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/autoptimize/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/autoptimize/)
 * [Active Topics](https://wordpress.org/support/plugin/autoptimize/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/autoptimize/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/autoptimize/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * Last activity: [7 years, 8 months ago](https://wordpress.org/support/topic/php-notice-undefined-variable-med5list/#post-10757320)
 * Status: resolved