Kwrite plugin error when trying to save a document on Lint

Asked By 70 points N/A Posted on -
qa-featured

Hi,

I just wrote a little plugin for Kwrite but it gives me the error message when I try to save a document. The error says “The linter found an error in your document”. What does it mean? I can’t understand this annoying error message so please guide me to fix it. Thanks in advance.

Lint Error – Kwrite

The linter found an error in your document:

PHP Parse error:

Syntax error, unexpected ‘.’ In /home/milian/projects/geshi/MISC_STUFF/profiling/geshi-trunk/geshi.php

SHARE
Answered By 0 points N/A #190141

Kwrite plugin error when trying to save a document on Lint

qa-featured

Hi,
    This is a very simple error, As the error says, Syntax Error and it further says that Unexpected ;

So this error can be very easily removed from the code by removing the semi-colon from the line that is causing the error which in this case is the highlighted red line.

To solve this problem,
1. Remove the semi-colon form the red line in the code!

If the error persists, please ask again.
Hope this helps you! 🙂

Related Questions