Skip to content

Fatal error: Declaration of DuplicateProcessor::process($tokens) must be compatible with SetProcessor::process($tokens, $isUpdate = false)

In  "/server/PHPSqlParser/processors/DuplicateProcessor.php", can you try this?
Change the 

return parent::process($tokens, false);

to 

return parent::process($tokens, $isUpdate);

So the whole class is now

class DuplicateProcessor extends SetProcessor {

    public function process($tokens, $isUpdate = false) {
        return parent::process($tokens, $isUpdate);
    }

}

Feedback and Knowledge Base