Results 1 to 4 of 4

Thread: Fatal error: Call to a member function getQuery() on a non-object Contact.php on line

  1. #1
    nat8100 is offline Senior Member
    Join Date
    May 2009
    Posts
    27

    Default Fatal error: Call to a member function getQuery() on a non-object Contact.php on line

    I have Sugar Version 5.2.0e (Build 5626) community edition, not sure how to find what apache server version I am using?

    I am new to this and have made a rookie mistake, or several! I have this error on the home page and contacts page:

    Fatal error: Call to a member function getQuery() on a non-object in /homepages/4/etc/htdocs/sugar/modules/Contacts/Contact.php on line 462

    lines 461 and 462 are:

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

    although I don't suppose this is the problem

    I think the problem occured when upgrading from 5.2.0c to e

    I have tried rebuilding relationships and repairing database etc. but to no avail.

    I would greatly appreciate any help anyone can give me as it was all going so well before this!

    Thank you

  2. #2
    leenuxwu is offline Senior Member
    Join Date
    Jun 2009
    Location
    Guangzhou,China
    Posts
    188

    Default Re: Fatal error: Call to a member function getQuery() on a non-object Contact.php on

    Seems recently , many people have confronted this problem. I have tried all I could, repair relationship, repair database. Just in vain. The error is still showing for the Home module and Contacts module.

  3. #3
    alexkash is offline Member
    Join Date
    Mar 2008
    Posts
    8

    Default Re: Fatal error: Call to a member function getQuery() on a non-object Contact.php on

    I have this problem too, after silent upgrade 5.2 to 5.5

  4. #4
    pgwalsh is offline Member
    Join Date
    Dec 2009
    Location
    Menlo Park, CA
    Posts
    9

    Default Re: Fatal error: Call to a member function getQuery() on a non-object Contact.php on

    I had the same problem.

    I went to: http://MYINSTALLATION/index.php?modu...n&action=index

    I repaired the relationships and everything else and it works fine now.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 9
    Last Post: 2012-01-10, 10:36 AM
  2. Replies: 8
    Last Post: 2010-01-19, 01:41 AM
  3. Fatal error: Call to a member function read() on a non-object
    By oscarpardus in forum Installation and Upgrade Help
    Replies: 6
    Last Post: 2009-05-09, 01:49 AM
  4. Replies: 4
    Last Post: 2006-09-26, 02:21 PM
  5. Replies: 0
    Last Post: 2005-12-18, 08:16 AM

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
  •