Closed (fixed)
Project:
Smart Content
Version:
3.x-dev
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
26 Jun 2020 at 21:46 UTC
Updated:
13 Jul 2020 at 00:59 UTC
Jump to comment: Most recent
The following error occurs on the site if Smart Content is enabled without first enabling Layout Builder.
The website encountered an unexpected error. Please try again later.
Error: Class 'Drupal\layout_builder\LayoutBuilderEvents' not found in Drupal\smart_content_block\EventSubscriber\LayoutBuilderComponentRenderArray::getSubscribedEvents() (line 19 of /var/www/vanilla9/web/modules/custom/smart_content/modules/smart_content_block/src/EventSubscriber/LayoutBuilderComponentRenderArray.php).
Comments
Comment #3
gantal commentedComment #4
gantal commentedActually, the fix in the last commit leads to another error, so this still needs work.
Comment #6
gantal commented