Call to a member function addLink()

Di più
17/12/2019 10:31 #3555 da info@officinainformatica.click
When I install the VTENEXT CRM I have this error:

Fatal error: Uncaught Error: Call to a member function addLink() on bool in \modules\ModComments\ModComments.php:103 Stack trace: \modules\ModComments\ModComments.php(154): ModComments::addWidgetTo(Array) \install\CreateTables.php(77): ModComments->addWidgetToAll() \install.php(63): include('D:\home\h461888...') {main} thrown in \modules\ModComments\ModComments.php on line 103

I did some debug and saw that:
\modules\ModComments\ModComments.php at line 102
$modCommentsModule = Vtiger_Module::getInstance('ModComments');
$modCommentsModule is null è nullo and addLink is impossible to run

also in:
\modules\MyNotes\MyNotes.php at line 240
$currentModuleInstance = Vtecrm_Module::getInstance('MyNotes');
$currentModuleInstance is null and setRelatedList is impossible to run

getInstance go to search on db vte_tab ModComments and MyNotes but this 2 records not exists.

I added a "IF" before to verify the variable is not null and the installation was completed.

But when I make a login in one box I have error: ModComments module is not active

Thanks
Ringraziano per il messaggio: tebby

Si prega Accedi a partecipare alla conversazione.

Di più
17/12/2019 15:33 #3556 da tebby
Hello,
did you try to uninstall and reinstall it again?
It seems that your installation of vtenext has not been completed at all.

Si prega Accedi a partecipare alla conversazione.

Di più
17/12/2019 19:54 #3561 da info@officinainformatica.click
yes a lot of times also removing the database and file config.inc.php

Si prega Accedi a partecipare alla conversazione.

Di più
18/12/2019 08:57 #3563 da dende
Well, you have to start again from the beginning so removing only config.inc.php is not enough

Si prega Accedi a partecipare alla conversazione.

Di più
18/12/2019 12:06 #3564 da info@officinainformatica.click

denis ha scritto: Well, you have to start again from the beginning so removing only config.inc.php is not enough


can you explain me how? I delete the database and removed config.inc.php and copying again the hash_version.txt on the root.

is it not sufficient?

Si prega Accedi a partecipare alla conversazione.

Di più
18/12/2019 12:13 #3565 da dende
No, you have to start from 0.
So you have to remove all the files of VTE and start as the first time

Si prega Accedi a partecipare alla conversazione.

Tempo creazione pagina: 0.197 secondi