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

c960657’s picture

StatusFileSize
new577 bytes

Hmm, this is probably better.

merlinofchaos’s picture

Status: Needs review » Fixed

I changed it just slightly but it's ultimately teh same. (I'd had a much worse fix already in place).

Status: Fixed » Closed (fixed)

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