Extension talk:DPL3/Source and installation

[Solved] Count Error
v 1.31 new install

i'm getting the error below. Also reported to MediaWiki. Warning: count: Parameter must be an array or an object that implements Countable in extensions/DynamicPageList/classes/DynamicPageList.php on line 443 and several other lines.

Also getting: Warning: Cannot modify header information - headers already sent by (output started at /home/gunsywtx/public_html/extensions/DynamicPageList/classes/DynamicPageList.php:443) in /home/gunsywtx/public_html/includes/WebResponse.php on line 46 on several lines.

Any fix? Johnywhy (talk) 07:28, 25 June 2018 (UTC)
 * Where? on a Gamepedia wiki, or on your own wiki on some other platform? The message seems quite clear, the error is on line 46 of WebResponse.php — Game widow (talk) 12:37, 25 June 2018 (UTC)

My own server. Glad the error is clear to you. Not clear to me. Can you suggest a fix? Johnywhy (talk) 14:10, 25 June 2018 (UTC)
 * Well, what does line 46 of that file say on your server? and what does it say in DynamicPageList.php on line 443 ? — Game widow (talk) 14:52, 25 June 2018 (UTC)

The issue is apparently due to a change in php 7.2.5. The count function now requires array or an object Parameter that implements Countable. Fix posted by Paldox on github https://github.com/Alexia/DynamicPageList/issues/55#issuecomment-399997326 Johnywhy (talk) 16:21, 25 June 2018 (UTC)


 * Great — Game widow (talk) 16:15, 25 June 2018 (UTC)

i assume the fix will eventually be merged into main Alexia download, but currently only avail in patch linked above
 * I have not read what is on GitHub, but Alexia is the active maintainer of the extension, so if this is a problem, then he will fix it / merge the change — Game widow (talk) 16:22, 25 June 2018 (UTC)

i think what you're saying is, you're not interested in anyone's fix, except Alexia. If you're only interested in Alexia's fix, why did you ask me to troubleshoot it myself? - Johnywhy (talk) 17:41, 25 June 2018 (UTC)
 * This is the help wiki for Gamepedia, it is not the help wiki for every extension used on Gamepedia. We offer descriptions of the extensions and try to help trouble shoot when and if we can, but changes to extensions must be made by the owners of those extensions. I don't maintain any of them. As luck would have it Alexia does happen to work here and he does maintain his extension. I sent him a link to this discussion and that is as much as I can reasonably do. — Game widow (talk) 20:47, 25 June 2018 (UTC)

Of course, that's all I reasonably expect, and thx, Game Widow! I just wonder if it's helpful for you to advise people to fix it themselves. It's cool to encourage people to solve stuff on their own, but maybe better to direct people to the official git. i am grateful for Alexia's maintenance! --Johnywhy (talk) 04:22, 26 June 2018 (UTC)
 * It seems better if bugs are reported to the official git.
 * better if fixes are released through the official git.