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) »
  • Discussion (deprecated) »
  • Alpha and Beta Release Testing »
  • 4.5 Release Testing »
  • [Resolved] Contribution: One of parameters (value: ) is not of the type Integer
Pages: [1]

Author Topic: [Resolved] Contribution: One of parameters (value: ) is not of the type Integer  (Read 524 times)

lee.gooding

  • I post occasionally
  • **
  • Posts: 83
  • Karma: 1
    • Clear River Church
  • CiviCRM version: 4.5
  • CMS version: Drupal 7
  • MySQL version: 5.7
  • PHP version: 5.3
[Resolved] Contribution: One of parameters (value: ) is not of the type Integer
September 03, 2014, 12:42:25 pm
I am getting the following error when attempting to make a contribution from a page I have created. I am using PayJunction to process transactions. I get the error when I click "Confirm Contribution". It will show even if I do not enter any credit card information.

Thanks for any help!

Code: [Select]
backTrace

#0 /var/aegir/platforms/drupal-7.31/sites/all/modules/civicrm/CRM/Core/Error.php(380): CRM_Core_Error::backtrace()
#1 /var/aegir/platforms/drupal-7.31/sites/all/modules/civicrm/CRM/Utils/Type.php(347): CRM_Core_Error::fatal("One of parameters  (value: ) is not of the type Integer")
#2 /var/aegir/platforms/drupal-7.31/sites/all/modules/civicrm/CRM/Core/DAO.php(1183): CRM_Utils_Type::validate(FALSE, "Integer")
#3 /var/aegir/platforms/drupal-7.31/sites/all/modules/civicrm/CRM/Core/DAO.php(1102): CRM_Core_DAO::composeQuery("SELECT membership_type_id FROM civicrm_membership WHERE contact_id = %1 AND s...", (Array:3), TRUE)
#4 /var/aegir/platforms/drupal-7.31/sites/all/modules/civicrm/CRM/Member/BAO/Membership.php(2936): CRM_Core_DAO::executeQuery("SELECT membership_type_id FROM civicrm_membership WHERE contact_id = %1 AND s...", (Array:3))
#5 /var/aegir/platforms/drupal-7.31/sites/all/modules/civicrm/CRM/Contribute/Form/Contribution/Main.php(813): CRM_Member_BAO_Membership::getContactsCancelledMembership("2", 0)
#6 [internal function](): CRM_Contribute_Form_Contribution_Main::formRule((Array:23), (Array:0), Object(CRM_Contribute_Form_Contribution_Main))
#7 /var/aegir/platforms/drupal-7.31/sites/all/modules/civicrm/packages/HTML/QuickForm.php(1598): call_user_func((Array:2), (Array:23), (Array:0), Object(CRM_Contribute_Form_Contribution_Main))
#8 /var/aegir/platforms/drupal-7.31/sites/all/modules/civicrm/CRM/Core/Form.php(397): HTML_QuickForm->validate()
#9 /var/aegir/platforms/drupal-7.31/sites/all/modules/civicrm/CRM/Core/QuickForm/Action/Upload.php(142): CRM_Core_Form->validate()
#10 /var/aegir/platforms/drupal-7.31/sites/all/modules/civicrm/CRM/Core/QuickForm/Action/Upload.php(129): CRM_Core_QuickForm_Action_Upload->realPerform(Object(CRM_Contribute_Form_Contribution_Main), "upload")
#11 /var/aegir/platforms/drupal-7.31/sites/all/modules/civicrm/packages/HTML/QuickForm/Controller.php(203): CRM_Core_QuickForm_Action_Upload->perform(Object(CRM_Contribute_Form_Contribution_Main), "upload")
#12 /var/aegir/platforms/drupal-7.31/sites/all/modules/civicrm/packages/HTML/QuickForm/Page.php(103): HTML_QuickForm_Controller->handle(Object(CRM_Contribute_Form_Contribution_Main), "upload")
#13 /var/aegir/platforms/drupal-7.31/sites/all/modules/civicrm/CRM/Core/Controller.php(356): HTML_QuickForm_Page->handle("upload")
#14 /var/aegir/platforms/drupal-7.31/sites/all/modules/civicrm/CRM/Core/Invoke.php(331): CRM_Core_Controller->run((Array:3), NULL)
#15 /var/aegir/platforms/drupal-7.31/sites/all/modules/civicrm/CRM/Core/Invoke.php(75): CRM_Core_Invoke::runItem((Array:15))
#16 /var/aegir/platforms/drupal-7.31/sites/all/modules/civicrm/CRM/Core/Invoke.php(52): CRM_Core_Invoke::_invoke((Array:3))
#17 /var/aegir/platforms/drupal-7.31/sites/all/modules/civicrm/drupal/civicrm.module(457): CRM_Core_Invoke::invoke((Array:3))
#18 [internal function](): civicrm_invoke("contribute", "transact")
#19 /var/aegir/platforms/drupal-7.31/includes/menu.inc(517): call_user_func_array("civicrm_invoke", (Array:2))
#20 /var/aegir/platforms/drupal-7.31/index.php(21): menu_execute_active_handler()
#21 {main}
Sorry but we are not able to provide this at the moment.
One of parameters (value: ) is not of the type Integer
« Last Edit: September 08, 2014, 07:33:47 am by lee.gooding »

lee.gooding

  • I post occasionally
  • **
  • Posts: 83
  • Karma: 1
    • Clear River Church
  • CiviCRM version: 4.5
  • CMS version: Drupal 7
  • MySQL version: 5.7
  • PHP version: 5.3
Re: Contribution Error: One of parameters (value: ) is not of the type Integer
September 08, 2014, 07:33:22 am
It turns out that there are some bugs with the current PayJunction pjClasses.php. I received an updated version from them and was able to get it working properly.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Discussion (deprecated) »
  • Alpha and Beta Release Testing »
  • 4.5 Release Testing »
  • [Resolved] Contribution: One of parameters (value: ) is not of the type Integer

This forum was archived on 2017-11-26.