hi,
every time I visualize the calendar I get the following error:
Fatal error: Call to a member function getNomUrl () on a non-object in / usr / share / Dolibarr / htdocs / comm / action / index.php on line 615
I have no error while viewing the list.
You know you help me?
Thanks
I had the same problem.
It began after upgrading from Dolibarr 2.9 to 3.0.
The solution is in the French forum.
Copied from there:
- First, the error…
Fatal error: Call to a member function getNomUrl() on a non-object in /[dolibarr]/htdocs/comm/action/index.php on line 615
- The solution…
In the file “[dolibarr]/htdocs/comm/action/index.php”, change line 615.
It says: $linerelatedto.=$thirdparty->getNomUrl(1,’’,$length);
It “should” say: $linerelatedto.=$cachethirdparties[$action->societe->id]->getNomUrl(1,’’,$length);
After this modification, its possible to see a new error:
Fatal error: Call to a member function getNomUrl() on a non-object in /[dolibarr]/htdocs/comm/action/index.php on line 627
Following the solution mentioned above:
- Change line 627 of the same file.
It says: $linerelatedto.=$contact->getNomUrl(1,’’,$length);
It “should” say: $linerelatedto.=$cachecontacts[$action->contact->id]->getNomUrl(1,’’,$length);
Hope it helps!
PS Many thanks to all the developers and the community in general for this great (really great!) piece of software.
beautiful!!!
I applied the change line 615 and I had no other error :-))