turnermm / epub

Dokuwiki plugin for creating ebooks
http://www.dokuwiki.org/plugin:epub
15 stars 9 forks source link

Warning: Declaration of renderer_plugin_epub::header($text, $level, $pos) #34

Closed eduardomozart closed 2 years ago

eduardomozart commented 2 years ago

After upgrading to DokuWiki Igor stable release (2022-07-31), I'm receiving the following warnings when accessing the DokuWiki Configuration Page:

Warning: Declaration of renderer_plugin_epub::header($text, $level, $pos) should be compatible with Doku_Renderer_xhtml::header($text, $level, $pos, $returnonly = false) in /home/robertinho/public_html/wiki/lib/plugins/epub/renderer.php on line 94

Warning: Cannot modify header information - headers already sent by (output started at /home/robertinho/public_html/wiki/lib/plugins/epub/renderer.php:473) in /home/robertinho/public_html/wiki/inc/common.php on line 1817

Please let me know if there's anymore information that I can provide to fix this warnings.

turnermm commented 2 years ago

Declaration error fixed. The modify header warning: I can't reproduce it. There may be a cross-over from one of your other plugins or there may be a problem arising from the installation of the plugin, for instance if you used ftp to load the plugin into your wiki