If you are seeing a "Save failed with the following error: MenusTableMenu::_getNode(1, ) failed." message when creating a new menu item or edit an existing menu item in Joomla, it usually means there is a record missing from your menu table. Here's how to fix that.
Note: before you make any edits, it's always a good idea to have a verified backup available.
Access your database using PhpMyAdmin or whatever database tool you like. Next, add the record back in using the following statement. Change the database table name prefix to match your own.
INSERT INTO prefix_menu (`id` ,`menutype` ,`title` ,`alias` ,`note` ,`path` ,`link` ,`type` ,`published` ,`parent_id` ,`level` ,`component_id` ,`checked_out` ,`checked_out_time` ,`browserNav` ,`access` ,`img` ,`template_style_id` ,`params` ,`lft` ,`rgt` ,`home` ,`language` ,`client_id` )
VALUES ( "1", "", "Menu_Item_Root", "root", "", "", "", "", "1", "0", "0", "0", "0", "0000-00-00 00:00:00", "0", "0", "", "0", "", "0", "0", "0", "*", "0")
Next, we need to rebuild the menus. To do that, in the administrator panel of your Joomla website, navigate to Menus > Menu Manager. On the Menu Manager screen, select all menus and click on the buttton 'Rebuild'. This step fixes the positioning of the menu record you added in step one.
That it. you've successfully fixed the getNode failed issue. If you have any further problems with your Joomla website, get in touch with the Joomla Experts.
JoomlaExpert offers a full range of specialist Joomla website packages coupled with professional Joomla advice & long term support. With clients based in the UK, Scotland, Republic of Ireland, Northern Ireland, the United States, Canada and and Australia we work with a diverse range of businesses providing world-class Joomla solutions. With specialist partners in Marketing, Graphic Design, Video Production, Hosting & Development, we manage your Joomla projects from end-to-end.
Dr. Ultan Sharkey (BBLS, MBS, Ph.D.) is an ecommerce consultant specializing in online shopping businesses. He holds a Masters degree in Ecommerce and a PhD in Online Shopping Experience from National University of Ireland Galway where he is also an Adjunct Lecturer in the business school. He also owns www.barefoot.ie, a Joomla based online shop for top-brand fitness equipment. He is also a founding member of the eCommerce Association of Ireland (www.ecai.ie).
Ultan and his team have over 10 years experience with Joomla having worked with it since it forked from the Mambo CMS back in 2005.
Need Joomla Help? Get a free professional assessment!
Latest from Joomla Expert
- How to display the module positions overlay on Joomla
- Spring Cleaning your Joomla website
- Removing the 'No additional Charge' or price addition from a custom filed cart variant dropdown
- Solving the vmError: Warning, the Safe Path is not accessible (does not exist or no permission)
- What is the default password reset link for Joomla 3?