Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment #1
tsi CreditAttribution: tsi commentedI 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?
Comment #2
Elool CreditAttribution: Elool commentedThe 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.
Comment #3
tsi CreditAttribution: tsi commentedI meant the Sass line (from your Sass stylesheet) that caused the issue, if there is one...
Comment #4
Elool CreditAttribution: Elool commentedI can't see any line that might have caused it.
Comment #5
Elool CreditAttribution: Elool commentedI 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).
Comment #6
tsi CreditAttribution: tsi commentedSorry, 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.
Comment #7
Elool CreditAttribution: Elool commentedI had a syntax problem in the rtl stylesheets (some "margin" left empty without a ";")
After fixing this the error disappeared.