Problem/Motivation

If you run the installer on command line, you get a bunch of warnings about block plugins:

 [warning] The "field_block:node:page:field_content" block plugin was not found
 [warning] The "extra_field_block:node:page:links" block plugin was not found
 [warning] The "extra_field_block:node:page:content_moderation_control" block plugin was not found
 [warning] The "field_block:node:page:field_featured_image" block plugin was not found
 [warning] The "extra_field_block:node:page:content_moderation_control" block plugin was not found
 [warning] The "extra_field_block:node:page:content_moderation_control" block plugin was not found

The list is steadily growing. These are just warnings and don't affect the site at all, but they are annoying and might cause concern for people who don't know to ignore them.

Comments

pameeela created an issue. See original summary.

kristen pol’s picture

Also get a bunch in the logs upon install... around 50 when I just tried.

kristen pol’s picture

Thanks for finding it… I knew it existed and I tried yesterday but didn’t notice it quickly and moved on to shinier things :)

kristen pol’s picture

I added a link there too. Can’t we hack around this for now and suppress any warnings that match this pattern? I doubt this will be fixed in core… especially with the move to XB.

phenaproxima’s picture

We would need custom code, or new config actions, to hack around it...and we ship no PHP of our own, apart from tests and Composer scripts. (We're trying to avoid having a polyfill module if at all possible.)

kristen pol’s picture

Okay… hmm… then we need the real solution in core then

phenaproxima’s picture

Title: Block plugin not found warnings on install » "Block plugin not found" warnings during install
Priority: Minor » Normal
Status: Postponed » Active

Well, the good news is that I found the cause in core, and wrote a test for it. I'm not sure what the proper fix is, but now that we have a way to confirm it's fixed, finding the right solution should be downhill from here. And it is unambiguously a bug, so it should be eligible for core's next patch release.

I'm going to leave this issue open for reference, but I agree that this is something to be fixed in core, not Drupal CMS.

phenaproxima’s picture

Component: Base Recipe » General
kristen pol’s picture

Oh! Fantastic 🥳

phenaproxima’s picture

Issue summary: View changes
phenaproxima’s picture

Status: Active » Closed (duplicate)

Doing some clean-up in the issue queue here, so closing this guy out as a duplicate of #3478773: Warnings logged for missing field block plugins when enabling layout builder on an entity view display for the first time.