After I have installed some module required by OpenAtruim, I go to my home page (?q=node) and get this problem. I have searched with google, but there was not any useful info.
the detail error is below:
Warning: class_parents(): object or string expected in panels_panel_context_render() (line 312 of E:\wamp\www\drupal741\sites\all\modules\panels\plugins\task_handlers\panel_context.inc)

Comments

chzhcpu created an issue. See original summary.

chzhcpu’s picture

after i enabled some mudule, the error is missing

joelstein’s picture

Weird. I had the same issue, and enabling a module fixed it for me, too.

kbrinner’s picture

This is so strange. For those who read this and are thinking 'no way', I thought 'why not' and enabled a totally random module (CAPTCHA) and boom my Panels now work and I no longer see the Warning: class_parents(): object or string expected in panels_panel_context_render() error.
I started getting this error (as well as a WSOD for Panels Variants) after upgrading Panels from 7.x-3.5 to 7.x-3.8 and CTools from 7.x-1.9 to 7.x-1.12.

drupalevangelist’s picture

Make sure Views content panes module is enable.

Anonymous’s picture

When you rebuild your registry it also seems to resolve the issue.

balagan’s picture

I confirm that rebuilding the registry resolved this issue.

balagan’s picture

Assigned: chzhcpu » Unassigned
Status: Active » Closed (won't fix)