- Issue created by @Rajab Natshah
- First commit to issue fork.
- Merge request !53Issue #3408146 by impol: Fix missing Add heading after fresh install of VLP 10.1.x which needs a clear cache to show up in Layout editing → (Merged) created by impol
- Status changed to Needs review
11 months ago 7:42pm 11 January 2024 - 🇯🇴Jordan Rajab Natshah Jordan
Thank you, Yauheni, for helping and debugging.
Your logic on this is better!
Having the better logic in the
10.0.x
too.
moving the conditions in the class too.Some Varbase
~9.1.0
sites may switch the default dashboard from Varbase Total Control Dashboard → to Varbase Dashboards → with Layout BuilderDoing the logic of only Bootstrap Layout Builder, or some front-end theme ( Bootstrap ).
I wish that Drupal has an API or some logic to let a module works only for the fron-end theme
Hoping to find a better fix for this.Copied part of our private Slack IMs
- Issue was unassigned.
-
Rajab Natshah →
committed 5fcaa767 on 10.1.x authored by
impol →
Issue #3408146 by impol: Fix missing Add heading after fresh install of...
-
Rajab Natshah →
committed 5fcaa767 on 10.1.x authored by
impol →
-
Rajab Natshah →
committed 89a6de47 on 10.0.x authored by
impol →
Issue #3408146 by impol: Fix missing Add heading after fresh install of...
-
Rajab Natshah →
committed 89a6de47 on 10.0.x authored by
impol →
- Status changed to Fixed
11 months ago 7:41am 14 January 2024 Automatically closed - issue fixed for 2 weeks with no activity.
- 🇺🇸United States weldong
I am not sure this is working for a fresh install.
I just did a fresh install of 10.0.0-rc2
I cannot add a heading to anything in layout builder, I get "Oops, something went wrong. Check your browser's developer console for more details."
This is what I see in console:
AjaxError:
An AJAX HTTP error occurred.
HTTP Result Code: 500
Debugging information follows.
Path: /layout_builder/add/block/overrides/node.4/0/section_header/inline_block%3Avarbase_heading_block
StatusText: 500 Service unavailable (with message)
ResponseText: The website encountered an unexpected error. Try again later.Error: Call to a member function bundle() on null in _block_form_alter_block_type_form_alter_inline_block_process() (line 81 of modules/contrib/block_form_alter/block_form_alter.module). call_user_func_array('_block_form_alter_block_type_form_alter_inline_block_process', Array) (Line: 1013)
Drupal\Core\Form\FormBuilder->doBuildForm('layout_builder_add_block', Array, Object) (Line: 1076)
Drupal\Core\Form\FormBuilder->doBuildForm('layout_builder_add_block', Array, Object) (Line: 1076)
Drupal\Core\Form\FormBuilder->doBuildForm('layout_builder_add_block', Array, Object) (Line: 579)I am happy to help debug this.