×
Please submit new Bug Reports on GitHub: github.com/Jensen-Technologies/component-creator-issues/issues
Error: JTableMenu::_getNode(1, ) failed.
Russell English
Junior Member
Posts: 21
7 years 6 months ago #1580
by Russell English
Error: JTableMenu::_getNode(1, ) failed. was created by Russell English
When installing new versions of extensions (after building them in Component Creator) I'm being shown the following error message:
Error: JTableMenu::_getNode(1, ) failed.
This then doesn't install correctly.
This happens after the extension installs correctly for the first time.
Any ideas please?
Error: JTableMenu::_getNode(1, ) failed.
This then doesn't install correctly.
This happens after the extension installs correctly for the first time.
Any ideas please?
The following user(s) said Thank You: conNeTv, Ryan, Andrew Kershaw
Please Log in or Create an account to join the conversation.
Steven Pignataro
New Member
Posts: 2
6 years 7 months ago - 6 years 7 months ago #1786
by Steven Pignataro
Replied by Steven Pignataro on topic Error: JTableMenu::_getNode(1, ) failed.
This is normally because the root node has been deleted somehow - it happens with Component Creator from time to time (I think it is because of two views with the same name, not sure...). To fix this you need to manually reinsert the root node to the menus table:
Then go admin->menus->all menu items and click "Rebuild" in the top menu.
INSERT INTO `MYPREFIX_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, 45, 0, '*', 0)
Then go admin->menus->all menu items and click "Rebuild" in the top menu.
Last edit: 6 years 7 months ago by Steven Pignataro.
Please Log in or Create an account to join the conversation.
David Vargas
New Member
Posts: 17
6 years 7 months ago #1787
by David Vargas
I can confirm this is the reason why it happens.
The bug was submitted to GitHub and we are working on it.
Meantime, it can only be solved manually as Steven indicates, as it modifies some external tables on install and uninstall.
Replied by David Vargas on topic Error: JTableMenu::_getNode(1, ) failed.
it happens with Component Creator from time to time (I think it is because of two views with the same name, not sure...)
I can confirm this is the reason why it happens.
The bug was submitted to GitHub and we are working on it.
Meantime, it can only be solved manually as Steven indicates, as it modifies some external tables on install and uninstall.
Please Log in or Create an account to join the conversation.
Time to create page: 0.051 seconds