Skip to content

Fix declaration match. #2

Open
f-roscher wants to merge 1 commit into
haraldronge:masterfrom
f-roscher:hotfix/fix-declaration-match
Open

Fix declaration match. #2
f-roscher wants to merge 1 commit into
haraldronge:masterfrom
f-roscher:hotfix/fix-declaration-match

Conversation

@f-roscher

Copy link
Copy Markdown

Fixes this problem wich occured with PHP7, Dokuwiki version Release rc-2020-06-09 "Hogfather" RC3:
PHP Fatal error: Declaration of syntax_plugin_showif::handle($match, $state, $pos, &$handler) must be compatible with dokuwiki\Extension\SyntaxPlugin::handle($match, $state, $pos, Doku_Handler $handler) in DOKUWIKI_PATH_HERE/lib/plugins/showif/syntax.php on line 0'

Dokuwiki version Release rc-2020-06-09 "Hogfather" RC3:
PHP Fatal error:  Declaration of syntax_plugin_showif::handle($match, $state, $pos, &$handler) must be compatible with dokuwiki\\Extension\\SyntaxPlugin::handle($match, $state, $pos, Doku_Handler $handler) in DOKUWIKI_PATH_HERE/lib/plugins/showif/syntax.php on line 0'
@f-roscher

Copy link
Copy Markdown
Author

I just realized by coincidence there is a PR open already. Would have saved me my own debugging had I seen that more early.
#1

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

Successfully merging this pull request may close these issues.

1 participant