Error: Call to undefined method Drupal\Core\Ajax\AjaxResponse::setCommands()

Created on 20 September 2023, over 1 year ago
Updated 11 October 2023, over 1 year ago

Problem/Motivation

When using widget Media library and try to upload or select a image and it's not work. And we have this error message:

Error: Call to undefined method Drupal\Core\Ajax\AjaxResponse::setCommands() in Drupal\layoutbuilder_extras_live_update\Plugin\Field\FieldWidget\LBExtrasLiveUpdateMediaLibraryWidget::updateWidget() (line 44 of /var/www/html/web/modules/contrib/layoutbuilder_extras_live_update/src/Plugin/Field/FieldWidget/LBExtrasLiveUpdateMediaLibraryWidget.php).

🐛 Bug report
Status

Closed: works as designed

Version

1.0

Component

Code

Created by

🇵🇹Portugal developer-rocha

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024