Saturday, 20 December 2014 20:54
beggarly

PHP Notice in 1.2.5

Report Xmap bugs on this forum.

PHP Notice in 1.2.5

Postby AlCher » Sun Dec 20, 2009 8:02 pm

After upgrade to 1.2.5 I get on frontend's Sitemap for name of categories, sections:

Notice: Undefined index: articles_order in ..\administrator\components\com_xmap\extensions\com_content.php on line 154 (160, 310, 313)

This is the code:

Code: Select all
      if ($params['articles_order'] == 'menu') {
         $orderby = $menuparams->get('orderby');
         if ( !$orderby ) {
            $orderby = $menuparams->get('orderby_sec','rdate');
         }
      } else {
         $orderby = $params['articles_order'];
      }

How can this be fixed?
AlCher
Fresh Boarder
Fresh Boarder
 
Posts: 1
Joined: Wed May 20, 2009 2:41 pm

Re: PHP Notice in 1.2.5

Postby guilleva » Mon Dec 21, 2009 6:46 pm

Hi, thanks for reporting me that!

There are two things you can do:
1- Check the options of the content extension in Xmap's backend and click save (there is no need to modify anything)

or

2- Update your plugin with this version:
xmap_com_content-1.5.1-j15.zip
(5.07 KiB) Downloaded 448 times
User avatar
guilleva
Administrator
Administrator
 
Posts: 1527
Joined: Wed Sep 12, 2007 3:10 am
Location: San José, Costa Rica


Return to Bugs



Who is online

Users browsing this forum: Bing [Bot] and 1 guest