Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
greeneng opened this issue Aug 8, 2023 · 3 comments
Open

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

greeneng opened this issue Aug 8, 2023 · 3 comments

Comments

@greeneng
Copy link

greeneng commented Aug 8, 2023

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
Copy link
Contributor

fiwswe commented Aug 8, 2023

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
Copy link
Author

greeneng commented Aug 8, 2023

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

@Klap-in
Copy link
Collaborator

Klap-in commented Aug 13, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants