Support

Account

Home Forums Backend Issues (wp-admin) Lots of Warning when object-cache is used

Lots of Warning when object-cache is used

  • 
    [24-Jul-2013 06:40:43 UTC] Backtrace from warning 'Memcached::get() expects parameter 2 to be a valid callback, no array or string given' at /wordpress/wp-content/object-cache.php 1250:
    	/wordpress/wp-admin/post.php 185 calling include()
    	/wordpress/wp-admin/edit-form-advanced.php 283 calling require_once()
    	/wordpress/wp-admin/admin-header.php 69 calling do_action()
    	/wordpress/wp-includes/plugin.php 406 calling call_user_func_array()
    	<unknown file> <unknown line> calling admin_head()
    	/wordpress/wp-content/plugins/advanced-custom-fields/core/controllers/input.php 178 calling apply_filters()
    	/wordpress/wp-includes/plugin.php 173 calling call_user_func_array()
    	<unknown file> <unknown line> calling get_field_groups()
    	/wordpress/wp-content/plugins/advanced-custom-fields/core/controllers/field_group.php 62 calling wp_cache_get()
    	/wordpress/wp-content/object-cache.php 316 calling get()
    	/wordpress/wp-content/object-cache.php 1250 calling get()
    
  • Hi @leonho

    Thanks for the error reports. I’m looking at the issue:

    
    /wordpress/wp-content/plugins/advanced-custom-fields/core/controllers/input.php 178 calling apply_filters()
    

    But that line of code reads:

    
    $acf['options'] = apply_filters('acf/field_group/get_options', array(), $acf['id']);
    

    This looks pretty normal to me. Can you spot the issue?

  • I think the warning is from the line:
    /wordpress/wp-content/plugins/advanced-custom-fields/core/controllers/field_group.php 62 calling wp_cache_get()

  • Hi @leonho

    Thanks mate, looking at this line, ACF looks like:

    
    $found = false;
    $cache = wp_cache_get( 'field_groups', 'acf', false, $found );
    

    Can you confirm this is what you see? Are you running the latest ACF 4.1.8.1?

Viewing 4 posts - 1 through 4 (of 4 total)

The topic ‘Lots of Warning when object-cache is used’ is closed to new replies.

We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Cookie Policy. If you continue to use this site, you consent to our use of cookies.