Hey!
When checking domain.com/wp-admin/plugins.php?plugin_status=dropins, we get the error message “Inactive: Requires define(”, true); in wp-config.php file.” Anyone know what that means, and if there’s something we can do to fix it? Not sure if the plugin is working properly now, it seems like it isn’t.
Hello,
Is this plugin compatible with Nginx + Redis?
Thank you
]]>Hi,
I received wordfence plugin alert in APC Object Cache Backend
Notice: Indirect modification of overloaded element of WP_Hook has no effect in {hostpath}/wp-content/object-cache.php on line 664
dont work in wordpress 4.7
]]>??
]]>NOTE TO EVERYONE: If you are using this and doing your own development.
There was a support ticket filed down lower, which mentioned that the 4th parameter ($found) was not implemented. It’s marked resolved, which would make you think that it was fixed.
It has not been. That parameter is still not implemented, which means that any calls attempting to use that parameter, are failing, and the cache isn’t actually caching.
]]>Hello dear
Do you think launch more updates?
The actual version works with WordPress 4.2.1?
Thanks for support
]]>After upgrade to WordPress 4 I’ve faced with issue when I’m logging out after login. When object cache is disabled everything is seems ok.
]]>Hello,
This plugin works with APCU?
I ask because il was developed from APC and Part Object Cache is the same.
Thank You
]]>If i do a get
then a incr
or decr
followed by another get
then I get the old value of the cache and not the new incremented or decremented value.
A get pulls its value for its running store rather than going to apc if it has already got the value. But when you do an increment you update apc but don’t update your running store. So a get afterwards then ends up not returning the new value.
]]>Works fine for me, but, when will be updated? more one year without updates?
]]>I’m using the APC object-cache drop in and vastly speeds up requests. And this isn’t exactly a bug in it, but I think it’s the best place to fix it.
The thing is wp_cache_set. It calls apc_store and that fails if APC is doing an expunge and probably more reasons. But no call to wp_cache_set actually handles that failure. Then the next wp_cache_get returns stale data.
I patched object-cache.php to log when apc_store fails and tries to delete the stale entry:
$result = apc_store( $key, $store_data, $expire );
if ($result === false) {
apc_fetch($key, $success);
if ($success) {
if (apc_delete( $key )) {
trigger_error("apc_store($key) failed, deleted old entry");
} else {
trigger_error("apc_store($key) failed, apc_delete also failed. Corruption!");
}
} else {
trigger_error("apc_store($key) failed, would have been new entry");
}
}
return $result;
My logs have several “apc_store($key) failed, deleted old entry” messages.
Does this make sense? Thanks!
]]>Hello I am testing in my website and show this error
Fatal error: Cannot redeclare apc_not_actually_running() (previously declared in /home/mirutweb/public_html/wp-content/object-cache.php:376) in /home/mirutweb/public_html/wp-content/plugins/apc/object-cache.php on line 375
I’ve put the file in the wp-content folder, but i don’t have the backend under tools.
I have php 5.4.4 and apc 3.1.13 on debian.
]]>Can it work with the WP Super Cache together?
]]>I’m having issues with activating/deactivating plugins after installing this on WP 3.7.1. Clearing the APC cache solves the issues.
Any ideas?
]]>Can they please be implemented?
]]>I have found that in your plugin you are not implementing the $found (4th parameter) in wp_cache_get().
Is there a reason to this or has it been missed? Currently any code/plugins/themes looking for this $found parameter will always see it as false and will never be able to load from cache.
]]>APC object cache (2.0.6) seems to not working since 3.7. Even after empting cache I get this message
No Update Required
Your WordPress database is already up-to-date!
And I can’t login to my admin.
Any idea? Thanks!
]]>I will be setting up a VPS for a very large multisite. I am planning on using APC. I am not planning on using either W3 Total Cache, or W3 Super Cache, because of multisite compatibility issues that I have read about.
So basically, I would like all sites in the multisite to use APC.
Is that what this plugin should do for me?
Thank you!
]]>After uploading the object-cache.php file to wp-content folder the apc caching works fine.
But there’s an issue: the “comments” button on the left side of the admin dashboard, aswell as the “contact form 7” menu button disappear after uploading the file and the files which these button point to (“edit-comments.php” for the comments button) are not accessible anymore, even not by navigating there directly through the browser’s address bar.
Even weirder is that an exact copy of the site and database on a testsite (same server etc.) doesn’t have this issue.
Anyone any idea what could be causing this?
Thanks for any reply in advance.
]]>Hello,
define(‘WP_CACHE’, true); must be enabled in wp-config.php ?
Does It Make Sense?
Thanks
]]>Hello there,
Before I install APC I want to ask if it′s compatible with woocommerce and the dynamic generated pages such as the shopping cart.
Also I wanted to ask if there are any issues when using CloudFare Railgun.
Thank you!!
]]>Hi, I am using:
WordPress 3.5.1
PHP 5.3.3
APC 3.1.9
CentOS 6.4
Apache 2.2.15
I see this plugin also caches wp-admin, but it is causing a lot of problems like:
1. Activating/Deactivating plugins don’t work. After refreshing the browser, the original state just comes back.
2. When accessing some plugin pages, it says “You don’t have enough permission to access this page”, this happens 50% of the time.
3. AJAX features for some 3rd party plugins causes errors (saving, editing, etc.)
Is there a way to disable this plugin for wp-admin or do you think it’s some kind of bug?
Thank you.
]]>Hello..
This is kishore. I installed APC Object Cache as instructed by author. but how can i confirm that APC Object Cache is working properly.
Please Suggest me.
Thank you
Kishore
I’m curious how APC works with memory. On one host where object cache is used a lot the server can max out on 8GB memory. The hosting is seeing that object-cache.php is trying to allocate more then 512MB of memory. PHP memory_limit and apc.shm_size are both 512MB.
It seems that APC cache is always loaded to PHP and then set back. Is that correct? I’m trying to understand how to fix it.
]]>I try to install “APC Object Cache Backend” plugin. After try to activate it is showing Fatal error in my Word Press Dash Board..
Fatal error: Cannot redeclare apc_not_actually_running() (previously declared in xxx/wp-content/object-cache.php:376) in xxx/wp-content/plugins/apc/object-cache.php on line 375
Please Give me Some Solution For it.
Thank you.
Kishore.
As per #22381, storing objects in options can cause errors as the option value is not serialized, leading to __PHP_Incomplete_Class
when loading from cache.
rboren has indicated that passing the unserialized value into the object cache is the correct behaviour, so this needs to be serialized on the APC end instead. I’m not sure what the best way to do this is (only when the group is options
?) without introducing significant overhead.
Hi,
I have APC installed on my server along with APC Object Cache Backend for WP. When I disable the object-cache.php by moving it out of my wp-content directory, I am able to successfully use set_transient() in my php code / plugins. i.e. rows are successfully written to my wp-options table. I need to be able to have persistent cache objects that won’t expire for a month or longer, and WP’s set_transient works perfectly for me.
Is there a way to get this working with APC and the object-cache backend?
]]>Would running WP’s APC object cache in parallel with W3TC’s object cache in APC be considered a good practice? I know they each use their own labels, but will they incur unnecessary duplication?
]]>