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

Fatal error: Call to undefined method SassBoolean #6

Open
yumyo opened this issue Sep 11, 2012 · 8 comments
Open

Fatal error: Call to undefined method SassBoolean #6

yumyo opened this issue Sep 11, 2012 · 8 comments

Comments

@yumyo
Copy link

yumyo commented Sep 11, 2012

After some configuration attempts all the compiling error seem solved, but now I'm facing the following
Fatal error: Call to undefined method SassBoolean::length() in ../wp-content/plugins/wp-sass/phpsass/script/SassScriptFunctions.php on line 874 cache and debug are set to true.

Any help will be greatly appreciated

@yumyo
Copy link
Author

yumyo commented Sep 11, 2012

line 874 of SassScriptFunctions.php "List Functions - taken mostly from Compass" ... so may the problem be the way I import compass? I'm using 'load_paths' => array("compass", "partials/susy", "partials/modular-scale") in wp-sass.php and @import "compass"; in my .scss file

@roborourke
Copy link
Owner

I'm a little confused, have you modified wp-sass.php?

@yumyo
Copy link
Author

yumyo commented Sep 11, 2012

yep, isn't it the way to use compass? Now switched back to the original wp-sass.php and still getting the same error.

@roborourke
Copy link
Owner

No you should need to modify wp-sass at all. Can you not just enqueue or @import the compass dependencies?

@yumyo
Copy link
Author

yumyo commented Sep 12, 2012

Ok perfect. I've found that what is causing the problem is trying to @import susy. Looking at http://susy.oddbird.net/guides/upgrade-1-0/ seems that the minimum requirement for susy to work is Sass 3.2.0.
Which probably it is mainly used by the at-breakpoint mixins.

@roborourke
Copy link
Owner

Aha! Thanks for finding that out. I'll see if there's an update for phpsass, until then though susy will have to wait :/

@roborourke
Copy link
Owner

@yumyo hey! I've just rolled out the updated phpsass submodule, can you try this again?

@kenorb
Copy link

kenorb commented Nov 12, 2014

Fixed in richthegeek/phpsass#108

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