Title: Numerous Undefined Errors
Last modified: August 20, 2016

---

# Numerous Undefined Errors

 *  Resolved [pha3z](https://wordpress.org/support/users/pha3z/)
 * (@pha3z)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/numerous-undefined-errors/)
 * It’s nice to be able to turn on error display on a server while developing or
   to check stuff if something breaks. But Combine CSS is generating numerous NOTICEs.
   Here are some examples:
 * Notice: Undefined index: ignore_files in /var/www/armstrong/wp-content/plugins/
   combine-css/classes/combine-css-class.php on line 66
    Notice: Undefined index:
   add_gf_css in /var/www/armstrong/wp-content/plugins/combine-css/classes/combine-
   css-class.php on line 266 Notice: Undefined offset: 2 in /var/www/armstrong/wp-
   content/plugins/combine-css/classes/combine-css-class.php on line 235 Notice:
   Undefined index: in /var/www/armstrong/wp-content/plugins/combine-css/classes/
   combine-css-class.php on line 280
 * I complimented you on your exceptional code before. The architecture is very 
   good, but you should be handling undefined variables instead of letting them 
   throw notices and go on.
 * [http://wordpress.org/extend/plugins/combine-css/](http://wordpress.org/extend/plugins/combine-css/)

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

 *  Thread Starter [pha3z](https://wordpress.org/support/users/pha3z/)
 * (@pha3z)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/numerous-undefined-errors/#post-3582033)
 * I thought I’d add that this problem also exists in Combine JS, which I’ve started
   using now.
 *  Thread Starter [pha3z](https://wordpress.org/support/users/pha3z/)
 * (@pha3z)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/numerous-undefined-errors/#post-3582086)
 * You probably haven’t been seeing the NOTICES yourself because you are developing
   in WordPress Production environment instead of Development environment. To develop
   in WordPress Development environment with E_ALL error_reporting enabled, you 
   need to add this line to your wp-config.php:
 * define(‘WP_DEBUG’, true);
 * That line will cause WordPress to enable ALL errors to be output including NOTICES.
   Automattic officially recommends using WP_DEBUG when developing for WordPress.
 *  Plugin Author [timmcdaniels](https://wordpress.org/support/users/timmcdaniels/)
 * (@timmcdaniels)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/numerous-undefined-errors/#post-3582101)
 * Hi pha3z, I will be able to resolve these notices in the next release. It should
   be ready over the weekend. Thanks for your patience.
 * Tim
 *  Thread Starter [pha3z](https://wordpress.org/support/users/pha3z/)
 * (@pha3z)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/numerous-undefined-errors/#post-3582125)
 * Thanks Tim.
 * I’ve got another question. How difficult would it be to add a button to the WordPress
   admin bar that lets you clear the combined files from any page? And also what
   about a button to enable/disable the plugin from the admin bar as well?
 * Right now, when I make changes to any given CSS file, I have to go to the plugins
   page and deactivate and reactivate the plugin to get the combined CSS sheet to
   reflect the changes. Maybe I’m missing somtehing?
 *  Thread Starter [pha3z](https://wordpress.org/support/users/pha3z/)
 * (@pha3z)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/numerous-undefined-errors/#post-3582131)
 * Tim,
 * Any progress?
 *  Plugin Author [timmcdaniels](https://wordpress.org/support/users/timmcdaniels/)
 * (@timmcdaniels)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/numerous-undefined-errors/#post-3582133)
 * Sorry for the delay. The new version has been committed. Please let me know if
   you notice any more notices/warnings in the error log or anything else.
 *  [calik1d](https://wordpress.org/support/users/calik1d/)
 * (@calik1d)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/numerous-undefined-errors/#post-3582135)
 * Hi, I updated to the newest plugin version but I’m still getting error messages.
   This just started happening today before I even upgraded to the newest plugin
   version. My wordpress version is 3.5.1
 * I’m getting an error message for both bullet-proof security and combine-css whenever
   I view a page.
 * Can you please assist me on how to fix this problem? Thanks.
 *  Thread Starter [pha3z](https://wordpress.org/support/users/pha3z/)
 * (@pha3z)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/numerous-undefined-errors/#post-3582136)
 * calik1d,
 * Can you please post specific error messages?
 * The issue I was discussing with Tim pertained to Notices that appear while running
   WordPress in debug mode.
 * I just tested and the notifications are resolved. I doubt you’re getting the 
   same errors, calik1d. You should probably be posting your issue as a new thread.
 * – Jim
 *  Thread Starter [pha3z](https://wordpress.org/support/users/pha3z/)
 * (@pha3z)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/numerous-undefined-errors/#post-3582137)
 * Tim,
 * The notifications are gone, but now the plugin is throwing out a blank stylesheet.
   I’m going to try to diagnose the problem. I checked the source on the generated
   HTML and I see this line:
    <link rel=’stylesheet’ id=’combine-css’ href=’[http://armstrongtheme.com/wp-content/plugins/combine-css/css.php?token=e82ca481eef6bbe8ec4fc07dc9dc8c42&ver=0.5&#8242](http://armstrongtheme.com/wp-content/plugins/combine-css/css.php?token=e82ca481eef6bbe8ec4fc07dc9dc8c42&ver=0.5&#8242);
   type=’text/css’ media=’all’ />
 * So I try to follow that link and I get a blank sheet.
 * And of course, my whole web page looks completely unstyled as a result. This 
   problem never occurred before.
 * I’ll see if I can get you more information.
 *  Thread Starter [pha3z](https://wordpress.org/support/users/pha3z/)
 * (@pha3z)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/numerous-undefined-errors/#post-3582138)
 * Tim,
 * I can’t seem to find anything else useful. Where would I actually look on disk
   to find the generated stylesheet? Should it be showing up in combine-css/tmp ?
   The only thing in there is a .dat file.
 * Without diving into the code, I’m not sure where to go to figure out what the
   problem is.
 * – Jim
 *  Plugin Author [timmcdaniels](https://wordpress.org/support/users/timmcdaniels/)
 * (@timmcdaniels)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/numerous-undefined-errors/#post-3582139)
 * Jim,
 * I just released version 0.6. If your issue continues to occur, please select 
   the Debug option in the Settings and send me the output in the error log. Please
   send it to [tim@weareconvoy.com](https://wordpress.org/support/topic/numerous-undefined-errors/tim@weareconvoy.com?output_format=md).
   I’m resolving this topic; please start another topic if the issue persists. Also,
   the combined files are stored in the uploads/combine-css directory.
 * Thanks,
 * Tim

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

The topic ‘Numerous Undefined Errors’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/combine-css_202020.svg)
 * [Combine CSS](https://wordpress.org/plugins/combine-css/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/combine-css/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/combine-css/)
 * [Active Topics](https://wordpress.org/support/plugin/combine-css/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/combine-css/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/combine-css/reviews/)

 * 11 replies
 * 3 participants
 * Last reply from: [timmcdaniels](https://wordpress.org/support/users/timmcdaniels/)
 * Last activity: [13 years, 1 month ago](https://wordpress.org/support/topic/numerous-undefined-errors/#post-3582139)
 * Status: resolved