Results 1 to 4 of 4

Thread: sugarbean.php - getQuery() on a non-object

  1. #1
    Jansson is offline Junior Member
    Join Date
    Jan 2009
    Posts
    4

    Default sugarbean.php - getQuery() on a non-object

    Hi.
    ive been getting this strange error when im looking at my "accounts".
    Fatal error: Call to a member function getQuery() on a non-object in C:\Inetpub\vhosts\******\httpdocs\****\data\SugarB ean.php on line 2359

    line 2359:
    PHP Code:
    $query_array $parentbean->$related_field_name->getQuery(true,array(),0,'',true); 
    if i delete that line it works but all my history and activities, from every account, are displayed etc etc..
    I got about 7-8 user accounts, 5 of them is getting this error.
    dose anyone know how to fix this issue?

  2. #2
    andopes's Avatar
    andopes is offline A Sugar Hero | Help Forum Moderator
    Join Date
    Jul 2006
    Location
    São Paulo - Brazil
    Posts
    8,335

    Default Re: sugarbean.php - getQuery() on a non-object

    How did you install you SugarCRM?

    Did you install any further package, patch?
    Did you customize it by hand?
    Did you load some Repair tool at the Admin screen?
    What is your version?

    Cheers
    André Lopes
    DevToolKit / Project of the Month - June 2009
    Lampada Global Services- Open Source Solutions
    Avenida Ipiranga, 318
    Bloco B - CJ 1602
    São Paulo, SP 01046-010
    Brazil
    Office: +55 11 3237-3110
    Mobile: +55 11 7636-5859
    e-mail: andre@lampadaglobal.com

    Lampada Global delivers offshore software development and support services to customers around the world.
    Lampada is proud to be a SugarCRM Gold Partner, revolutionizing Customer Relationship Management.

    I DO NOT answer questions through PM and Email. If you need some help post your question into SugarForum.

  3. #3
    Jansson is offline Junior Member
    Join Date
    Jan 2009
    Posts
    4

    Default Re: sugarbean.php - getQuery() on a non-object

    Quote Originally Posted by andopes View Post
    How did you install you SugarCRM?

    Did you install any further package, patch?
    Did you customize it by hand?
    Did you load some Repair tool at the Admin screen?
    What is your version?

    Cheers
    the only "patch" i have installed is the Swedish language.
    no customized modules.
    When i got this error the first time i ran the Repair tool "repair database"
    im currently running on 4.5.1.

    This happend again, today.
    when i added a new user to the system it worked for about 5-10 min befor we got the same error .
    Maby its the Swedish language pack?. the language pack installed on the system now isnt for version 4.5.1.
    We recently moved from our webhost to a private server. when the system were online at our host it worked perfectly. After we moved to the private server i started to get this error. .
    Maby its our server configuration?.
    Also to mention is that i have never had this many users (Employees) in the system before.

    Any thoughts?

    / J

  4. #4
    andopes's Avatar
    andopes is offline A Sugar Hero | Help Forum Moderator
    Join Date
    Jul 2006
    Location
    São Paulo - Brazil
    Posts
    8,335

    Default Re: sugarbean.php - getQuery() on a non-object

    Hi Jansson

    Language pack does not affect the system this way.
    The reported error is a relationship one.
    Is there any reason to you don't upgrade your system to 5.1.0c?

    Cheers
    André Lopes
    DevToolKit / Project of the Month - June 2009
    Lampada Global Services- Open Source Solutions
    Avenida Ipiranga, 318
    Bloco B - CJ 1602
    São Paulo, SP 01046-010
    Brazil
    Office: +55 11 3237-3110
    Mobile: +55 11 7636-5859
    e-mail: andre@lampadaglobal.com

    Lampada Global delivers offshore software development and support services to customers around the world.
    Lampada is proud to be a SugarCRM Gold Partner, revolutionizing Customer Relationship Management.

    I DO NOT answer questions through PM and Email. If you need some help post your question into SugarForum.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. SugarBean.php erro
    By kinshibuya in forum Help
    Replies: 0
    Last Post: 2008-09-22, 06:39 PM
  2. What do you Want to Know about the SugarBean?
    By kpit in forum Sugar User Groups
    Replies: 9
    Last Post: 2006-11-17, 05:16 PM
  3. SugarBean.php being cached... where??
    By elRey in forum Help
    Replies: 3
    Last Post: 2006-09-06, 12:41 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
  •