Fatal error when saving Solo theme settings

Created on 11 August 2025, 12 days ago

On the latest Solo theme release (version 1.0.24), saving the theme settings — even without making changes — causes a fatal error in _solo_theme_settings_submit().

I have just updated the Solo theme to version 1.0.24.
When I go to the theme settings page and click “Save configuration” — even without changing anything — I get this error:

Error: Call to undefined method Drupal\Core\Asset\LibraryDiscoveryCollector::clearCachedDefinitions() in _solo_theme_settings_submit() (line 231 of /themes/contrib/solo/theme-settings.php)

Steps to reproduce:
1. Go to Appearance → Settings for the theme.
2. Click “Save configuration”, even without making any changes.

Result:
The page shows the fatal error and the settings are not saved.

Request:
I’m a beginner with Drupal and not sure what this error means. Could you please advise how I can fix this?

Thank you.

💬 Support request
Status

Active

Version

1.0

Component

Code

Created by

🇷🇴Romania aballa

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @aballa
  • 🇺🇸United States flashwebcenter Austin TX

    Hello,

    Thank you for bringing this to my attention. I’ve updated the theme and released a new version. Please update to the latest version 1.0.25.

    Best wishes,
    Alaa

Production build 0.71.5 2024