[dokuwiki] Re: warning message

  • From: Giuseppe Amatulli <giuseppe.amatulli@xxxxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Wed, 8 Aug 2018 11:40:53 -0400

Thanks all of you the page the is again up...so now I have to solve the
warnings...

The problem is that I have many warning with different plugins and seams to
me strange that there is a not another way to solve without change all
the  *.php files.
Thank you
Giuseppe



On 8 August 2018 at 11:23, Tamás Haraszti <haraszti@xxxxxxxxxxxxxxxxxx>
wrote:

Hi Frank,

A fast reply from the top of my head.

The error messages always indicate which file, which line contains
what kind of problem.

Please look:
...
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
file
is: /home/capooti/webapps/spatielecology_wiki/lib/
plugins/noiewarning/action.php
Check line 305,
There is a register(&$controller) which should be
register($conteroller).
Change it, the error goes away. And inform the maintainer of the
plugin, because this is an issue which is easy to solve (and should
have been done for a while).

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.
...
And here:
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";
-----

In file: /data/dokuwiki/lib/plugins/source/action.php
line: 99
again a register(&$controller) should be changed to
register($controller)

I hope this helps.

Best regards,
Tamás
--
DokuWiki mailing list - more info at
http://www.dokuwiki.org/mailinglist




-- 
Giuseppe Amatulli, Ph.D.

Research scientist at
Yale School of Forestry & Environmental Studies
Yale Center for Research Computing
Center for Science and Social Science Information
New Haven, 06511
Teaching: http://spatial-ecology.net
Work:  https://environment.yale.edu/profile/giuseppe-amatulli/

Other related posts: