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 »
  • 3.1 Release Testing »
  • Class 'CRM_Core_BAO_CustomOption' not found in CRM/Admin/Form/Setting.php
Pages: [1]

Author Topic: Class 'CRM_Core_BAO_CustomOption' not found in CRM/Admin/Form/Setting.php  (Read 1798 times)

davej

  • Ask me questions
  • ****
  • Posts: 404
  • Karma: 21
Class 'CRM_Core_BAO_CustomOption' not found in CRM/Admin/Form/Setting.php
January 05, 2010, 08:06:37 am
Had this error multiple times in a multi-org installation after upgrading from 3.0.3 to 3.1.beta4:

PHP Fatal error:  Class 'CRM_Core_BAO_CustomOption' not found in .../sites/all/modules/civicrm/CRM/Admin/Form/Setting.php on line 128, referer: .../civicrm/admin/setting/localization

Also occurred for civicrm/admin/setting/updateConfigBackend, civicrm/admin/setting/url.

Fixed by adding:
Code: [Select]
    require_once "CRM/Core/BAO/CustomOption.php";
at CRM/Admin/Form/Setting.php line 124, after:
Code: [Select]
    if ( CRM_Utils_Array::value( 'autocompleteContactSearch', $params ) ) {
Dave

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: Class 'CRM_Core_BAO_CustomOption' not found in CRM/Admin/Form/Setting.php
January 05, 2010, 09:29:51 am

thanx

fixed

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

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Discussion (deprecated) »
  • Alpha and Beta Release Testing »
  • 3.1 Release Testing »
  • Class 'CRM_Core_BAO_CustomOption' not found in CRM/Admin/Form/Setting.php

This forum was archived on 2017-11-26.