Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Log report
Location
/admin/structure/views/ajax/handler/project_single_figli/default/field/field_video?_wrapper_format=drupal_ajax
Message
InvalidArgumentException: Missing required properties for an EntityDisplay entity. in Drupal\Core\Entity\EntityDisplayBase->__construct() (line 127 of /var/www/html/core/lib/Drupal/Core/Entity/EntityDisplayBase.php).
Severity
Error
for replicate
- make a content type with video field
- make a content views
- add a video field.
- the popup doesn't run even the first time.
Let me know if I can help more.
Thanks
Comment | File | Size | Author |
---|---|---|---|
#5 | 2665966-broken-views-field-05.patch | 6.35 KB | heshanlk |
Screen Shot 2016-02-10 at 10.35.32 AM.png | 176.06 KB | frazac_naba |
Comments
Comment #2
heshanlkIn your content type, are you going to upload videos or embed videos?
Comment #3
heshanlkCurrently the display format Field doesn't work
InvalidArgumentException: Missing required properties for an EntityDisplay entity. in Drupal\Core\Entity\EntityDisplayBase->__construct() (line 127 of /home/dmqgh/www/core/lib/Drupal/Core/Entity/EntityDisplayBase.php).
Comment #4
Aghiad CreditAttribution: Aghiad commentedAny solution for this? even a temp one.
Comment #5
heshanlkThis patch will fix the issue.
Comment #9
sagesolutions CreditAttribution: sagesolutions commentedHello,
I tried the patch on both 8.x-1.1 and dev branches, and it didn't work for me either.
I get the following error when adding a video field in my "Videos page" view
Also note that on refresh, the field is there, but I cant configure it. That's really important because when I go to my /videos page, all the videos are auto-playing and I cant disable that functionality.
Comment #10
heshanlkDid you try clearing the cache?. It's working fine on a fresh install. I'm not sure if you need to reset your field settings to fix the issue. But clearing the cache typically should do it.
Comment #11
sagesolutions CreditAttribution: sagesolutions commentedI cleared the cache, no luck.
I uninstalled completely, and then installed the 8.x-1.1-1+dev version and re-added a video field to a content type.
Then I created a new view and added a video field. I still get the same error as in comment #9
Comment #12
heshanlkI tried the Simplytest.me url above in the patch (http://screencast.com/t/ft7WywUptV) and it worked for me.
Ps : 8.x-1.1-1+dev doesn't carry this change.
Comment #13
sagesolutions CreditAttribution: sagesolutions commentedI tried uninstalling and installed the 8.x-1.1 branch with the patch applied. I still get the ajax error.
Comment #14
heshanlkDid you try to simplytest.me link above and did that work?
Comment #15
frazac_naba CreditAttribution: frazac_naba commentedHello heshanlk,
All my tries are with embed videos from youtube.
Clear the cache not works, I didn't try deleting and adding a new video field.
Now I temporarily fix by edit youtube file plugin directly in the module folder.
I'll try your patch next week! (will be my first patch!)
Thank you very much
Comment #16
heshanlkComment #18
heshanlkComment #19
frazac_naba CreditAttribution: frazac_naba commentedThe 8x-1.2 update works for me thanks!
Comment #20
xacto CreditAttribution: xacto commentedI am running into the same ajax problem now with the last build. No settings modal from field in views.
Video 8.x-1.2
Drupal core 8.0.5
Not sure if this is a Views core issue or a Video issue.
Location: admin/structure/views/ajax/handler/block_1/field/field_video?_wrapper_format=drupal_ajax
Message: InvalidArgumentException: Missing required properties for an EntityDisplay entity. in Drupal\Core\Entity\EntityDisplayBase->__construct() (line 127
Just a report here to reopen the issue :-)
Comment #21
heshanlkThis looks to be working fine with a fresh install, may be a conflict with another module so I need more information to debug this.
Comment #22
dparvanova CreditAttribution: dparvanova commentedHi,
on a fresh new drupal 8.2.0 installation I added only Videojs module.
When trying to create a view with a video filed there are 2 formatters with name Video.js. None of them is working.
Selecting any of them records in the log the following:
location: /var/www/html/drupal-8.2.0/admin/structure/views/ajax/handler/front_page_videos/block_1/field/field_videojs?_wrapper_format=drupal_ajax
message: InvalidArgumentException: Missing required properties for an EntityDisplay entity. in Drupal\Core\Entity\EntityDisplayBase->__construct() (line 122 of /var/www/html/drupal-8.2.0/core/lib/Drupal/Core/Entity/EntityDisplayBase.php).
Comment #24
heshanlkComment #26
rfsbsbI know this issue is marked as fixed, but I recently experienced the very same problem. I'm using version 1.2 with Drupal 8.4.2 in a fresh install.
I've created a content type with video upload. But when I try to create a view to display the video (either thumb or embed) I get the same error.
Comment #27
Joe HuggansI can confirm that this issue can be caused by the videoJS module, uninstalling this module fixes the issue