Both Bootstrap & Subtheme completely blank, no error codes, no admin toolbar, just a blank page.... there should be content, if I look up source code, I can see my content, but I get only blank pages..... and what interesting - if I log out from Admin, I can see Bootstrap website.... log in - blank.... Cache flushing & cache emptying in MySQL didn't help.... Fresh install (without 3rd partie modules or other themes) - the same result....
How I discovered that?!
- Actually, I was using all the same Bootstrap & Subtheme & modules on several websites.... including Admin Toolbar module and Toolbar Themes module...
Today I decided to Uninstall Toolbar Themes module.... and - I discovered Bootstrap is all blank... I installed back Toolbar Themes module - Bootstrap showing up & working.... First, I thought something with Toolbar Themes.... but - then I did fresh test installs several times, as soon as I install Bootstrap - it goes blank..... However - when I log out - Bootstrap works... but not for admin logged in.
| Comment | File | Size | Author |
|---|---|---|---|
| #12 | bootstrap-8x-3047864-12.patch | 885 bytes | joseph.olstad |
| #7 | 5.Uninstalled Toolbar Themes.png | 71.5 KB | Anatoliy Vorobyov |
| #7 | 4.Installed and enabled Toolbar Themes.png | 63.66 KB | Anatoliy Vorobyov |
| #7 | 3.Installed and enabled Admin Toolbar.png | 82.67 KB | Anatoliy Vorobyov |
| #7 | 2.Used Bootstrap theme as default theme.png | 65.39 KB | Anatoliy Vorobyov |
Comments
Comment #2
zambalared commentedComment #3
zambalared commentedComment #4
zambalared commentedUpdate:
After more testing, it seems that Bootstrap was working with 8x 3.17 version, but gets Blank after update to 3.x dev version....
and Blank - now I switched on Max Error reporting, now the page is not Blank, but with Error Massege below:
The website encountered an unexpected error. Please try again later.
Error: Call to a member function getPluginId() on null in Drupal\bootstrap\ThemeSettings->__construct() (line 69 of themes/bootstrap/src/ThemeSettings.php).
Drupal\bootstrap\ThemeSettings->__construct(Object) (Line: 752)
Drupal\bootstrap\Theme->settings() (Line: 539)
Drupal\bootstrap\Theme->getSetting('schemas') (Line: 200)
Drupal\bootstrap\Theme->__construct(Object, Object) (Line: 657)
Drupal\bootstrap\Bootstrap::getTheme('bootstrap', Object) (Line: 373)
Drupal\bootstrap\Theme->getAncestry() (Line: 767)
Drupal\bootstrap\Theme->subthemeOf('bootstrap') (Line: 196)
Drupal\bootstrap\Theme->__construct(Object, Object) (Line: 657)
Drupal\bootstrap\Bootstrap::getTheme() (Line: 1218)
Drupal\bootstrap\Bootstrap::initialize() (Line: 31)
include_once('/home2/user/name.com/themes/bootstrap/bootstrap.theme') (Line: 145)
Drupal\Core\Extension\Extension->load() (Line: 35)
twig_init(Object)
call_user_func('twig_init', Object) (Line: 144)
Drupal\Core\Theme\ThemeInitialization->loadActiveTheme(Object) (Line: 74)
Drupal\Core\Theme\ThemeInitialization->initTheme('samir') (Line: 406)
Drupal\Core\Theme\ThemeManager->initTheme(Object) (Line: 96)
Drupal\Core\Theme\ThemeManager->getActiveTheme() (Line: 43)
Drupal\Core\Cache\Context\ThemeCacheContext->getContext(NULL) (Line: 118)
Drupal\Core\Cache\Context\CacheContextsManager->convertTokensToKeys(Array) (Line: 307)
Drupal\Core\Render\RenderCache->createCacheID(Array) (Line: 66)
Drupal\Core\Render\RenderCache->get(Array) (Line: 109)
Drupal\Core\Render\PlaceholderingRenderCache->get(Array) (Line: 263)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 195)
Drupal\Core\Render\Renderer->render(Array, ) (Line: 226)
Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}() (Line: 582)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 227)
Drupal\Core\Render\MainContent\HtmlRenderer->prepare(Array, Object, Object) (Line: 117)
Drupal\Core\Render\MainContent\HtmlRenderer->renderResponse(Array, Object, Object) (Line: 90)
Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray(Object, 'kernel.view', Object)
call_user_func(Array, Object, 'kernel.view', Object) (Line: 111)
Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch('kernel.view', Object) (Line: 156)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 68)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 57)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 99)
Drupal\page_cache\StackMiddleware\PageCache->pass(Object, 1, 1) (Line: 78)
Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 52)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 23)
Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 693)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
Comment #5
zambalared commented...
Comment #6
Anatoliy Vorobyov commentedIf you see white page but source code show your content, then page is not blank. You should check styles, js or other errors or elements that can show white space and hide real content.
Comment #7
Anatoliy Vorobyov commentedEverything works fine. Tried fresh Drupal installation(drupal-8-7-0-beta1) and latest Bootstrap(8.x-3.x-dev).
Comment #8
markhalliwellTry rebuilding caches and/or config.
Comment #9
garrettw commentedCache rebuild fixed this error for me.
Comment #10
andileco commentedI also get this problem. If I uncheck the aggregate CSS and JS checkboxes on the Performance page, then things seem fine. But if I have them checked, my main menu disappears. Same error in my dblog as #4. I noticed this when updating from 3.16.0 => 3.20.0.
Comment #11
joseph.olstadI get this same error as described in the issue summary when updating bootstrap from 3.19 to 3.21
cache rebuild doesn't help.
I have a sub theme based on the starterkit, possibly broken because it was based off of an older version of starterkit..
Comment #12
joseph.olstadhere is a patch that fixes the problem for me.
Comment #13
joseph.olstadComment #14
bhumikavarshney commentedHi @joseph.olstad.
Thanks the above patch works fine for me
Comment #17
markhalliwell