Custom submission URLs give error message Missing argument 2 for xmlsitemap_engines_prepare_url()
| Project: | XML sitemap |
| Version: | 6.x-2.x-dev |
| Component: | xmlsitemap_engines.module |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
I put in Custom submission URLs:
http://yandex.ru/ping?http://www.mysite.ru/sitemap.xml
http://rambler.ru/ping?http://www.mysite.ru/sitemap.xml
pressed "Save" and got following message:
* warning: Missing argument 2 for xmlsitemap_engines_prepare_url(), called in /home/us11org/public_html/sites/all/modules/xmlsitemap/xmlsitemap_engines/xmlsitemap_engines.admin.inc on line 54 and defined in /home/us11org/public_html/sites/all/modules/xmlsitemap/xmlsitemap_engines/xmlsitemap_engines.module on line 75.
* warning: Missing argument 2 for xmlsitemap_engines_prepare_url(), called in /home/us11org/public_html/sites/all/modules/xmlsitemap/xmlsitemap_engines/xmlsitemap_engines.admin.inc on line 54 and defined in /home/us11org/public_html/sites/all/modules/xmlsitemap/xmlsitemap_engines/xmlsitemap_engines.module on line 75.

#1
Thanks for reporting this bug! I committed a fix and added a test to make sure this doesn't regress. Thanks again!
http://drupal.org/cvs?commit=233286
#2
Automatically closed -- issue fixed for 2 weeks with no activity.