Issue:Error message - undefined Index 100
From FollowTheScore
Description: | using notnamespace causes php error in line 3128 |
Extension / Version: | DPL / 1.4.2 |
Type / Status: | Bug / answered |
Problem
Getting this error 10 times for http://www.tnlc.com/wiki/index.php?title=Template:catcount :
Notice: Undefined index: 100 in ../wiki/extensions/DynamicPageList2/DynamicPageList2.php on line 3128
With this query:
{{#dpl: category={{{1}}} |notnamespace=Template |notnamespace=Form |resultsheader=(%PAGES%) |noresultsheader=(0) |format=, }}
—Eep² 12:09, 29 September 2007 (CEST)
Reply
This sounds like you have an error in the namespace setup of your wiki. If you use own namespaces you should assign index pairs to them starting from '100' as is recommended in the MW documentation. I guess the query works when you leave out the "notnamespace=Form"?
- -- Gero 12:28, 29 September 2007 (CEST)