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) »
  • Developer Discussion (Moderator: Donald Lobo) »
  • worldRegions error ??
Pages: [1]

Author Topic: worldRegions error ??  (Read 589 times)

Tom-Tigerfish

  • I’m new here
  • *
  • Posts: 14
  • Karma: 0
  • CiviCRM version: 3.4.1
  • CMS version: Drupal 6
  • MySQL version: 5.1.36
  • PHP version: 5.2.11
worldRegions error ??
July 14, 2011, 05:15:34 am
Hi Guys

In Civi 3.4.1 I am getting this error while trying to do a search on World Region with the search builder

Fatal error: Call to undefined method CRM_Core_PseudoConstant::worldregions() in /modules/civicrm/CRM/Contact/Selector.php on line 581

I have had a look at the code and if i change line 581 to "$regions   =& CRM_Core_PseudoConstant::worldRegion();"

it seems to work fine.

I'm not sure why this is happening as we have another site with Civi 3.2.5 and the exact same search works perfectly

Any ideas or help would be very much appreciated

Thanks!

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: worldRegions error ??
July 15, 2011, 01:52:05 pm

Seems like a typo. I've fixed this for the next release 3.4.5

thanx

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

Tom-Tigerfish

  • I’m new here
  • *
  • Posts: 14
  • Karma: 0
  • CiviCRM version: 3.4.1
  • CMS version: Drupal 6
  • MySQL version: 5.1.36
  • PHP version: 5.2.11
Re: worldRegions error ??
July 19, 2011, 01:20:07 am
Cool,

Cheers Lobo

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Developer Discussion (Moderator: Donald Lobo) »
  • worldRegions error ??

This forum was archived on 2017-11-26.