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'.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

bigbaldy’s picture

Status: Active » Needs review
FileSize
714 bytes

Here is a patch that fixes the problem.

deanflory’s picture

I too just came across this fatal error:

Fatal error: Cannot use object of type stdClass as array in includes/theme.inc on line 1070

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!

deanflory’s picture

Issue summary: View changes
Status: Needs review » Reviewed & tested by the community
Scyther’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

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