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 issue concerns the panels plugin in conjunction with the 'realname' module.
The author_pane.inc file on the panels plugin has a typo on the theme function that causes a fatal error. The problem is that the name of the module should be 'realname' it is instead 'username'.
Comment | File | Size | Author |
---|---|---|---|
#1 | realname-panels-error-on-theme-function-2044341-1.patch | 714 bytes | bigbaldy |
Comments
Comment #1
bigbaldy CreditAttribution: bigbaldy commentedHere is a patch that fixes the problem.
Comment #2
deanflory CreditAttribution: deanflory commentedI too just came across this fatal error:
Just so others might understand where I came across the error, it is when I placed the Author Panel block into a custom page (can't remember if that's provided by Panels or ctools):
/admin/structure/pages/add
NOT a Panels Page at:
/node/add/panel
(though I haven't tested if that makes any difference)
I thought it had something maybe to do with the current user context being on both the custom Panel page and in the views I was using on the same page (not related to Author Pane but I had placed it in the custom Panel page too). But after disabling the author_pane block in the panel and testing it, I found the error to go away. Re-enabling the author_pane block in the panel made the WSOD fatal error come back.
I did not realize it had anything to do with the realname module, but I'll try out the patch
Testing...
It appears that the patch does indeed work. Reviewed & Tested to work on the 7.x-2.x-dev (2013-Sep-30) release!
Comment #3
deanflory CreditAttribution: deanflory commentedComment #4
Scyther CreditAttribution: Scyther commentedThanks. Commited to dev.
http://drupalcode.org/project/author_pane.git/commit/bd77700