Error in pal.ps

Aug 16 at 3:39 PM
I received this error when I ran the SQL Server 2014 template. Since the executed code is generated by the script, it is difficult for me to debug.

Overall progress... Status: Applying thresholds, PAL 2.7.5 Progress: 82%... Applying thresholds, SQLServer:Resource Pool Stats Used memory (KB)
<BR><BR>
An error occurred on...<BR> Invoke-Expression -Command $sCode
<BR>At C:\temp\PAL\PAL.ps1:4337 char:9
  • Invoke-Expression -Command $sCode
  • ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<BR>At line:8 char:8
  • Else If ($($htVariables["CollectionOfSQLServerResourcePoo ...
  • ~
    Missing statement block after 'else' keyword.
At line:12 char:8
  • Else If ($($htVariables["CollectionOfSQLServerResourcePoo ...
  • ~
    Missing statement block after 'else' keyword.
At line:16 char:8
  • Else If ($($htVariables["CollectionOfSQLServerResourcePoo ...
  • ~
    Missing statement block after 'else' keyword.<BR>
    <BR><BR>
    SCRIPT ARGUMENTS:<BR>
    Log: R:\Cafe\Doug\tmp\PAL_Microsoft_SQL_Server_2014.blg<BR>
    ThresholdFile: C:\temp\PAL\SQLServer2014.xml<BR>
    AnalysisInterval: AUTO<BR>
    IsOutputHtml: $True<BR>
    IsOutputXml: $False<BR>
    HtmlOutputFileName: [LogFileName]_PAL_ANALYSIS_[DateTimeStamp].htm<BR>
    XmlOutputFileName: [LogFileName]_PAL_ANALYSIS_[DateTimeStamp].xml<BR>
    OutputDir: [My Documents]\PAL Reports<BR>
    AllCounterStats: $False<BR>
    NumberOfThreads: 8<BR>
    IsLowPriority: $True<BR>
    DisplayReport: True<BR>
Sep 13 at 7:48 AM
Edited Sep 13 at 7:48 AM
I ran into the same problem and couldn't solve it... there seem to be some errors with this template!
Can anyone help?