The errors are due to trying to run foreach() loops on NULL values in panels_context_get_keywords() and panels_context_get_form(). These functions are called by _panels_page_prepare_panels_render().

Comments

darren oh’s picture

Status: Active » Needs review
StatusFileSize
new1.26 KB
catch’s picture

Status: Needs review » Reviewed & tested by the community

Patch looks good, fixes the bug. RTBC.

sdboyer’s picture

Status: Reviewed & tested by the community » Fixed

Thanks guys - committed.

Anonymous’s picture

Status: Fixed » Closed (fixed)

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

merlinofchaos’s picture

This patch makes me uncomfortable. $contexts shouldn't be getting here without an array. I fear it masks bigger problems.

sdboyer’s picture

Assigned: Unassigned » sdboyer
Priority: Normal » Critical
Status: Closed (fixed) » Needs work

I'll re-review.

merlinofchaos’s picture

Status: Needs work » Closed (fixed)

Panels 2.x for Drupal 6 is now deprecated and has been removed. All issues against this version of Panels are being closed.