Getting error "TypeError: Argument 1 passed to Drupal\views\ViewExecutableFactory::get() " while clicking on "Media library" button

Created on 16 August 2023, 11 months ago

Hi All,

I am trying to embed link of media, and my module stack for this is
entity_embed
Linkit
Linkit_media_library

Now when I am trying to attach media , by clicking on Media Library button (Which comes when we click link button in ckeditor and we have enabled and configured linkit and linkit media library), it is throwing below mentioned error.

TypeError: Argument 1 passed to Drupal\views\ViewExecutableFactory::get() must implement interface Drupal\views\ViewEntityInterface, null given, called in /var/www/html/web/core/modules/media_library/src/MediaLibraryUiBuilder.php on line 329 in Drupal\views\ViewExecutableFactory->get() (line 70 of /var/www/html/web/core/modules/views/src/ViewExecutableFactory.php) #0 /var/www/html/web/core/modules/media_library/src/MediaLibraryUiBuilder.php(329)

My Drupal version is 9.4.8

Thanks in Advance

🐛 Bug report
Status

Active

Version

1.0

Component

Code

Created by

🇮🇳India ajay547

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

Comments & Activities

Production build 0.69.0 2024