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
45 stars 43 forks source link

Incompatible with PHP 8.3 #274

Closed RobWoods-CPG closed 9 months ago

RobWoods-CPG commented 10 months ago

When upgraded to PHP 8.3 it will no longer open the tree and let you see subfolder.s The icon just spins for ever.

Errors:

2023-12-04 17:51:07
E_WARNING: Undefined array key "nons"
E:\CPG-Web\Wiki\lib\plugins\indexmenu\action.php(336)
#0 E:\CPG-Web\Wiki\lib\plugins\indexmenu\action.php(336): dokuwiki\ErrorHandler::errorHandler()
#1 E:\CPG-Web\Wiki\lib\plugins\indexmenu\action.php(170): action_plugin_indexmenu->print_index()
#2 E:\CPG-Web\Wiki\inc\Extension\EventHandler.php(80): action_plugin_indexmenu->_ajax_call()
#3 E:\CPG-Web\Wiki\inc\Extension\Event.php(74): dokuwiki\Extension\EventHandler->process_event()
#4 E:\CPG-Web\Wiki\inc\Ajax.php(27): dokuwiki\Extension\Event->advise_before()
#5 E:\CPG-Web\Wiki\lib\exe\ajax.php(22): dokuwiki\Ajax->__construct()
#6 {main}
2023-12-04 17:51:07
E_WARNING: Undefined array key "nopg"
...
2023-12-04 17:51:07
E_WARNING: Trying to access array offset on null
...
Klap-in commented 9 months ago

Could you update please to the latest version? I expect the warning is solved in that version. Can you confirm?

Klap-in commented 9 months ago

Please reopen if not yet fixed.