[dokuwiki] Re: warning message

  • From: Frank Thommen <list.dokuwiki@xxxxxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Wed, 8 Aug 2018 16:58:16 +0200

Ciao Giuseppe,

On 08/08/2018 04:25 PM, Giuseppe Amatulli wrote:

Hi All
I maintain the following dokuwiki http://www.spatial-ecology.net/dokuwiki/doku.php

with the intention to eliminate several warning like this one

Warning: Declaration of syntax_plugin_bliki::handle($match, $state, $pos, &$handler) should be compatible with DokuWiki_Syntax_Plugin::handle($match, $state, $pos, Doku_Handler $handler)

I installed the noiewarning pluging and now the page is not visible anymore reporting the following errors

Warning: Declaration of action_plugin_noiewarning::register(&$controller) should be compatible with DokuWiki_Action_Plugin::register(Doku_Event_Handler $controller) in /home/capooti/webapps/spatialecology_wiki/lib/plugins/noiewarning/action.php on line 305

Fatal error: Declaration of action_plugin_noiewarning::render_text(&$event, $param) must be compatible with DokuWiki_PluginInterface::render_text($text, $format = 'xhtml') in /home/capooti/webapps/spatialecology_wiki/lib/plugins/noiewarning/action.php on line 305

Questions:

1) how i can go back to functional web dokuwiki web page?
2) how I can eliminate the warning that always recur in any pages and with different plugin?
I have been try to solve this problem from several months, by update plugins, all wiki,  but no one seams to work.

Could be something related with php? I have this version running.

PHP 5.6.37 (cli) (built: Jul 23 2018 08:04:37) Copyright (c) 1997-2016 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies  with the ionCube PHP Loader (enabled) + Intrusion Protection from ioncube24.com <http://ioncube24.com> (unconfigured) v5.0.18, Copyright (c) 2002-2015, by ionCube Ltd.

Or should I set the warning log file differently? how?

Any one that can help me directly? happy to donate some $ :-)

Thank you
Best Regards
Giuseppe


Unfortunately I can't help, but would also be interested in fixing this. "Our" error messages are very similar but not completely identical (nginx with fastcgi and PHP 7.1). They might still be related to the same basic issue:

-----
2018/08/08 16:40:31 [error] 1456#0: *1741 FastCGI sent in stderr: "PHP message: PHP Warning: Declaration of action_plugin_source::register(&$controller) should be compatible with DokuWiki_Action_Plugin::register(Doku_Event_Handler $controller) in /data/dokuwiki/lib/plugins/source/action.php on line 99" while reading response header from upstream, client: xxx.xxx.xxx.xxx, server: xxxxxxxx, request: "GET /lib/exe/indexer.php?id=pub%3Acluster%3Ausage%3Amodules&1533739231 HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "xxxxxxxxx", referrer: "https://xxxxxxxx";
-----

There are three or four of these messages each time a page is viewed. The errors are possibly related to some plugins. However I can't see any indication about which plugins are the culprits.

Cheers
frank


--
DokuWiki mailing list - more info at
http://www.dokuwiki.org/mailinglist

Other related posts: