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

Errors with Igor RC2 and PHP Version 8.1.6 #234

Closed saggi-dw closed 2 years ago

saggi-dw commented 2 years ago

On a test installation of Igor with xampp and PHP 8.1 I get the following errors:

Warning: Undefined array key "lang" in E:\xampp\htdocs\dokuwiki\lib\plugins\wrap\helper.php on line 94
Warning: Undefined array key "id" in E:\xampp\htdocs\dokuwiki\lib\plugins\wrap\helper.php on line 117
Warning: Undefined array key "dir" in E:\xampp\htdocs\dokuwiki\lib\plugins\wrap\helper.php on line 128

with the expression

<WRAP center round info 60%>
info box
</WRAP>

Also with others, like columns I get Undefined array key warnings. If more information is needed I can provide it.

saggi

LMS235 commented 2 years ago

Also on PHP 8.1

Got error 'width" in /wiki/lib/plugins/wrap/helper.php on line 119

syntaxseed commented 2 years ago

Created a PR to fix this.

237