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) »
  • General Discussion (please no support requests here!) (Moderator: Michał Mach) »
  • Notice: Undefined index: 1 in CRM_Pledge_Form_Pledge->buildQuickForm()
Pages: [1]

Author Topic: Notice: Undefined index: 1 in CRM_Pledge_Form_Pledge->buildQuickForm()  (Read 1136 times)

henro

  • I post occasionally
  • **
  • Posts: 115
  • Karma: -1
  • CiviCRM version: 4.5.0
  • CMS version: drupal
  • MySQL version: 4.2.7.1
  • PHP version: 5.2.0
Notice: Undefined index: 1 in CRM_Pledge_Form_Pledge->buildQuickForm()
November 10, 2014, 08:37:27 am
hi everyone, i face this issue.

 Notice: Undefined index: 1 in CRM_Pledge_Form_Pledge->buildQuickForm() (line 404 of /home/cpsorgsg/public_html/MRM/sites/all/modules/civicrm/CRM/Pledge/Form/Pledge.php).

Notice: Undefined index: 3 in CRM_Pledge_Form_Pledge->buildQuickForm() (line 404 of /home/cpsorgsg/public_html/MRM/sites/all/modules/civicrm/CRM/Pledge/Form/Pledge.php).


i don't know , why it will be?
would some one tell to me why and how to solve it, please ?

thanks in advance
« Last Edit: November 10, 2014, 08:15:06 pm by henro »

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: Notice: Undefined index: 1 in CRM_Pledge_Form_Pledge->buildQuickForm()
November 10, 2014, 11:45:59 pm
These 'notices' are not 'real' errors, but warnings about the syntax of the programme. They will not prevent any processing taking place and you are quite safe to ignore them. You will need PHP skills to 'solve' them. You can set the error levels in your CMS to make sure that only administrators see these warnings.
Consultant/project manager at EEatWork and CiviCooP (http://www.civicoop.org/)

henro

  • I post occasionally
  • **
  • Posts: 115
  • Karma: -1
  • CiviCRM version: 4.5.0
  • CMS version: drupal
  • MySQL version: 4.2.7.1
  • PHP version: 5.2.0
Re: Notice: Undefined index: 1 in CRM_Pledge_Form_Pledge->buildQuickForm()
November 11, 2014, 05:43:01 pm
i think i have solved this ,
but  i am not sure it true,

i deleted rows from "civicrm_pledge_block" table in civicrm database

thanks Erick

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: Notice: Undefined index: 1 in CRM_Pledge_Form_Pledge->buildQuickForm()
November 12, 2014, 12:09:44 am
That might be a temporary fix, but the 'notice' problem is still in the code. But it will not hurt you, it is more untidy than an error?
Consultant/project manager at EEatWork and CiviCooP (http://www.civicoop.org/)

henro

  • I post occasionally
  • **
  • Posts: 115
  • Karma: -1
  • CiviCRM version: 4.5.0
  • CMS version: drupal
  • MySQL version: 4.2.7.1
  • PHP version: 5.2.0
Re: Notice: Undefined index: 1 in CRM_Pledge_Form_Pledge->buildQuickForm()
November 12, 2014, 05:30:49 pm
Thanks so much for your suggestion Erick.

could you like tell me, how can i set the error will appear only for administrator.


thanks again.

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: Notice: Undefined index: 1 in CRM_Pledge_Form_Pledge->buildQuickForm()
November 12, 2014, 11:24:17 pm
That is in your CMS, which one are you using?
Consultant/project manager at EEatWork and CiviCooP (http://www.civicoop.org/)

henro

  • I post occasionally
  • **
  • Posts: 115
  • Karma: -1
  • CiviCRM version: 4.5.0
  • CMS version: drupal
  • MySQL version: 4.2.7.1
  • PHP version: 5.2.0
Re: Notice: Undefined index: 1 in CRM_Pledge_Form_Pledge->buildQuickForm()
November 13, 2014, 01:43:52 am
thanks again for the response sir  :D
i use drupal 7.32  cms and civicrm 4.5.2

rgrds

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: Notice: Undefined index: 1 in CRM_Pledge_Form_Pledge->buildQuickForm()
November 13, 2014, 03:46:15 am
OK, so in Drupal/Configuration/Logging and errors you can change the settings to "Errors and warnings", that should do the trick with the Notices.
And there are Drupal modules that allow you to do more, like this one: https://www.drupal.org/project/disable_messages
Consultant/project manager at EEatWork and CiviCooP (http://www.civicoop.org/)

henro

  • I post occasionally
  • **
  • Posts: 115
  • Karma: -1
  • CiviCRM version: 4.5.0
  • CMS version: drupal
  • MySQL version: 4.2.7.1
  • PHP version: 5.2.0
Re: Notice: Undefined index: 1 in CRM_Pledge_Form_Pledge->buildQuickForm()
November 13, 2014, 06:35:20 pm
 :D

thanks for you kindness

Erick

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • General Discussion (please no support requests here!) (Moderator: Michał Mach) »
  • Notice: Undefined index: 1 in CRM_Pledge_Form_Pledge->buildQuickForm()

This forum was archived on 2017-11-26.