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.
Hi, I'm having kind of a similar error as http://drupal.org/node/1502116, but instead of "Undefined offset: 2", it says "Undefined offset: 3 in SassScriptParser->parse() (line 127 of [site]/sites/all/themes/sasson/phamlp/sass/script/SassScriptParser.php)."
I had version 7.x-2.5 and tried updating to 7.x-2.6, 7.x-3.x-dev, and 7.x-2.x-dev to see if that would fix it, as per the above linked issue, but no dice!
What do you think is going on here? Is there any way I can fix it without having to rebuild my entire sub-theme (which would be terrible!)?
Comment | File | Size | Author |
---|---|---|---|
#4 | undefined-offset-1772274-4-D7.patch | 1.13 KB | darrenwh |
Comments
Comment #1
tsi CreditAttribution: tsi commentedI couldn't reproduce this, any clues on what caused it ?
Comment #2
tsi CreditAttribution: tsi commentedMarking as a Phamlp compiler issue.
The PHP compiler, while serving us well, will always lag behind the original ruby-compass compiler, this is why the upcoming release (v3.x) of Sasson will use assetic to compile Sass using the original ruby compiler.
Unfortunately, bugs with the php compiler is probably not something we will have time to work on anytime soon, since most of the effort is going into the v3.x branch which uses the original ruby-compass, so marking all Phamlp issue as postponed.
If #1825006: Phamlp can't get arguments as @media queries values is solved, we might find a way to support the php compiler as a fallback for people developing on a server that can't install ruby (we recommend developing locally, on a local server with ruby and compass installed).
Any help with this will be most appreciated.
Comment #3
tsi CreditAttribution: tsi commentedThe PHP compiler used in Sasson 2.x is no longer needed in v3.x and I don't see me or anyone else getting to maintain it.
Marking all relevant issues as won't fix. sorry.
You are welcome to try the much more powerful v3.x
Comment #4
darrenwh CreditAttribution: darrenwh as a volunteer and at Investis Digital commentedClient was reluctant to pay to have 8 multi sites restyled to so I just patched the file, attached.