I have a multilingual e-commerce site, with English and Hebrew pages. My English pages work great and without any problem, but the Hebrew pages, which use RTL css, show up blank, and have the following error:

Fatal error: Call to a member function toString() on a non-object in /home/<my-site>/public_html/sites/all/themes/sasson/phamlp/sass/tree/SassPropertyNode.php on line 102

What does this mean? What should I do about it?

Comments

tsi’s picture

I never had that problem, I'll need more info to try and figure out what happened.
Can you spot a Sass line/s that cause the issue?
How do you create the RTL stylesheets? do you use the automatic flipper?

Elool’s picture

The line causing the error is line 102, as it says in the displayed message.
I made an RTL stylesheet by adding a file called "-rtl.scss" to my "subtheme\styles" folder, and I don't use a css flipping module.

tsi’s picture

I meant the Sass line (from your Sass stylesheet) that caused the issue, if there is one...

Elool’s picture

I can't see any line that might have caused it.

Elool’s picture

I don't know if this has anything to do with this issue, but I keep seeing the following error:

Notice: Undefined offset: 3 in SassScriptParser->parse() (line 127 of /home/elool/public_html/sites/all/themes/sasson/phamlp/sass/script/SassScriptParser.php).

tsi’s picture

Status: Active » Postponed (maintainer needs more info)

Sorry, I have no way of telling what may have caused it, try and comment out the whole file and see if that removes the error, if it does, try to find out what piece of code cause the issue by un-commenting parts of your style sheet. you can also post the file here so we can have a look at it.

Elool’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)

I had a syntax problem in the rtl stylesheets (some "margin" left empty without a ";")
After fixing this the error disappeared.