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) »
  • lots of errors after upgrading to 4.2
Pages: [1]

Author Topic: lots of errors after upgrading to 4.2  (Read 1427 times)

majovdh

  • I post occasionally
  • **
  • Posts: 58
  • Karma: 2
    • Chautaara VZW
  • CiviCRM version: 4.2.6
  • CMS version: drupal 7.17
  • MySQL version: 5.1.56
  • PHP version: 5.2.17
lots of errors after upgrading to 4.2
August 30, 2012, 09:46:15 am
Hello,

i'm getting shitloads of errors after upgrading to Civicrm 4.2, all like these :


    Notice: Undefined index: 1151 in CRM_Core_Config_Variables->provinceLimit() (regel 565 van /home/chautaar/public_html/chautaaradr7/sites/all/modules/civicrm/CRM/Core/Config/Variables.php).
    Notice: Undefined index: 1151 in CRM_Core_Config_Variables->countryLimit() (regel 540 van /home/chautaar/public_html/chautaaradr7/sites/all/modules/civicrm/CRM/Core/Config/Variables.php).
    Notice: Undefined index: 1151 in CRM_Core_Config_Variables->countryLimit() (regel 540 van /home/chautaar/public_html/chautaaradr7/sites/all/modules/civicrm/CRM/Core/Config/Variables.php).

and


    Notice: Undefined index: 1151 in CRM_Core_Config_Variables->provinceLimit() (regel 565 van /home/chautaar/public_html/chautaaradr7/sites/all/modules/civicrm/CRM/Core/Config/Variables.php).
    Notice: Undefined index: 1151 in CRM_Core_Config_Variables->countryLimit() (regel 540 van /home/chautaar/public_html/chautaaradr7/sites/all/modules/civicrm/CRM/Core/Config/Variables.php).
    Notice: Undefined index: price_field_id in CRM_Contribute_Form_Contribution->postProcess() (regel 1175 van /home/chautaar/public_html/chautaaradr7/sites/all/modules/civicrm/CRM/Contribute/Form/Contribution.php).



anyone having an idea what the problem might be?

Greetings Majo
« Last Edit: August 30, 2012, 09:50:15 am by majovdh »

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: lots of errors after upgrading to 4.2
August 31, 2012, 09:50:37 am
Where do you get these errors? Any specific page or action ?

Kurund
Found this reply helpful? Support CiviCRM

Luciano S.

  • I post occasionally
  • **
  • Posts: 83
  • Karma: 2
  • iXiam Team Leader
  • CiviCRM version: 4.2+ / 4.3+ / 4.4+
  • CMS version: Drupal
  • MySQL version: 5.1+ / 5.5+
  • PHP version: 5.3+ / 5.4+
Re: lots of errors after upgrading to 4.2
September 05, 2012, 02:19:07 am
I'm getting the same errors in Contribution and Contact Form, but I cannot reproduce it in the sandbox

Code: [Select]
Notice: Undefined index: 1151 in CRM_Core_Config_Variables->countryLimit() (line 540 of /data/www/migrastudium/sites/all/modules/civicrm/CRM/Core/Config/Variables.php).

I will try to look into deeper to find the cause

Luciano S.

  • I post occasionally
  • **
  • Posts: 83
  • Karma: 2
  • iXiam Team Leader
  • CiviCRM version: 4.2+ / 4.3+ / 4.4+
  • CMS version: Drupal
  • MySQL version: 5.1+ / 5.5+
  • PHP version: 5.3+ / 5.4+
Re: lots of errors after upgrading to 4.2
September 05, 2012, 02:27:20 am
Solved in my case.

My previous CiviCRM had all the countries available. When update to 4.2 maybe there are new or deleted countries in the list, that makes and error with and undefined index in an country array.
To solve it I went to Localization, added a couple of new countries that were in the list, Saved it and the error dissapears

cheers!

britebyte

  • I post occasionally
  • **
  • Posts: 70
  • Karma: 2
  • CiviCRM version: Several 3.4+, 4.1+
  • CMS version: Drupal 6, Drupal7
  • MySQL version: Several 5.1+
  • PHP version: Several 5.2+
Re: lots of errors after upgrading to 4.2
September 19, 2012, 06:29:05 am
sluc23: Thanks for posting your solution. It worked for me as well.

sonicthoughts

  • Ask me questions
  • ****
  • Posts: 498
  • Karma: 10
Re: lots of errors after upgrading to 4.2
December 10, 2012, 09:03:59 pm
thanks.  yes, we had to edit the occupied palestinian territory reference - that must be it.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Upgrading CiviCRM (Moderator: Deepak Srivastava) »
  • lots of errors after upgrading to 4.2

This forum was archived on 2017-11-26.