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'm getting this error when I try to visit the settings page. It causes a 500 error.
Error: Cannot redeclare class SassException in
/var/www/html/themetest/sites/all/themes/omega/omega_core/lib/Drupal/omega/phpsass/SassException.php,
line 32
Comments
Comment #2
Melissamcewen CreditAttribution: Melissamcewen as a volunteer commentedOh yeah. I forgot I installed https://github.com/sensational/sassphp for another project. That's where it was originally declared. I am not sure this is a bug...I guess if you want to have both you can :
if (!class_exists('SassException')) {
But I'm not sure if this is a common enough problem to justify modifying the theme.