Author Topic: Upgrade 3.1.3 to 3.3.1 fatal error  (Read 1048 times)

Offline robinhood

  • I post occasionally
  • **
  • Posts: 117
  • Karma: 5
  • CiviCRM version: 4.2.2
  • CMS version: Drupal 7.15
  • MySQL version: 5.1.41
  • PHP version: 5.3.5
Upgrade 3.1.3 to 3.3.1 fatal error
« on: December 19, 2010, 04:46:08 am »
I am running a test upgrade, following the instructions on the wiki.  This is on drupal 6.20 and PHP 5.2.10.  When the upgrade script was called, it halted with the error below.

Code: [Select]
Fatal error: Call to undefined method stdClass::get() in /var/www/web/sites/all/modules/civicrm/CRM/Core/Smarty.php on line 120
I double checked the permissions on the civicrm directory in sites/all/modules.  Then I decided to close the browser and reopen it, going back into the site through the drupal menus.  That allowed me to access civicrm, and to run the upgrade script.  It completed successfully and everything was back to normal.

Was this just a cache problem during the upgrade?  It was worrisome but turned out ok in the end.

Offline Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 3574
  • Karma: 134
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly Drupal
Re: Upgrade 3.1.3 to 3.3.1 fatal error
« Reply #1 on: December 19, 2010, 10:30:13 am »
Was this just a cache problem during the upgrade?  It was worrisome but turned out ok in the end.

Could well have been just that. I think I recall seeing such an issue with an upgrade I did once.
CiviHosting and CiviOnline -- The CiviCRM hosting experts, since 2007

Offline thomasat12meter

  • I’m new here
  • *
  • Posts: 21
  • Karma: 1
Re: Upgrade 3.1.3 to 3.3.1 fatal error
« Reply #2 on: April 25, 2011, 10:35:14 pm »
Hi,
Did either of you run across this again or found any other information on this?
I ran into this on an upgrade to 3.4.0, see this post: http://forum.civicrm.org/index.php/topic,19664.0.html
Appreciate any feedback.
Tom

Offline kfogel

  • I’m new here
  • *
  • Posts: 3
  • Karma: 0
  • CiviCRM version: 3.4.1
  • CMS version: Drupal 6.19
  • MySQL version: MySQL 5.0.51a-24+lenny2 (Debian)
  • PHP version: PHP 5.2.14
Re: Upgrade 3.1.3 to 3.3.1 fatal error
« Reply #3 on: May 14, 2011, 05:13:51 pm »
Donald Lobo of CiviCRM has fixed this; see the patch in CiviCRM issue CRM-8120 (I'd give the link, but these forums apparently don't allow external links).  It's "issues.civicrm.org SLASH jira SLASH browse SLASH CRM-8120".
« Last Edit: May 14, 2011, 05:17:02 pm by kfogel »