Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • D dokuwiki-piwik2
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Marcel Lange
  • dokuwiki-piwik2
  • Issues
  • #3

Closed
Open
Created Apr 08, 2018 by Marcel Lange@Bravehartk2Maintainer

PHP 7.x - compatibility, Doku_Event_Handler

Created by: TomNedry

After changing from PHP 5.4.2 to PHP 7.2 i got this error:

Declaration of action_plugin_piwik2::register(&$controller) should be compatible with DokuWiki_Action_Plugin::register(Doku_Event_Handler $controller) in [...]/action.php at line 29.

This is because of the use of "&$controller" in line 17 function register(&$controller) {

instead of using "Doku_Event_Handler $controller" function register(Doku_Event_Handler $controller) {

Assignee
Assign to
Time tracking