Title: Undefined variable in autoptimizeStyles class
Last modified: August 24, 2016

---

# Undefined variable in autoptimizeStyles class

 *  Resolved [Jeffrey Schutzman](https://wordpress.org/support/users/jeffpyebrookcom/)
 * (@jeffpyebrookcom)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/undefined-variable-in-autoptimizestyles-class/)
 * Doing some testing on the plugin and am getting a minor error that you might 
   want to address.
 * Looks like the private class variable does not have an underscore, but the reference
   does have an underscore.
 * error type: [8] Undefined property: autoptimizeStyles::$already_minified file:
   D:\web-site-dev\bling-transfers.com\wp-content\plugins\autoptimize\classes\autoptimizeStyles.
   php line: 329
 * [02-Apr-2015 12:52:04 UTC] Debug Trace:
    ……autoptimize.php at line 265 function
   n/a () ….n/a at line n/a function n/a (?) …..functions.php at line 3269 function
   n/a () ……n/a at line n/a function n/a (0=) …….plugin.php at line 496 function
   n/a (?) ……..load.php at line 613 function n/a (0=shutdown) ………n/a at line n/a
   function n/a ()
 * [https://wordpress.org/plugins/autoptimize/](https://wordpress.org/plugins/autoptimize/)

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

 *  Plugin Author [Frank Goossens](https://wordpress.org/support/users/futtta/)
 * (@futtta)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/undefined-variable-in-autoptimizestyles-class/#post-5971870)
 * Absolutely right Jeff, this [has already been solved on trunk](https://github.com/futtta/autoptimize/commit/33ef6bee17ea3e3b0507102a78b3dafb0d3e60af)
   and will arrive (along with other bugfixes & minor improvements) in autoptimize
   1.9.3.
 * If you want you can test-drive “1.9.3-pre” by [downloading the zipfile from wordpress.org](https://downloads.wordpress.org/plugin/autoptimize.zip)
   or [from github](https://github.com/futtta/autoptimize/archive/master.zip) (they
   should be identical).
 * Kind regards,
    frank
 *  Thread Starter [Jeffrey Schutzman](https://wordpress.org/support/users/jeffpyebrookcom/)
 * (@jeffpyebrookcom)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/undefined-variable-in-autoptimizestyles-class/#post-5971875)
 * great!
 * i’m happy to work from the github version and report any issues i find there.
 * Currently giving the plugin a test on a couple of very jquery heavy sites commerce,
   they even have some questionable css. So far it looks good.
 * Thanks for the work.
 * -jeff

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

The topic ‘Undefined variable in autoptimizeStyles class’ 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/)

## Tags

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

 * 2 replies
 * 2 participants
 * Last reply from: [Jeffrey Schutzman](https://wordpress.org/support/users/jeffpyebrookcom/)
 * Last activity: [11 years, 2 months ago](https://wordpress.org/support/topic/undefined-variable-in-autoptimizestyles-class/#post-5971875)
 * Status: resolved