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 »
  • APIs and Hooks (Moderator: Donald Lobo) »
  • Custom Fields Missing From Cache
Pages: [1]

Author Topic: Custom Fields Missing From Cache  (Read 311 times)

Richard Bramley

  • I’m new here
  • *
  • Posts: 11
  • Karma: 0
  • CiviCRM version: 4.4.0
  • CMS version: Drupal 7
  • MySQL version: 5.6.13
  • PHP version: 5.4.16
Custom Fields Missing From Cache
June 19, 2014, 01:30:47 am
In the last week I've come across two separate problems caused by the Contact Get API not returning the values of custom fields using the "return => 'custom_x'" style.  I debugged the code and found that the problem was caused by the custom codes not appearing in a list known custom fields which was fetched from the cache.  Clearing the cache solved the problem.

However, both custom fields were not new.  And both fields have been used previously without a problem.

I've seen a few examples in the forums of people being told to clear the cache to solve problems.  Is this a common issue?  Are there any known permanent solutions?

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Developer Discussion »
  • APIs and Hooks (Moderator: Donald Lobo) »
  • Custom Fields Missing From Cache

This forum was archived on 2017-11-26.