Topic on Extension talk:AutoSitemap

Jump to navigation Jump to search
Xsteeplol (talkcontribs)

When I edit or create a page on my wiki, I get this error: "ArgumentCountError from line 157 of /membri/solu/extensions/AutoSitemap/AutoSitemap_body.php: Too few arguments to function AutoSitemap::getPriority(), 0 passed in /membri/solu/extensions/AutoSitemap/AutoSitemap_body.php on line 229 and exactly 3 expected"

This is my configuration in LocalSettings:

wfLoadExtension( 'AutoSitemap' );

$wgAutoSitemap["filename"] = "sitemapp.xml";

$wgAutoSitemap["freq"] = "hourly";

$wgAutoSitemap["priority"] = 1;

how can I resolve it?

Martynov Maxim (talkcontribs)

Hello.


Please download extension source code again, problem was fixed.

Xsteeplol (talkcontribs)

Thanks, now it works!