Skip to content

Declaration of ReplaceProcessor::process() is not compatible

Problem: 
Declaration of ReplaceProcessor::process($tokenList) must be compatible with InsertProcessor::process($tokenList, $token_category = 'INSERT')


Solution:
Replace the following class definition in "server/PHPSqlParser/processors/ReplaceProcessor.php"

line 42

class ReplaceProcessor extends InsertProcessor {

    public function process($tokenList, $token_category = 'REPLACE') {
        return parent::process($tokenList, $token_category);
    }

}

Feedback and Knowledge Base