color module dependency for the theme

Created on 7 September 2023, over 1 year ago
Updated 28 August 2024, 4 months ago

Problem/Motivation

Install the latest theme for D9 without enabling core color module (deprecated). and we get the dependency error on color module as follows.

Error: Call to undefined function Drupal\socialblue\Plugin\Preprocess\color_get_palette() in Drupal\socialblue\Plugin\Preprocess\Html->preprocess() (line 25 of /var/www/html/web/themes/contrib/socialblue/src/Plugin/Preprocess/Html.php)

Steps to reproduce

Install the latest theme version for D9 without enabling core color module (deprecated), Falls in to WSOD.

Proposed resolution

Add a dependency for the color module in theme for D9, Until D10 compatible theme releases.

๐Ÿ› Bug report
Status

Closed: outdated

Version

2.5

Component

Code

Created by

๐Ÿ‡ฎ๐Ÿ‡ณIndia mukhtarm

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024