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.
The page callback function view_mode_modal_view_entity()
calls drupal_access_denied()
which causes warnings as the function attempts to change headers after output has started. Per the docs for drupal_access_denied(), it should return MENU_ACCESS_DENIED
instead.
Comment | File | Size | Author |
---|---|---|---|
#2 | 2771419-cannot-modify-header.patch | 489 bytes | Shawn Conn |
Comments
Comment #2
Shawn Conn CreditAttribution: Shawn Conn at Tabs and Spaces commentedComment #4
shadcn CreditAttribution: shadcn as a volunteer and at Chapter Three commentedThanks.
Comment #5
shadcn CreditAttribution: shadcn as a volunteer and at Chapter Three commented