retlehs/roots — Issue #171: Notice: Use of undefined constant __DIR__ - assumed '__DIR__' in /Applications/MAMP/htdocs/bling/wp-content/themes/bling/inc/roots-htaccess.php on line 77
Author: kindermix
Created: 2011-11-09 20:07:28+00:00
State: open

After i activate theme and set up Utility Navigation - on the top of wordpress admin bar i see this error:
"Notice: Use of undefined constant __DIR__ - assumed '__DIR__' in /Applications/MAMP/htdocs/bling/wp-content/themes/bling/inc/roots-htaccess.php on line 77"

If i'm trying to change theme, i see this error and blank page:
"Notice: Use of undefined constant __DIR__ - assumed '__DIR__' in /Applications/MAMP/htdocs/bling/wp-content/themes/bling/inc/roots-htaccess.php on line 77

Warning: Cannot modify header information - headers already sent by (output started at /Applications/MAMP/htdocs/bling/wp-content/themes/bling/inc/roots-htaccess.php:77) in /Applications/MAMP/htdocs/bling/wp-includes/pluggable.php on line 934"

I think i can get rid of this errors by changing config to define('WP_DEBUG', false); - but this errors are not good. My WP version: 3.2.1