CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • 4.5.2 Warning: mysqli_error() expects parameter 1 to be mysqli...
Pages: [1]

Author Topic: 4.5.2 Warning: mysqli_error() expects parameter 1 to be mysqli...  (Read 294 times)

tv2011

  • I post occasionally
  • **
  • Posts: 51
  • Karma: 0
  • CiviCRM version: 4.5
  • CMS version: Drupal
  • MySQL version: 5
  • PHP version: 5
4.5.2 Warning: mysqli_error() expects parameter 1 to be mysqli...
November 17, 2014, 04:06:31 am
Hi, I'm getting this error when updating an organisation in 4.5.2:

Warning: mysqli_error() expects parameter 1 to be mysqli, resource given in CRM_Core_Error::handle() (line 224 of /srv/domain.tld/public/htdocs/sites/all/modules/civicrm/CRM/Core/Error.php)


Any ideas what's going wrong?

Erik Hommel

  • Forum Godess / God
  • I live on this forum
  • *****
  • Posts: 1773
  • Karma: 59
    • EE-atWork
  • CiviCRM version: all sorts
  • CMS version: Drupal
  • MySQL version: Ubuntu's latest LTS version
  • PHP version: Ubuntu's latest LTS version
Re: 4.5.2 Warning: mysqli_error() expects parameter 1 to be mysqli...
November 17, 2014, 11:12:41 pm
No, not without debugging the actual situation :-) But it has to do something with the sequence of the parameters passed to a certain command. As it is a warning I assume your transaction is completed?
Consultant/project manager at EEatWork and CiviCooP (http://www.civicoop.org/)

tv2011

  • I post occasionally
  • **
  • Posts: 51
  • Karma: 0
  • CiviCRM version: 4.5
  • CMS version: Drupal
  • MySQL version: 5
  • PHP version: 5
Re: 4.5.2 Warning: mysqli_error() expects parameter 1 to be mysqli...
November 18, 2014, 07:40:29 am
Yes, updating the record works ok. Oddly, I haven't seen it since yesterday - it happened when entering a phone number or email address for an organisation contact.

Erik Hommel

  • Forum Godess / God
  • I live on this forum
  • *****
  • Posts: 1773
  • Karma: 59
    • EE-atWork
  • CiviCRM version: all sorts
  • CMS version: Drupal
  • MySQL version: Ubuntu's latest LTS version
  • PHP version: Ubuntu's latest LTS version
Re: 4.5.2 Warning: mysqli_error() expects parameter 1 to be mysqli...
November 18, 2014, 10:00:43 am
It is possible there was a specific situation with the contact you were updating that does not occur with others. If it would occur with all contacts, the message is usually picked up during development :-)
Consultant/project manager at EEatWork and CiviCooP (http://www.civicoop.org/)

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • 4.5.2 Warning: mysqli_error() expects parameter 1 to be mysqli...

This forum was archived on 2017-11-26.