- Issue created by @EricVL
I created the attached patch based on the report but haven't tested it myself.
- First commit to issue fork.
Saving the color theme in the theme settings gives an error with Drupal 10
Change the color theme and save it.
The php error is:
ArgumentCountError: Too few arguments
"CssOptimizer() needs exactly 1 parameter in constructor at line 133 of color_submit.php"
Error is specific for Drual 10.
Change line 133 from
$css_optimizer = new CssOptimizer();
to
$css_optimizer = new CssOptimizer(\Drupal::service('file_url_generator'));
.
Review, merge and release
NA
NA
NA
Active
5.2
Theme Settings
I created the attached patch based on the report but haven't tested it myself.