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 »
  • Using CiviCRM »
  • Using CiviContribute (Moderator: Donald Lobo) »
  • Fatal error Call to a member function freeze() when using profile with State
Pages: [1]

Author Topic: Fatal error Call to a member function freeze() when using profile with State  (Read 809 times)

narayanis

  • I post occasionally
  • **
  • Posts: 56
  • Karma: 2
Fatal error Call to a member function freeze() when using profile with State
October 27, 2013, 11:59:39 am
When attempting to add a membership, I receive the following error:
Fatal error: Call to a member function freeze() on a non-object in /sites/all/modules/civicrm/CRM/Contact/Form/Edit/Address.php on line 484

CiviCRM 4.4
Drupal 7.22
PHP 5.3.25

The issue did not occur on my 4.3.7 installation, only after updating to 4.4 today.
The contribution page contains a profile that includes the field for Contact/State/Primary.
The user  has a shared address.
The error does not occur for anonymous users (since is_shared and is_view should evaluate to False for anonymous users).
When I turn off the State field, freeze() is no longer called, so the error no longer occurs.

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: Fatal error Call to a member function freeze() when using profile with State
October 27, 2013, 01:11:31 pm
Any chance u can reproduce this issue on our demo server

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

narayanis

  • I post occasionally
  • **
  • Posts: 56
  • Karma: 2
Re: Fatal error Call to a member function freeze() when using profile with State
October 28, 2013, 08:46:55 am
I have attempted to reproduce on the demo server, but was unable to get the error.

narayanis

  • I post occasionally
  • **
  • Posts: 56
  • Karma: 2
Re: Fatal error Call to a member function freeze() when using profile with State
November 15, 2013, 06:40:14 am
I just wanted to share that I have upgraded to 4.4.1 and tested again, and the error still occurs.

Osvaldo

  • I’m new here
  • *
  • Posts: 12
  • Karma: 0
  • Open source rocks!
Re: Fatal error Call to a member function freeze() when using profile with State
January 03, 2014, 04:15:04 pm
I received a screenshot of a user for whom this is happening. I can't replicate it on my end but I saw it happen on her computer.
Osvaldo Gomez
Upleaf LLC

narayanis

  • I post occasionally
  • **
  • Posts: 56
  • Karma: 2
Re: Fatal error Call to a member function freeze() when using profile with State
January 04, 2014, 08:04:31 am
I can confirm that it still happens to us on CiviCRM 4.4.3, PHP version 5.3.27.

Osvaldo

  • I’m new here
  • *
  • Posts: 12
  • Karma: 0
  • Open source rocks!
Re: Fatal error Call to a member function freeze() when using profile with State
January 20, 2014, 02:09:55 pm
We've had this error show up only on IE 9. The same user, as an anonymous user, from the same PC doesn't get the error while on Firefox and gets the error while on IE 9.

Osvaldo Gomez
Upleaf LLC

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviContribute (Moderator: Donald Lobo) »
  • Fatal error Call to a member function freeze() when using profile with State

This forum was archived on 2017-11-26.