AnsweredAssumed Answered

Fatal error in custom module when install

Question asked by pavan agrawal on Mar 8, 2018
Latest reply on Mar 8, 2018 by Patrick McQueen

Hi,

 

We have created a custom basic module in SugarCRM pro v7.9.01.

When we install it getting fatal error.

 

PHP Fatal error: Uncaught exception 'SugarApiExceptionInvalidParameter' with message 'Invalid link created_by_link' in /var/www/html/include/SugarQuery/SugarQuery.php:941\nStack trace:\n#0 /var/www/html/include/SugarQuery/SugarQuery.php(371): SugarQuery->loadBeans('created_by_link', Array)\n#1 /var/www/html/data/SugarBean.php(3084): SugarQuery->join('created_by_link', Array)\n#2 /var/www/html/include/SugarObjects/templates/person/Person.php(37): SugarBean->retrieve(1, false, true)\n#3 /var/www/html/modules/Users/User.php(781): Person->retrieve(1, false, true)\n#4 /var/www/html/data/BeanFactory.php(90): User->retrieve(1, false, true)\n#5 /var/www/html/modules/ProjectTask/ProjectTask.php(75): BeanFactory::getBean('Users', 1)\n#6 /var/www/html/data/BeanFactory.php(238): ProjectTask->__construct()\n#7 /var/www/html/include/SugarObjects/VardefManager.php(769): BeanFactory::newBean('Project in /var/www/html/include/SugarQuery/SugarQuery.php on line 941

 

How to fix it? Thanks!

Outcomes