samuelet / indexmenu

A dokuwiki plugin to show a customizable and sortable index for a namespace.
http://dokuwiki.org/plugin:indexmenu
GNU General Public License v2.0
44 stars 43 forks source link

PHP 7 #221

Closed Juergen-Vollmer closed 4 years ago

Juergen-Vollmer commented 4 years ago

Hi,

I'm using dokuwiki "Hogfather" and "subjectindex" (2014-05-04) together with php 7.2.5 and get the following error:

PHP Warning: Declaration of SI_EntryVerse::match($text) should be compatible with SI_Entry::match() in ...../dokuwiki/lib/plugins/subjectindex/plugins/EntryVerse.php on line 0

In order to fix that I have to change in file dokuwiki/lib/plugins/subjectindex/inc/matcher.php the follpwing line:

old: function match() { new function match($text) {

Jürgen

samuelet commented 4 years ago

This is the indexmenu plugin, i think you should open the issue on subjectindex plugin page: https://github.com/MrBertie/subjectindex/issues