cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

object-cache.php

I was having white screen errors on a client's site, vibramed.net. I turned debugging on and found that I was getting an error in wp-content/object-cache.php on line 242

 

return $wp_object_cache->incr2( $key, $n, $group );

There is no function incr2() to reference, but there is a incr() function. Here's the fix:

 

return $wp_object_cache->incr( $key, $n, $group );

This is some sort of caching file provided by GoDaddy as denoted in the header:

/*
* Plugin Name: APC/APCu/Redis Object Cache - transitional
* Description: APC/APCu/Redis backend for the WP Object Cache.
* Version 1.0
*
* @Author James Dugger
* @copyright 2017 GoDaddy Inc. 14455 N. Hayden Road Scottsdale, Arizona
*/

Can anyone provide any insights on to why it's there, what it's doing, or why it tries to reference incr2() which is a function that doesn't exist?

2 REPLIES 2

Re: object-cache.php

This guy/gal literally knows what's up!!! Worked perfect. Had to change two lines of code, another instance at line 726. Thank you. You saved the day!

Helper V
Helper V

Re: object-cache.php

@amyebbeka,

 

Please call GoDaddy Managed WordPress support to know more details...

 

Thank you

 

Regards,

 

Praveen Thomas

GoDaddy 24/7 Support www.x.co/247support
----->NEXIA