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

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

7 år 6 måneder siden #1580 af Russell English
Error: JTableMenu::_getNode(1, ) failed. blev oprettet af 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?
Følgende bruger(e) sagde tak: conNeTv, Ryan, Andrew Kershaw

Venligst Log på eller Opret en konto for at deltage i samtalen

6 år 7 måneder siden - 6 år 7 måneder siden #1786 af Steven Pignataro
Besvaret af Steven Pignataro på emne 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.
Sidste redigering: 6 år 7 måneder siden ved Steven Pignataro.

Venligst Log på eller Opret en konto for at deltage i samtalen

6 år 7 måneder siden #1787 af David Vargas
Besvaret af David Vargas på emne 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.

Venligst Log på eller Opret en konto for at deltage i samtalen

Tid til at oprette siden: 0.056 sekunder
Leveret af Kunena Forum

Vi we benytter cookies, så vi bedst muligt kan levere vores services. For mere information, se vores