Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Declaration/invocation incompatibility with PHP 7.1 #12

Open
clharrison opened this issue Dec 26, 2017 · 2 comments
Open

Declaration/invocation incompatibility with PHP 7.1 #12

clharrison opened this issue Dec 26, 2017 · 2 comments

Comments

@clharrison
Copy link

After upgrading from PHP 5.6 -> 7.1 I began seeing this warning in the apache2 error.log:

PHP Warning: Declaration of syntax_plugin_cellbg::handle($match, $state, $pos, &$handler) should be compatible with DokuWiki_Syntax_Plugin::handle($match, $state, $pos, Doku_Handler $handler) in /var/www/html_mimi/lib/plugins/cellbg/syntax.php on line 0, referer: http://ouzo.local/doku.php?id=drafts:mrq_sdcore_12345:wiland_university

@airflo
Copy link

airflo commented Mar 19, 2018

I had the same warning. I fixed the error by changing the file syntax.php. Dear developer, you should do that, too.

Fixes:

  • handle($match, $state, $pos, Doku_Handler $handler)
  • render($format, Doku_Renderer $renderer, $data)
  • replace variable $mode with $format in the function's body

Best regards,

Florian

@tmo26
Copy link

tmo26 commented Apr 5, 2018

I observe the same error.
Can this please be fixed in the regular distribution of this plugin?

Thanks in advance!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants