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.
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?
Comment | File | Size | Author |
---|---|---|---|
#5 | field_group-Fix_controller_error-2826269-5.patch | 411 bytes | bmcclure |
Comments
Comment #2
Jehu CreditAttribution: Jehu commentedI reverted to 87d305a01b2696b2cc7515b30a407d2d2d049fec to get it working again.
git checkout 87d305a01b2696b2cc7515b30a407d2d2d049fec
Comment #3
Liam McDermott CreditAttribution: Liam McDermott commentedConfirmed, we're seeing the same thing.
Comment #4
bmcclure CreditAttribution: bmcclure as a volunteer and at Top Floor commentedConfirmed here as well, updating to the latest dev broke my site returning this error until I reverted.
Comment #5
bmcclure CreditAttribution: bmcclure as a volunteer and at Top Floor commentedHere'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.
Comment #6
bmcclure CreditAttribution: bmcclure as a volunteer and at Top Floor commentedComment #8
bmcclure CreditAttribution: bmcclure as a volunteer and at Top Floor commentedSeems the latest dev version adds back the field_group_entity_view_pre_render function and fixes this issue for real. Thanks!
Comment #9
bmcclure CreditAttribution: bmcclure as a volunteer and at Top Floor commentedActually, 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.
Comment #11
nils.destoop CreditAttribution: nils.destoop as a volunteer and at Wunder commentedShould be fixed now.
Comment #12
bmcclure CreditAttribution: bmcclure as a volunteer and at Top Floor commentedI 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!