dokuwiki_plugin_wrap icon indicating copy to clipboard operation
dokuwiki_plugin_wrap copied to clipboard

A lot of warnings with PHP8 when browsing as a guest

Open greeneng opened this issue 2 years ago • 3 comments

I've got several warnings while browsing a wiki page without logging in:

Warning: Undefined array key "lang" in D:\htdocs\blackspeech\new\wiki\lib\plugins\wrap\helper.php on line 94 Warning: Undefined array key "id" in D:\htdocs\blackspeech\new\wiki\lib\plugins\wrap\helper.php on line 117 Warning: Undefined array key "dir" in D:\htdocs\blackspeech\new\wiki\lib\plugins\wrap\helper.php on line 128

Warning: Undefined array key 1 in D:\htdocs\blackspeech\new\wiki\lib\plugins\include\syntax\wrap.php on line 33 Warning: Undefined array key 2 in D:\htdocs\blackspeech\new\wiki\lib\plugins\include\syntax\wrap.php on line 33 Warning: Undefined array key 3 in D:\htdocs\blackspeech\new\wiki\lib\plugins\include\syntax\wrap.php on line 33

plugin was installed via DokuWiki Extension manager

greeneng avatar Aug 08 '23 08:08 greeneng

The first batch of warnings was fixed quite some time ago. (#234, #237). Please make sure that you have version 2022-08-10 (or later) of the Wrap Plugin installed.

The second batch of warnings originate in the Include Plugin. You need to take that up with that project.

fiwswe avatar Aug 08 '23 14:08 fiwswe

Thanks! A new version wasn't showed in Extension Manager for both plugins for some reason. Updated both.

greeneng avatar Aug 08 '23 15:08 greeneng

A new release is available. Are there warnings left over in the new version?

Klap-in avatar Aug 13 '23 17:08 Klap-in