我升级到PHP 7后得到一个jqGrid错误,当我将表导出到文件时,说我现在有一个语法错误

Prior to my PHP 7 upgrade jqGrid was working fine. It now throws an error when I try to export a table to Excel, CSV or PDF. It says the below:

syntax error, unexpected 'AND' (T_LOGICAL_AND), expecting ';' on line 1 in jqs/php/jqGridArray.php(348): eval()'d code

Line 1 is just an open PHP tag

Line 343-348 is the below:

// Offset
                //if ($koffset !== FALSE && $irow < $offset)
                //{
                    //$irow++;
                    //continue;
                //}