selfthinker / dokuwiki_plugin_wrap

Wrap Plugin for DokuWiki: Universal plugin which combines functionalities of many other plugins. Wrap wiki text inside containers (divs or spans) and give them a class (choose from a variety of preset classes), a width and/or a language with its associated text direction.
http://www.dokuwiki.org/plugin:wrap
GNU General Public License v2.0
42 stars 33 forks source link

A lot of warnings with PHP8 when browsing as a guest #269

Open greeneng opened 1 year ago

greeneng commented 1 year ago

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

fiwswe commented 1 year ago

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.

greeneng commented 1 year ago

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

Klap-in commented 1 year ago

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