- On index page it's announcement There is 1 account awaiting activation. Please go to your ACP to activate the user. Go to the ACP.
- Click Go to the ACP
- Dont select anything of users
- Click Activate Users
- Confirm modal window
- There are errors while reloading the page.
- You have info after reloading without errors top. You did not select any users.
[
attachment=41580]
MyBB 1.8.20 clean install, not update
PHP Version 7.0.32
WWW server on nazwa.pl
I can confirm, it happens only when you dont select any user to activate.
no problem with php 7.2.15
Seems like there's no check if $mybb->input['user'] is an actual array.
Should be pretty easy fix, just needs to be checked if any users were passed to the script.
PS: It's just warnings - should be fixed, but it won't cause any real problems.
I will do it today (if my server will start to show me warnings), yesterday I had no energy to mess with code too much
I will make maybe 2-3 PRs today. Depends on how much time I will have.
Hi,
Thank you for your report. We have pushed this issue to our Github repository for further analysis where you can track our commits and progress with fixing this bug. Discussions regarding this bug may also take place there too.
Follow this link to visit the issue on Github:
https://github.com/mybb/mybb/issues/3593
Thanks for contributing to MyBB!
Regards,
The MyBB Group