[phpBB Debug] PHP Warning: in file [ROOT]/ext/oxpus/dlext/phpbb/classes/class_dl_init.php on line 281: sizeof()

Support für Extensions für phpBB 3.2.x von Entwickler OXPUS
Antworten
Benutzeravatar
Galixte de EzCom
Beiträge: 8
Registriert: Di 16. Jun 2015, 09:25
Wohnort: Massalia
Kontaktdaten:

[phpBB Debug] PHP Warning: in file [ROOT]/ext/oxpus/dlext/phpbb/classes/class_dl_init.php on line 281: sizeof()

Beitrag von Galixte de EzCom »

Hi @oxpus,

on my board a user reported to me this warning:

Code: Alles auswählen

[phpBB Debug] PHP Warning: in file [ROOT]/ext/oxpus/dlext/phpbb/classes/class_dl_init.php on line 281: sizeof(): Parameter must be an array or an object that implements Countable
This line: https://github.com/oxpus/Download-32-Ex ... t.php#L281. What should we replace sizeof() with? count()?

His board is phpBB 3.2.7 with PHP 7.2.18.
Communau EzCom : www.ezcom-fr.com
📖 « Traductions d’extensions & styles pour phpBB 3.1.x & 3.2.x ».
Tu as un forum et tu veux aussi un site web ? florence-chatelot.fr
Benutzeravatar
oxpus
Chief handy-man
Beiträge: 2660
Registriert: Do 13. Dez 2007, 23:06
Wohnort: Irgendwo im I-Net
Kontaktdaten:

Re: [phpBB Debug] PHP Warning: in file [ROOT]/ext/oxpus/dlext/phpbb/classes/class_dl_init.php on line 281: sizeof()

Beitrag von oxpus »

Nothing like this.
This error triggers on an empty download Extension without at least one category.
I'll fix it this afternoon
Karsten Ude
Kein Support per Messenger, Email oder PN! Unaufgeforderte Nachrichten werden ignoriert!
No support per Messenger, Email or PM. Each unasked message will be ignored!
Benutzeravatar
Galixte de EzCom
Beiträge: 8
Registriert: Di 16. Jun 2015, 09:25
Wohnort: Massalia
Kontaktdaten:

Re: [phpBB Debug] PHP Warning: in file [ROOT]/ext/oxpus/dlext/phpbb/classes/class_dl_init.php on line 281: sizeof()

Beitrag von Galixte de EzCom »

Thanks.
Communau EzCom : www.ezcom-fr.com
📖 « Traductions d’extensions & styles pour phpBB 3.1.x & 3.2.x ».
Tu as un forum et tu veux aussi un site web ? florence-chatelot.fr
Antworten