Kunena 7.0.2 Released

The Kunena team has announce the arrival of Kunena 7.0.2 [K 7.0.2] in stable which is now available for download as a native Joomla extension for J! 5.3.x/5.4.x/6.0.x. This version addresses most of the issues that were discovered in K 6.2 / K 6.3 / K 6.4 and issues discovered during the last development stages of K 7.0

Topics that are moved into this category are generally considered to be closed. Users may want to add additional information but these topics should not be resurrected in order to discuss new problems or unrelated matters.

Question Undefined index name ...

More
14 years 6 months ago - 14 years 6 months ago #105533 by kimba
I'm a bit perplexed by the following error message:

Notice: Undefined index: name in /home/galaxy/www/www/templates/jaw057/html/mod_mainmenu/default.php on line 85


On the page, the code on line 85 and beyond is as follows:
Code:
if ($attribs['name'] == 'user3') { $GLOBALS['menu_showSubmenus'] = true && 1 == $params->get('showAllChildren'); $xml = modMainMenuHelper::getXML($params->get('menutype'), $params, 'modMainMenuArtXMLCallback'); if ($xml) { $xml->addAttribute('class', 'art-menu'); if ($tagId = $params->get('tag_id')) { $xml->addAttribute('id', $tagId); } $result = JFilterOutput::ampReplace($xml->toString((bool)$params->get('show_whitespace'))); $result = str_replace(array('<ul/>', '<ul />'), '', $result); echo artxMenuDecorator($result); } } else { modMainMenuHelper::render($params, 'modMainMenuXMLCallback'); }

User3 on the template I'm using is the top menu position which the forum link uses as an alias link. I'm not a coder so if someone could please explain the error to me in layman's terms, that would be appreciated.

My configuration reports is as follows:
This message contains confidential information

Database collation check: The collation of your table fields are correct

Legacy mode: Disabled | Joomla! SEF: Enabled | Joomla! SEF rewrite: Enabled | FTP layer: Disabled |

This message contains confidential information
htaccess: Exists | PHP environment: Max execution time: 120 seconds | Max execution memory: 200M | Max file upload: 20M

This message contains confidential information

Joomla default template details : jaw057 | author: www.JoomlArtWork.com | version: 1.0 | creationdate: 2009-10-02

Kunena default template details : Aphotic | author: snilloconator | version: 1.6.0 | creationdate: 2010-23-09

Kunena version detailled: Installed version: 1.6.5 | Build: 5005 | Version name: Babel | Kunena detailled configuration:

Warning: Spoiler!

Third-party components: CommunityBuilder 1.7

Third-party SEF components: None

Plugins: System - Mootools Upgrade: Disabled | System - Mootools12: Disabled

Modules: None

Last edit: 14 years 6 months ago by kimba.

Please Log in or Create an account to join the conversation.

More
14 years 6 months ago #105542 by Matias
Replied by Matias on topic Re: Undefined index name ...
This is not related to Kunena in any way.. But..

Replace the line with:

if (isset($attribs) && $attribs == 'user3') {

In the future: Please avoid asking questions from other software in our support forum.

Please Log in or Create an account to join the conversation.

Time to create page: 0.262 seconds