[Pushed] issue with recount&rebuild in admincp
#1
Hello,

When i try to rebuild attachment thumbnails it gives me a white blank page without any error message not even in the PHP error_log so to get a clue about what is causing the issue i open /admin/modules/tools/recount_rebuild.php and add the top i add

error_reporting(E_ALL);
ini_set("display_errors",1);

when i try again it shows me Notice: Undefined index: channels in functions_image.php on line 37

but i can't find what is causing the problem  help ....
Reply
#2
I will, more likely to consider it as a bug.
channels is not a mandatory return value, specially for bmp, sometimes for png as well.
https://bugs.php.net/bug.php?id=65749

We need to place a fallback.
Reply
#3
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/4254

Thanks for contributing to MyBB!

Regards,
The MyBB Group
Reply
#4
hello,

more issues from recount & rebuild

[19-Feb-2021 11:55:06 UTC] PHP Notice: Undefined offset: 2 in admin/styles/default/style.php on line 50
[19-Feb-2021 11:55:06 UTC] PHP Notice: Undefined offset: 2 in admin/styles/default/style.php on line 47
[19-Feb-2021 11:55:06 UTC] PHP Notice: Undefined index: class in admin/inc/class_table.php on line 217
[19-Feb-2021 11:55:06 UTC] PHP Notice: Undefined index: class in admin/inc/class_table.php on line 221
Reply
#5
(2021-02-19, 03:30 PM)Erikbe Wrote: hello,

more issues from recount & rebuild

[19-Feb-2021 11:55:06 UTC] PHP Notice: Undefined offset: 2 in admin/styles/default/style.php on line 50
[19-Feb-2021 11:55:06 UTC] PHP Notice: Undefined offset: 2 in admin/styles/default/style.php on line 47
[19-Feb-2021 11:55:06 UTC] PHP Notice: Undefined index: class in admin/inc/class_table.php on line 217
[19-Feb-2021 11:55:06 UTC] PHP Notice: Undefined index: class in admin/inc/class_table.php on line 221

These errors (and others that don't cause serious problems on PHP < 8.0) should be covered by https://github.com/mybb/mybb/issues/4138
devilshakerz.com/pgp (DF3A 34D9 A627 42E5 BC6A 6750 1F2F B8AA 28FF E1BC) ▪ keybase.io/devilshakerz
Reply
#6
We should make a list of erros due to php 8.0 to get full support soon Smile I will update to php 8.0 and add mybb 1.8.25pre to test Smile
[MyBB 1.8 Czech translation] [MyBB 1.8 plugins]: Prune old PMs + optimize DB plugin --- Thank you/like system
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)