Created on 21 September 2018, almost 7 years ago
Updated 27 June 2024, about 1 year ago

I just updated bootstrap module to version 8.x-3.13 and am seeing new warnings. Examples:

Warning: array_unique() expects parameter 1 to be array, string given in Drupal\bootstrap\Utility\Attributes->getClasses() (line 59 of themes\contrib\bootstrap\src\Utility\Attributes.php).

Warning: array_merge(): Argument #1 is not an array in Drupal\bootstrap\Utility\Attributes->addClass() (line 29 of themes\contrib\bootstrap\src\Utility\Attributes.php).

I realize this is most likely due to other modules/codes passing values incorrectly but I believe that bootstrap should check for this and handle it more gracefully.

Note - looks like this issue was seen in the past. Wondering if bug was reintroduced.

🐛 Bug report
Status

Closed: won't fix

Version

3.13

Component

Code

Created by

🇺🇸United States guerinteed_mike

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

Merge Requests

Comments & Activities

Not all content is available!

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

  • First commit to issue fork.
  • Merge request !43Resolve #3001556 "Array issues" → (Open) created by rajeshreeputra
  • Pipeline finished with Success
    about 1 year ago
    Total: 153s
    #209206
  • Pipeline finished with Success
    about 1 year ago
    Total: 187s
    #209340
Production build 0.71.5 2024