panels_get_pane_content() contains the following function call:
$content = ctools_content_render($pane->type, $pane->subtype, $pane->configuration, $keywords, $args, $context, $incoming_content);
$context is an object of type ctools_context, but the sixth argument for ctools_content_render() is supposed to be an array of contexts (though the parameter name seems to indicate that it expects only a single instance):
* @param $context
* An array of context objects available for use.
http://cvs.drupal.org/viewvc.py/drupal/contributions/modules/ctools/incl...
I'm not sure this is the right fix, but at least it removes the notice.
Comments
Comment #1
c960657 commentedHmm, this is probably better.
Comment #2
merlinofchaos commentedI changed it just slightly but it's ultimately teh same. (I'd had a much worse fix already in place).