My Panel pages crash when i try to access them after updating panels/ctools modules. Ran update.php right after, cant figure out whats wrong!

1554 // Append active class.
1555 if (($path == $_GET['q'] || ($path == '' && drupal_is_front_page())) &&
1556 (empty($options['language']) || $options['language']->language == $language->language)) {
1557 if (isset($options['attributes']['class'])) {
1558 $options['attributes']['class'] .= ' active';
1559 }
1560 else {
1561 $options['attributes']['class'] = 'active';
}
}

Any ideas help

THANK YOU!

Comments

merlinofchaos’s picture

Status: Active » Closed (won't fix)

That error indicates an actual syntax error in a core file. That seems really odd. Maybe you should be sure that this file is unmodified, and go back to your original tarball. In that particular error, the real error is probably before the line mentioned, since it is saying the statement is unexpected, so the previous statement is usually incorrectly formed.

I don't know that there's much I can advise.