Page MenuHomePhabricator

PHP7 error
Closed, ResolvedPublic

Description

Get error messages when running on a PHP7 install

Warning: Declaration of action_plugin_metaeditor::register(&$controller) should be compatible with DokuWiki_Action_Plugin::register(Doku_Event_Handler $controller) in /dwtest/lib/plugins/metaeditor/action.php on line 204

Warning: Cannot modify header information - headers already sent by (output started at /dwtest/lib/plugins/metaeditor/action.php:204) in /dwtest/inc/actions.php on line 207

Warning: Cannot modify header information - headers already sent by (output started at /dwtest/lib/plugins/metaeditor/action.php:204) in /dwtest/lib/tpl/bootstrap3/main.php on line 12

Event Timeline

downhamdave triaged this task as Normal priority.
downhamdave created this task.
downhamdave added a project: metaeditor PlugIn.

Thanks for the report. Both are warnings, not errors.
I just fixed the Doku_Event_Handler in b80ed4c2e184.

I cannot reproduce the second warning regarding the header information, but you are using a different template. Could you try switching the template to the Dokuwiki default and check if the message still appears?

In T26#360, @andreas wrote:

Thanks for the report. Both are warnings, not errors.
I just fixed the Doku_Event_Handler in b80ed4c2e184.

I cannot reproduce the second warning regarding the header information, but you are using a different template. Could you try switching the template to the Dokuwiki default and check if the message still appears?

Thanks, your change has resolved the issues on both the default template and the one I use.

downhamdave closed this task as Resolved.Apr 21 2016, 9:13 PM
downhamdave updated the task description. (Show Details)