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) »
  • Upgrade Error from 4.0.2 to 4.0.8 - ThreeFour.php?
Pages: [1]

Author Topic: Upgrade Error from 4.0.2 to 4.0.8 - ThreeFour.php?  (Read 1071 times)

daviddean

  • I’m new here
  • *
  • Posts: 2
  • Karma: 0
  • CiviCRM version: 4.0.2
  • CMS version: Drupal
  • MySQL version: 5.1.41
  • PHP version: 5.3.2
Upgrade Error from 4.0.2 to 4.0.8 - ThreeFour.php?
December 22, 2011, 12:27:14 pm
When I try to upgrade from 4.0.2 to 4.0.8 (or any version > 4.0.2), I get this error:

PHP Fatal error:  Call to undefined method CRM_Core_BAO_UFGroup::updateGroupTypes() in civicrm/CRM/Upgrade/Incremental/php/ThreeFour.php on line 148

I made sure to follow all the steps at the wiki. As soon as I run the upgrade script I get that error and the only way forward seems to be to roll back to a backup of the db and the 4.0.2 code base. I don't understand why ThreeFour.php is being called since I am upgrading from a 4.0.x version? Please let me know if I can provide additional info.

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: Upgrade Error from 4.0.2 to 4.0.8 - ThreeFour.php?
December 22, 2011, 05:04:56 pm

1. Looked at the code and the file is required. No one else has reported this either (seems like it would be quite common if so)

2. 4.0.2 -> 4.0.8 upgrade is exactly the same as 3.4.2 -> 3.4.8 (hence the file names)

3. Are you running a PHP opcode cache or optimizer

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

daviddean

  • I’m new here
  • *
  • Posts: 2
  • Karma: 0
  • CiviCRM version: 4.0.2
  • CMS version: Drupal
  • MySQL version: 5.1.41
  • PHP version: 5.3.2
Re: Upgrade Error from 4.0.2 to 4.0.8 - ThreeFour.php?
December 22, 2011, 07:45:14 pm
I am running APC opcode cache. Turning it off solves the problem.

Thanks a lot. Sorry I overlooked it myself in the first place.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Upgrading CiviCRM (Moderator: Deepak Srivastava) »
  • Upgrade Error from 4.0.2 to 4.0.8 - ThreeFour.php?

This forum was archived on 2017-11-26.