Results 1 to 3 of 3

Thread: Catchable fatal error: Object of class mysqli_result could not be converted to string

  1. #1
    LGnord is offline Senior Member
    Join Date
    Jun 2008
    Posts
    20

    Default Catchable fatal error: Object of class mysqli_result could not be converted to string

    Hi,

    I use sugarCRM to send a newsletter. Sugar adds automatically the followind sentence:

    To remove yourself from this email list click here

    But when I click on the link (in test mode), I get the following message:

    Catchable fatal error: Object of class mysqli_result could not be converted to string in

    /home/XXX/domains/XXXX/public_html/sugarcrm/modules/Campaigns/utils.php on line 620

    What can I do?

    [edit] I use sugarCRM 5.0

    Thanks for you help.

  2. #2
    kuske's Avatar
    kuske is offline Sugar Community Member
    Join Date
    Oct 2007
    Location
    Germany
    Posts
    2,678

    Default Re: Catchable fatal error: Object of class mysqli_result could not be converted to string

    Change line 620 of the above file from

    $GLOBALS['log']->debug("In Campaigns Util, about to run query: ".$pl_qry_result);

    to

    $GLOBALS['log']->debug("In Campaigns Util, about to run query: ".$pl_qry);

    It is a simple bug, which was removed between 5.0.0a and 5.0.0f
    Harald Kuske
    Senior Sales Engineer Central Europe

    SUGARCRM Deutschland GmbH
    Erika-Mann-Str. 53, 80636 Munich, Germany
    Email: hkuske@sugarcrm.com
    Home: http://www.sugarcrm.com

    PLEASE SWITCH TO
    https://community.sugarcrm.com/, the FORUMS will be closed !


  3. #3
    LGnord is offline Senior Member
    Join Date
    Jun 2008
    Posts
    20

    Default Re: Catchable fatal error: Object of class mysqli_result could not be converted to st

    Hi kuske,

    It works.

    Thanks for your help.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Query Failed: AND users.id = '1'::MySQL error 1064:
    By artco001 in forum Installation and Upgrade Help
    Replies: 63
    Last Post: 2009-05-07, 06:56 AM
  2. Replies: 19
    Last Post: 2008-04-11, 06:41 PM
  3. Fatal error PEAR Class with executeQuery
    By krakoss2 in forum Developer Help
    Replies: 0
    Last Post: 2008-02-19, 10:11 AM
  4. Replies: 5
    Last Post: 2007-11-13, 03:51 PM
  5. Is someone attacking my system?
    By guz843 in forum Help
    Replies: 2
    Last Post: 2006-04-24, 12:55 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
  •