[CWB] Postprocess error

Uhrig, Peter peter.uhrig at fau.de
Tue Oct 23 12:20:30 CEST 2018


Dear all,

I would like to write a plugin for CQPweb, but I cannot even get the example to work.

What I did:
Add the following line to config.inc.php:
declare_plugin('DeleteEveryThirdHit', PLUGIN_TYPE_POSTPROCESSOR);

Now even the concordance display fails with an HTTP 500 error:
[Tue Oct 23 12:12:34.148501 2018] [:error] [pid 32236] [client 2001:638:a000:f000:131:188:6:12:54594] PHP Fatal error:  Declaration of DeleteEveryThirdHit::get_postprocess_description() must be compatible with Postprocessor::get_postprocess_description($html = true) in /var/www/html/CQPweb/lib/plugins/DeleteEveryThirdHit.php on line 9, referer: http://cluos.ikw.uos.de/CQPweb/gesture_2016/

Any idea what this means?

CQPweb is the latest version from the SVN (Revision 1081).

Best wishes,
Peter


--

Dr. Peter Uhrig

Professur für Computerlinguistik und Kognitionswissenschaft

Institut für Kognitionswissenschaft

Universität Osnabrück

Wachsbleiche 27

49090 Osnabrück

peter.uhrig at uni-osnabrueck.de<mailto:peter.uhrig at uni-osnabrueck.de>

0541 969 3532

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://liste.sslmit.unibo.it/pipermail/cwb/attachments/20181023/972f3236/attachment.html>


More information about the CWB mailing list