Saturday, 01 November 2014 02:46
beggarly

Xmap - Joomla 1.6 : Notice undefined...

Report Xmap bugs on this forum.

Xmap - Joomla 1.6 : Notice undefined...

Postby sebg » Mon Apr 25, 2011 4:08 pm

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. :

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 :P Can you help me ?
sebg
Fresh Boarder
Fresh Boarder
 
Posts: 2
Joined: Mon Apr 25, 2011 4:02 pm

Re: Xmap - Joomla 1.6 : Notice undefined...

Postby sebg » Mon Apr 25, 2011 7:15 pm

Oops, Correct url : http://cluster010.ovh.net/~dvanderh/index.php/plan-du-site2

;)
sebg
Fresh Boarder
Fresh Boarder
 
Posts: 2
Joined: Mon Apr 25, 2011 4:02 pm

Re: Xmap - Joomla 1.6 : Notice undefined...

Postby SEBLOD - Bes » Tue May 31, 2011 7:10 pm

Hello,

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
Fresh Boarder
 
Posts: 1
Joined: Tue May 31, 2011 7:08 pm


Return to Bugs



Who is online

Users browsing this forum: No registered users and 1 guest

cron