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.
The advanced_forum.js script is throwing and "Object doesn't support this property or method" (line 14, character 11). Here is the offending code:
if (pages) {
for (x in pages) {
tmp = pages[x].split('=');
Drupal.advanced_forum.collapsed_page[tmp[0]] = tmp[1].split(',');
}
}
I'm no javascript monkey, but if I skip over this if statement in the debugger, the page continues to load correctly ... and I know that can't be a good thing.
I am running 7.x-2.x-dev from Aug, 12, 2012, if that helps.
Help!!! (and thanks in advance)
Comments
Comment #0.0
Spark_man CreditAttribution: Spark_man commentedHighlighting the specific line throwing the error.
Comment #1
troky CreditAttribution: troky commentedtry to replace above code with:
Comment #2
troky CreditAttribution: troky commentedThis is fixed already.
Comment #3.0
(not verified) CreditAttribution: commentedWell that didn't work as I expected.