after installing this new update, i get the parser error when i try to do a site status report

http://example.com/admin/reports/status

Parse error: syntax error, unexpected ')' in /example.com/drupal/sites/all/modules/xmlsitemap/xmlsitemap.install on line 161

Comments

nathanjo’s picture

Yah, seems they forgot to remove the comma in line 160 and put closing semi-colon in line 161

leon85321’s picture

Yup,

Thank you, I was having the same problem too. Glad it works now.

Change Line 160-161

      'default' => '',
    ),
  )
  variable_set('xmlsitemap_update', TRUE);

To

      'default' => '',
    )
  );
  variable_set('xmlsitemap_update', TRUE);

And it solves the problem.

avpaderno’s picture

Status: Active » Fixed

This has been already fixed in CVS.

Status: Fixed » Closed (fixed)

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