Starterkit fixes and add some README.md instructions

Created on 11 February 2024, 10 months ago
Updated 3 March 2024, 10 months ago

Problem/Motivation

***EDIT***
One minor change left, see new patch https://www.drupal.org/files/issues/2024-02-18/wxt_bootstrap-improve_rea...
***End edit***
Today we were doing a fresh install of wxt 5.2.x and was creating a new subtheme from the wxt_bootstrap but forgot a step relating to the THEMENAME.starterkit.yml and then I noticed that this was not documented anywhere. Then we noticed that there were problems with the starterkit it'self as it was still referring to Drupal 8.

Also noticed an exception:

Warning: Undefined array key 1 in mythemename_theme_suggestions_block_alter() (line 19 of themes/custom/mythemename/mythemename.theme)
Deprecated function: str_contains(): Passing null to parameter #1 ($haystack) of type string is deprecated in mythemename_theme_suggestions_block_alter() (line 19 of themes/custom/mythemename/mythemename.theme)

Repeats 4 times each rebuild of the cache

Patch #5 fixes the starterkit theme and the exception and adds some steps in the README.md of wxt_bootstrap.

Steps to reproduce

Install wxt 5.2.x
Create a subtheme from the starterkit
Search for the instructions on how to use /create a new subtheme from the starterkit (?)

Proposed resolution

Added entries into the README.md for wxt_bootstrap outlining the steps of creating a subtheme from the starterkit
make corrections to the starterkit it'self to fix an exception that occurs

Remaining tasks

Review patch, discuss

User interface changes

Improve/document the starterkit subtheme process and fix starterkit theme bug

API changes

Drupal 10 now the minimum version

Data model changes

N/A

🐛 Bug report
Status

Fixed

Version

5.2

Component

WxT Bootstrap

Created by

🇨🇦Canada joseph.olstad

Live updates comments and jobs are added and updated live.
  • PHP 8.2

    The issue particularly affects sites running on PHP version 8.2.0 or later.

  • PHP 8.1

    The issue particularly affects sites running on PHP version 8.1.0 or later.

Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024