Problem/Motivation
I installed the module but am now seeing this message "Oops, something went wrong. Check your browser's developer console for more details." when trying to add tabs into a section in the Layout Builder page (for any content type).
Then, unless I discard changes, I then see this "The website encountered an unexpected error. Try again later." error message when trying to view the content again - this message is shown after trying to add the tabs section but without trying to save the layout.
I am also unable to save the layout after trying to include the tabs section, with the same "The website encountered an unexpected error. Try again later." error message being shown.
Given the "browser" wording in the error message, I have tried and failed on Chrome as well as Safari.
Is there something obvious I am doing wrong?
Comments
Comment #2
sidharth_soman commentedThe issue is due to the callable passed into the filter. It's highlighted in this issue here: https://www.drupal.org/project/layout_builder_tabs/issues/3305095
You would want to apply patch #17 in the above thread. It worked for me.
Comment #3
alastairworters commentedThanks.. The patch makes the module work.
Comment #4
mandclu commented