dolfinus/AutoSitemap

sizeof parameter warning from php 7.3.19

hexmode opened this issue · 2 comments

The MediaWiki.org user Fokebox reported problems with this extension.

Visiting his sitemap page, I see

<b>Warning</b>:  sizeof(): Parameter must be an array or an object that implements Countable in <b>.../sitemap.php</b> on line <b>258</b><br />

Hello.

Why do you think that exactly this extension is responsible for generating this Warning?
Firstly, there is no sizeof function usage in any source file within this repo.
Secondly, this warning is being generated by /var/www/u0402490/data/www/wikireshebnik.ru/sitemap.php file. Can you provide it's content?

The problem is resolved! The problem was that I used old version of the extension generating sitemap, and new one. Now all works fine!