Youssef HRIZI
Youssef HRIZI

Reputation: 1

Drupal 8 Warning: Illegal string offset 'name' DrupalBootstrapStyles.php

I have this error (Warning: Illegal string offset 'name' in Drupal\bootstrap\Plugin\Provider\DrupalBootstrapStyles->Drupal\bootstrap\Plugin\Provider{closure}() (line 71 of themes\bootstrap\src\Plugin\Provider\DrupalBootstrapStyles.php).) when I open a web page of my site. If anyone have an idea how to solve that. I use a child theme from ( bootstrap 3 for drupal) Link Image of the error:

https://drive.google.com/file/d/1An9ZDdhDKibK5UnOfvOl821sKd0MdPFP/view

Upvotes: 0

Views: 1330

Answers (2)

Joseph Olstad
Joseph Olstad

Reputation: 93

also seeing this in one of our environments, there is a workaround (disable the cdn setting and another step)

see the explanation and issue thread below https://www.drupal.org/project/bootstrap/issues/3113579

Upvotes: 1

T_C
T_C

Reputation: 1

I am also getting this, but its happening in IIS only. On my XAMPP server its fine. Anyone else using IIS?

Also, there should be a fallback option if I am running this on development servers that can't access the internet. Seems like there is an external call to the Cdn from the php code to load the Bootstrap styles...

Upvotes: 0

Related Questions