Trying to create a new panel on my site, I get this error on a blank screen:

Parse error: syntax error, unexpected ')' in /.../sites/all/modules/ctools/plugins/contexts/node_add_form.inc on line 37

After a little digging, I found that this only happens when 'Contexts' option inside 'Optional features' is selected. Looking the line of the inc file looks like this:

if ($empty || $creating)) {

I guess that it was a typo when changing from the 6.x-1.8 version, that looks like:

if ($empty || (isset($created) && $created)) {

Comments

merlinofchaos’s picture

Status: Active » Fixed

Whoops. Silly unbalanced parens.

Committed a fix.

Status: Fixed » Closed (fixed)

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