adaptivetheme_preprocess_maintenance_page indexes NULL $color_file

Created on 16 January 2023, about 2 years ago

Problem/Motivation

Warning : Trying to access array offset on value of type null dans adaptivetheme_preprocess_maintenance_page() (ligne 1009 dans (path)/sites/all/themes/contrib/adaptivetheme/at_core/inc/preprocess.inc).

Steps to reproduce

Enable color module, do NOT define color_<theme>_stylesheets. Observe warning.

Proposed resolution

Only enter that check if $color_file is not empty.

Remaining tasks

Validate.

User interface changes

None.

API changes

None.

Data model changes

None.

🐛 Bug report
Status

Needs review

Version

3.0

Component

Module Support

Created by

🇫🇷France fgm Paris, France

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

No activities found.

Production build 0.71.5 2024