Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • L loki
  • Project information
    • Project information
    • Activity
    • Labels
    • Planning hierarchy
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 45
    • Issues 45
    • List
    • Boards
    • Service Desk
    • Milestones
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • pro
  • loki
  • Issues
  • #31

Closed
Open
Created Sep 20, 2017 by Krzysztof Kutt@kkuttMaintainer

ALL: incompatible declaration of DokuWiki methods in plugins

After each page request there are many incompatibility errors for our plugins for DokuWiki, like the one below: [Wed Sep 20 11:30:52.372848 2017] [:error] [pid 11575] [client 192.168.1.1:56602] PHP Warning: Declaration of syntax_plugin_code_code::handle($match, $state, $pos, &$handler) should be compatible with DokuWiki_Syntax_Plugin::handle($match, $state, $pos, Doku_Handler $handler) in /vhosts/loki_ia_agh_edu_pl/www/wiki/lib/plugins/code/syntax/code.php on line 0, referer: http://loki.ia.agh.edu.pl/wiki/docs:tour

Probably the issue is with the & on the handler attribute that does not appear in the DokuWiki_Syntax_Plugin method. It is important, because it generates a lot of logs, what is not good...

Assignee
Assign to
Time tracking