Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Undefined index: root #21

Open
drivebass opened this issue Feb 21, 2017 · 2 comments
Open

Undefined index: root #21

drivebass opened this issue Feb 21, 2017 · 2 comments

Comments

@drivebass
Copy link

drivebass commented Feb 21, 2017

I keep getting this notice:

Notice: Undefined index: root in .../themes/theme-name/wp-sass/wp-sass.php on line 119

I have check for any syntax errors etc inside my .scss file that might cause this but no luck. Ay idea anyone. WP-SASS folder is inside my theme's folder.

Any ideas what would probably cause the notice?

@VsevolodKurochka
Copy link

This error occurs because there is already such a variable. It does not create the required array. And when we comment on the creation of the condition, then everything works.

Comment this line - http://prntscr.com/j5h90t . And all will work nice!

Good luck!

@VipulDubey27
Copy link

Undefined index: root

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants