[dokuwiki] Re: warning message

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

So seams that if find the solution.

I add

error_reporting(0);

on the file lib/plugins/bliki/syntax.php

and all the warning are gone.

Thank you
Giuseppe



On 8 August 2018 at 11:41, Frank Thommen <list.dokuwiki@xxxxxxxxxx> wrote:

Hi Tamás

On 08/08/2018 05:23 PM, Tamás Haraszti 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:
[...]
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.



Stupid me!  After looking too long on the screen, I tend to evolve partial
blindness towards obvious things ;-)

Thanks a lot
frank



--
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: