Xmap - Joomla 1.6 : Notice undefined...
3 posts
• Page 1 of 1
Xmap - Joomla 1.6 : Notice undefined...
Hello,
I installed Xmap for Joomla 1.6. All is ok with the sitemap.xml, but on the html page I have this error message several thime, between chapters. :
You can see this page at thios adress : http://cluster010.ovh.net/~dvanderh/...p/plan-du-site
In the joomla administration, I put "error message" on null, but this message always appaers...
My english is not so good, but I try
Can you help me ?
I installed Xmap for Joomla 1.6. All is ok with the sitemap.xml, but on the html page I have this error message several thime, between chapters. :
Notice: Undefined property: stdClass::$priority in /homez.424/dvanderh/www/components/com_xmap/displayer.php on line 135
Notice: Undefined property: stdClass::$changefreq in /homez.424/dvanderh/www/components/com_xmap/displayer.php on line 136
You can see this page at thios adress : http://cluster010.ovh.net/~dvanderh/...p/plan-du-site
In the joomla administration, I put "error message" on null, but this message always appaers...
My english is not so good, but I try
- sebg
- Fresh Boarder

- Posts: 2
- Joined: Mon Apr 25, 2011 4:02 pm
Re: Xmap - Joomla 1.6 : Notice undefined...
Oops, Correct url : http://cluster010.ovh.net/~dvanderh/index.php/plan-du-site2

- sebg
- Fresh Boarder

- Posts: 2
- Joined: Mon Apr 25, 2011 4:02 pm
Re: Xmap - Joomla 1.6 : Notice undefined...
Hello,
a quick fix :
replace l 134 and 135 in components/com_xmap/displayer.php by
Best Regards
a quick fix :
replace l 134 and 135 in components/com_xmap/displayer.php by
- Code: Select all
if(isset($item->priority)){
$item->priority = $item->priority;
}else{$item->priority = 0;}
if(isset($item->changefreq)){
$item->changefreq = $item->changefreq;
}else{$item->changefreq = 0;}
Best Regards
- SEBLOD - Bes
- Fresh Boarder

- Posts: 1
- Joined: Tue May 31, 2011 7:08 pm
3 posts
• Page 1 of 1
Who is online
Users browsing this forum: Google [Bot] and 2 guests