Page 1 of 2 12 LastLast
Results 1 to 10 of 14

Thread: Fatal Error after installing new module

  1. #1
    Crobbins is offline Junior Member
    Join Date
    Feb 2009
    Posts
    1

    Default Fatal Error after installing new module

    Fatal error: Call to a member function getQuery() on a non-object in ~/modules/Contacts/Contact.php on line 461

    This is line 461:

    $query_array=$this->user_sync->getQuery(true);

    Sugar is now completely tanked. All I get after log in is the fatal error.

    Any ideas?

    -chris

  2. #2
    ibujanov is offline Junior Member
    Join Date
    Mar 2009
    Posts
    1

    Default Re: Fatal Error after installing new module

    I can confirm the problem:

    Fatal error: Call to a member function getQuery() on a non-object in /var/www/SugarCE-Full-5.2.0a/modules/Contacts/Contact.php on line 461

    Happened after the installation of OpenSales for SugarCRM

    http://www.sugarforge.org/frs/?group_id=459

  3. #3
    lmsservices is offline Member
    Join Date
    Feb 2009
    Posts
    11

    Default Re: Fatal Error after installing new module

    I am getting the same error message after installing custom module, but I only get it on some users and not on all users.

    Fatal error: Call to a member function getQuery() on a non-object in C:\xampp\htdocs\Sugar\modules\Contacts\Contact.php on line 453


    somebody help please!

  4. #4
    lmsservices is offline Member
    Join Date
    Feb 2009
    Posts
    11

    Default Re: Fatal Error after installing new module

    I ran a repair and it seemed to fix it.
    Last edited by lmsservices; 2009-03-23 at 06:22 PM. Reason: I went in to the admin section and ran a sytem repair

  5. #5
    oshonubi is offline Member
    Join Date
    Mar 2009
    Posts
    5

    Default Re: Fatal Error after installing new module

    Can you please provide the details of the fixes you did

  6. #6
    maxpax's Avatar
    maxpax is offline Member
    Join Date
    Mar 2009
    Location
    Viareggio - Italy
    Posts
    9

    Default Re: Fatal Error after installing new module

    Hi to all,
    I'm quite new about SugarCRM and for sure I'm the newest user on this forum.
    I'm working on SugarCRM Version 4.5.1f (Build 1094), Apache 2.2.3, php 5.2.0 and MYSQL 5.0.27

    This is my problem...
    I created subPanel and related relationships between Cases and Opportunities. Every time i tried to see details against a case I got this error:

    Fatal error: Call to a member function getQuery() on a non-object in SERVER_ROOT/sugarcrm/data/SugarBean.php on line 2359

    I executed repair database and rebuilt relationships but the error is still there
    Can anyone help me on this issue?

    Thanks in advance,
    Max

  7. #7
    agardin is offline Member
    Join Date
    Feb 2005
    Posts
    6

    Default Re: Fatal Error after installing new module

    Exactly the same problem here, installed ZuckerReports, decided to uninstall it for various reasons, and I am now getting the exact same:

    Fatal error: Call to a member function getQuery() on a non-object in /modules/Contacts/Contact.php on line 461

    I thought it might be something to do with ownership and permissions on the directories but now I'm not so sure. I get the error on the main page and the contacts page, but can see many of the other pages fine. I can even get into the admin interface but running repair etc.. hasn't fixed it in my case.

    If anybody has any more ideas it would be much appreciated, not only by me, but by future people reading this thread.

    Thanks

  8. #8
    timatsyd is offline Member
    Join Date
    Sep 2009
    Posts
    9

    Default Re: Fatal Error after installing new module

    Quote Originally Posted by Crobbins View Post
    Fatal error: Call to a member function getQuery() on a non-object in ~/modules/Contacts/Contact.php on line 461

    This is line 461:

    $query_array=$this->user_sync->getQuery(true);

    Sugar is now completely tanked. All I get after log in is the fatal error.

    Any ideas?

    -chris
    I'm having the exact same issue.

    Any help would be greatly appreciated!

    I've spent hours trying to sort this.

    It seems only the home tab and contacts tab are effected though

  9. #9
    timatsyd is offline Member
    Join Date
    Sep 2009
    Posts
    9

    Default Re: Fatal Error after installing new module

    It's also screwed up the accounts column when viewing opportunities etc.

  10. #10
    timatsyd is offline Member
    Join Date
    Sep 2009
    Posts
    9

    Default Re: Fatal Error after installing new module

    I WAS ABLE TO FIX MY SITUATION, THIS IS HOW I DID IT

    After a lot of stuffing around I was able to run these repairs "Clear Chart Data Cache - Clear Template Data Cache - Clear Vardefs Data Cache" Repairs (Admin/Repair).

    This sorted the "completely tanked issue".

    If you can't get to the admin section after logging in, login and enter this url: /index.php?module=Administration

    Cheers,
    Tim

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Error installing inventory_item module
    By ashwini18 in forum Installation and Upgrade Help
    Replies: 5
    Last Post: 2009-03-22, 04:37 AM
  2. Got Fatal error after installing SugarCE-Patch-5.1.0a
    By gleung in forum Installation and Upgrade Help
    Replies: 0
    Last Post: 2008-10-27, 05:58 AM
  3. installing 4.5 on IIS step 4 problem (fatal error)
    By erpmatrix in forum Installation and Upgrade Help
    Replies: 0
    Last Post: 2007-02-28, 11:36 PM
  4. Fatal Error accessing Documents module
    By BT@work in forum Help
    Replies: 0
    Last Post: 2006-07-13, 04:09 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •