After updating to latest 8.1.x-dev we get an error in the frontend:

Uncaught PHP Exception LogicException: "Unable to parse the controller name "field_group_entity_view_pre_render"." at /var/www/html/<projectname>/core/lib/Drupal/Core/Controller/ControllerResolver.php line 120

Any ideas?

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Jehu created an issue. See original summary.

Jehu’s picture

I reverted to 87d305a01b2696b2cc7515b30a407d2d2d049fec to get it working again.
git checkout 87d305a01b2696b2cc7515b30a407d2d2d049fec

Liam McDermott’s picture

Confirmed, we're seeing the same thing.

bmcclure’s picture

Confirmed here as well, updating to the latest dev broke my site returning this error until I reverted.

bmcclure’s picture

Here's a patch which fixes it for me. There's a reference to field_group_entity_view_pre_render even though that function doesn't exist anywhere, so I removed the code that referenced it. Not sure if this is the proper solution, but it works for me at least until this is resolved.

bmcclure’s picture

Status: Active » Needs review

  • zuuperman committed 8588b8b on 8.x-1.x authored by bmcclure
    Issue #2826269 by bmcclure: Unable to parse the controller name "...
bmcclure’s picture

Seems the latest dev version adds back the field_group_entity_view_pre_render function and fixes this issue for real. Thanks!

bmcclure’s picture

Status: Needs review » Needs work

Actually, I still have a problem.

I have a custom block type which shows a Contact form, and is being output in my footer. There are no field groups in the block. With the latest dev version of this module, the block contents (the body and rendered form) are empty.

If I re-apply my patch above to remove the reference to 'field_group_entity_view_pre_render', my blocks all show up properly again. But I'm guessing that prevents something in field_group from working properly in that state.

  • zuuperman committed 2c4a1fc on 8.x-1.x
    Issue #2826269 by bmcclure: Unable to parse the controller name "...
nils.destoop’s picture

Status: Needs work » Fixed

Should be fixed now.

bmcclure’s picture

I think this is good now. I updated the module, did not apply my patch, and all my blocks seem to show up fine. Thanks for the update!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.