× Please submit new Bug Reports on GitHub: github.com/Jensen-Technologies/component-creator-issues/issues

Error: JTableMenu::_getNode(1, ) failed.

7 年 4 个月 前 #1580 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?
The following user(s) said Thank You: conNeTv, Ryan, Andrew Kershaw

Please 登录注册一个帐号 to join the conversation.

6 年 5 个月 前 - 6 年 5 个月 前 #1786 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:
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 年 5 个月 前 by Steven Pignataro.

Please 登录注册一个帐号 to join the conversation.

6 年 5 个月 前 #1787 David Vargas
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 登录注册一个帐号 to join the conversation.

创建页面时间:0.068秒
核心: Kunena 论坛

We use cookies so that you can place orders and we can provide a better service. You can control the use of cookies at the individual browser level. If you reject cookies, you may still use our website, but your ability to use some features or areas of our website may be limited.