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 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
Comment #2
chzhcpu CreditAttribution: chzhcpu commentedafter i enabled some mudule, the error is missing
Comment #3
joelstein CreditAttribution: joelstein as a volunteer commentedWeird. I had the same issue, and enabling a module fixed it for me, too.
Comment #4
kbrinnerThis 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.
Comment #5
drupalevangelist CreditAttribution: drupalevangelist commentedMake sure Views content panes module is enable.
Comment #6
Anonymous (not verified) CreditAttribution: Anonymous at Creative Result Communication commentedWhen you rebuild your registry it also seems to resolve the issue.
Comment #7
balagan CreditAttribution: balagan at Brainsum commentedI confirm that rebuilding the registry resolved this issue.
Comment #8
balagan CreditAttribution: balagan at Brainsum commented