[dokuwiki] Re: warning message

  • From: Giuseppe Amatulli <giuseppe.amatulli@xxxxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Fri, 12 Jan 2018 11:16:10 -0500

Thanks Alex
in reality I got a lot of this warning so I should modify each one of the
php file.
It should be another solution.
Anyone Else has an idea?
Thanks Giuseppe


*Warning*: Declaration of syntax_plugin_contact::handle($match, $state,
$pos, &$handler) should be compatible with
DokuWiki_Syntax_Plugin::handle($match,
$state, $pos, Doku_Handler $handler) in
*/home/capooti/webapps/spatialecology_wiki/lib/plugins/contact/syntax.php* on
line *195*

*Warning*: Declaration of syntax_plugin_doodle::handle($match, $state,
$pos, &$handler) should be compatible with
DokuWiki_Syntax_Plugin::handle($match,
$state, $pos, Doku_Handler $handler) in
*/home/capooti/webapps/spatialecology_wiki/lib/plugins/doodle/syntax.php* on
line *270*

*Warning*: Declaration of syntax_plugin_nbsp::handle($aMatch, $aState,
$aPos, &$aHandler) should be compatible with
DokuWiki_Syntax_Plugin::handle($match,
$state, $pos, Doku_Handler $handler) in
*/home/capooti/webapps/spatialecology_wiki/lib/plugins/nbsp/syntax.php* on
line *40*

*Warning*: Declaration of syntax_plugin_paypal::render($mode, &$renderer,
$data) should be compatible with DokuWiki_Syntax_Plugin::render($format,
Doku_Renderer $renderer, $data) in
*/home/capooti/webapps/spatialecology_wiki/lib/plugins/paypal/syntax.php* on
line *118*

*Warning*: Declaration of syntax_plugin_youtube::handle($match, $state,
$pos, &$handler) should be compatible with
DokuWiki_Syntax_Plugin::handle($match,
$state, $pos, Doku_Handler $handler) in
*/home/capooti/webapps/spatialecology_wiki/lib/plugins/youtube/syntax.php* on
line *82*



On 12 January 2018 at 11:07, Zen-Do.Ru <admin@xxxxxxxxx> wrote:

Hi Giuseppe,

Warning: Declaration of syntax_plugin_googlecal::render($mode,
&$renderer, $data) should be compatible with 
DokuWiki_Syntax_Plugin::render($format,
Doku_Renderer $renderer, $data) in /home/capooti/webapps/spatiale
cology_wiki/lib/plugins/googlecal/syntax.php on line 82

You can search dokuwiki site and find that it's Google Calendar plugin, a
bit outdated.
https://www.dokuwiki.org/plugin:google_cal

You can post bugs in Issues here:
https://github.com/lupo49/plugin-google_cal/issues

But first I would guess that it's just outdated and should be corrected a
bit to be compatible with new software (PHP 7 and the like).

So try to do as the message hints:

go to that file:
/home/capooti/webapps/spatialecology_wiki/lib/plugins/googlecal/syntax.php

and change on line 82:
&$renderer,

into
Doku_Renderer $renderer,

That's only my guess, I don't know for sure, but I hope it might work.
Cheers!
Alex
--
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: