- Issue created by @MLZR
- 🇳🇱Netherlands MLZR Zutphen
I was investigating to solve this problem. I strumbled over two patches of the module "Media Library Form API Element":
1. https://www.drupal.org/files/issues/2023-01-25/deprecated-explode-327727... →
2. https://www.drupal.org/files/issues/2023-05-10/check-default-value-not-a... →After installing these the bootstrap tags changed: now I get a " class="col-lg-6 col-md-12 col-12". So the first tag is changed now.
This is a small improvement.. bud only the first tag is now changed, the others are still wrong; (col-md-12 col-12) i clicked for "Tablet" or "Mobile" also on "Two equal columns". Bud that is still not working..
And Unfortunately, the first tag is still not working correctly; when I change it to ' 25% 75% ' then when I save the changes the columns change back to Two equal columns.When I click on "desktop", "Tablet" or "Mobile", after a click on either of these, the error " Deprecated function: substr() " still appear in the log messages.
Deprecated function: substr(): Passing null to parameter #1 ($string) of type string is deprecated in Drupal\bootstrap_layout_builder\Entity\Breakpoint->getClassByPosition() (line 124 of /home/realisterwb/public_html/modules/contrib/bootstrap_layout_builder/src/Entity/Breakpoint.php)
- 🇳🇱Netherlands MLZR Zutphen
Little update.. I've tried a new install with the composer.json as above since it is a couple of weeks ago I run into this issue. I see lots of improvements, bud unfortunately for this case nothing is changed.
Anybody?
- 🇺🇸United States jaygriggs
When I go to the reports page ( /admin/reports ) I find a error " Message Deprecated function: substr(): Passing null to parameter #1 ($string) of type string is deprecated in Drupal\bootstrap_layout_builder\Entity\Breakpoint->getClassByPosition() (line 124 of /home/[home-map]/public_html/modules/contrib/bootstrap_layout_builder/src/Entity/Breakpoint.php) "
This is a warning not an error. This is a warning in php 8.1 and will be an error in PHP 9.
Has anyone else tested this module in D10? - 🇺🇬Uganda Thomas Kaisuka
I got the same problem too. All the errors i got were similar to what you have shown MLZR. Still fiddling around for a solution.
- 🇳🇱Netherlands MLZR Zutphen
Ok, there is a solution! issue #3335356 🐛 Fix Drupal 10 compatibility issues with Bootstrap Layout Builder Fixed seems a duplicate. I patched my setup with issue_3335356_drupal10.patch and now things are working!
- Status changed to Closed: duplicate
over 1 year ago 9:28pm 13 July 2023