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 »
  • Upgrading CiviCRM (Moderator: Deepak Srivastava) »
  • "One of parameters is not of type Integer" after Upgrading to 3.4.6
Pages: [1]

Author Topic: "One of parameters is not of type Integer" after Upgrading to 3.4.6  (Read 1081 times)

pbarmak

  • I post occasionally
  • **
  • Posts: 111
  • Karma: 3
  • CiviCRM version: 3.3.5
  • CMS version: Pressflow 6.19
  • MySQL version: 5.1
  • PHP version: 5.2.10
"One of parameters is not of type Integer" after Upgrading to 3.4.6
September 26, 2011, 10:03:59 am
Hey all,
I've been trying to upgrade from our 3.3.5 install to 3.4.6.  Everything seemed to go fine during the upgrade.  But every time I click on a Contact, I get the following error (and no contact information shows): "One of parameters (value: ) is not of the type Integer"

I'm not sure what this error means (doesn't provide much info) ...

Here is the backtrace if it helps:
Code: [Select]
backTrace

/var/www/civicrm/sites/all/modules/civicrm/CRM/Core/Error.php, backtrace, 296
/var/www/civicrm/sites/all/modules/civicrm/CRM/Utils/Type.php, fatal, 282
/var/www/civicrm/sites/all/modules/civicrm/CRM/Core/DAO.php, validate, 933
/var/www/civicrm/sites/all/modules/civicrm/CRM/Core/DAO.php, composeQuery, 904
/var/www/civicrm/sites/all/fei_civi_custom/php/CRM/Activity/BAO/Activity.php, singleValueQuery, 894
/var/www/civicrm/sites/all/modules/civicrm/CRM/Contact/BAO/Contact.php, getActivitiesCount, 2230
/var/www/civicrm/sites/all/modules/civicrm/CRM/Contact/Page/View/Summary.php, getCountComponent, 314
/var/www/civicrm/sites/all/modules/civicrm/CRM/Contact/Page/View/Summary.php, view, 99
/var/www/civicrm/sites/all/modules/civicrm/CRM/Core/Invoke.php, run, 223
/var/www/civicrm/sites/all/modules/civicrm/drupal/civicrm.module, invoke, 360
, civicrm_invoke,
/var/www/civicrm/includes/menu.inc, call_user_func_array, 349
/var/www/civicrm/index.php, menu_execute_active_handler, 17

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: "One of parameters is not of type Integer" after Upgrading to 3.4.6
September 26, 2011, 10:40:10 am

this is happening in your custom code, check the backtrace, specifically this line:

/var/www/civicrm/sites/all/fei_civi_custom/php/CRM/Activity/BAO/Activity.php, singleValueQuery, 894

lobo

A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

pbarmak

  • I post occasionally
  • **
  • Posts: 111
  • Karma: 3
  • CiviCRM version: 3.3.5
  • CMS version: Pressflow 6.19
  • MySQL version: 5.1
  • PHP version: 5.2.10
Re: "One of parameters is not of type Integer" after Upgrading to 3.4.6
September 26, 2011, 10:51:20 am
Shoot, I forgot to merge some of the custom code ... thanks for noticing that, I totally missed the path in the backtrace.  Appreciate it!

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Upgrading CiviCRM (Moderator: Deepak Srivastava) »
  • "One of parameters is not of type Integer" after Upgrading to 3.4.6

This forum was archived on 2017-11-26.