I installed this plugin before realizing that it hasn’t been updated in over a year. I attempted to delete the plugin from the WP Dashboard > Plugins but received a fatal error:
Deletion failed: {“code”:”qm_fatal”,”message”:”Uncaught Error: Undefined constant \”OC4EVERYONE_PREDEFINED_SERVER\” in /home/myaccount/public_html/mydomain.com/wp-content/plugins/object-cache-4-everyone/oc4-deactivation.php on line 13″,”data”:{“message”:”Uncaught Error: Undefined constant \”OC4EVERYONE_PREDEFINED_SERVER\””,”file”:”/home/myaccount/public_html/mydomain.com/wp-content/plugins/object-cache-4-everyone/oc4-deactivation.php”,”line”:13,”trace”:[{“file”:”/home/myaccount/public_html/mydomain.com/wp-content/plugins/object-cache-4-everyone/uninstall.php”,”line”:19,”function”:”oc4everyone_deactivation”,”args”:[]},{“file”:”/home/myaccount/public_html/mydomain.com/wp-admin/includes/plugin.php”,”line”:1314,”args”:[“/home/myaccount/public_html/mydomain.com/wp-content/plugins/object-cache-4-everyone/uninstall.php”],”function”:”include_once”},{“file”:”/home/myaccount/public_html/mydomain.com/wp-admin/includes/plugin.php”,”line”:970,”function”:”uninstall_plugin”,”args”:[“object-cache-4-everyone/object-cache-4-everyone.php”]},{“file”:”/home/myaccount/public_html/mydomain.com/wp-admin/includes/ajax-actions.php”,”line”:4771,”function”:”delete_plugins”,”args”:[[“object-cache-4-everyone/object-cache-4-everyone.php”]]},{“file”:”/home/myaccount/public_html/mydomain.com/wp-includes/class-wp-hook.php”,”line”:324,”function”:”wp_ajax_delete_plugin”,”args”:[“”]},{“file”:”/home/myaccount/public_html/mydomain.com/wp-includes/class-wp-hook.php”,”line”:348,”function”:”apply_filters”,”class”:”WP_Hook”,”type”:”->”,”args”:[“”,[“”]]},{“file”:”/home/myaccount/public_html/mydomain.com/wp-includes/plugin.php”,”line”:517,”function”:”do_action”,”class”:”WP_Hook”,”type”:”->”,”args”:[[“”]]},{“file”:”/home/myaccount/public_html/mydomain.com/wp-admin/admin-ajax.php”,”line”:192,”function”:”do_action”,”args”:[“wp_ajax_delete-plugin”]}]}}
Please let me know how I can delete this plugin. Thank you.
]]>Hi, how can i flush cache when I cant see the link for flush? And, is there a way to remove chache manually?
Thank you very much.
The snippet display_memcached_stats_dashboard_widget
causes fatal errors WordPress current version: 6.7.1
]]>I had to delete the plugin because it created 13GB cache files for a small WC shop with 100 Products. It does not seem to have a garbage collection. This is the second installation I had to delete. I can not recommend this plugin for productive use.
]]>Hello!
I was trying to deactivate the Object Cache 4 Everyone plugin because I’m having a problem, and it seems like it’s causing this.
To clear up the doubt, I need to deactivate it, but I see that what’s happening is strange, the attributes I’ve created and use are these:
View post on imgur.com
And after deactivating the plugin, they “disappear” and look like this:
https://imgur.com/ru8ngGX
With that, my subscription product stops working and loses all attributes and variations.
How do I deactivate the plugin and not lose the Attributes?
]]>is still supported
]]>I deactivated the plugin while I was changing something and when I reactivate, I get the notification that it is activated, but it still shows as deactivated.
The site health screen suggests that there is an object cache installed.
]]>where can find error log or and log for this plugin? after some hours site broken, maybe log file can help.
]]>Good Day,
For a cleaner, more efficient, and friendlier plugin, we would like to recommend the following:
Thank you!
]]>hi, can this plugin work together with Wp Rocket plugin on a litespeed server with memcached enabled?
I also alreay have installed WP Opcache for the opcache
How do I disable cache creation? After disabling the plugin, the cache is created further
]]>Hi,
I had to desactivate the plugin because it breaks the recaptcha verification on the WordPress login page.
I use Wordfence to setup the recaptcha on login and other WordPress forms.
I hope you can fix it because I like this plugin.
To display your Memcached server stats in your WordPress dashboard, you can add this code as a snippets using functions.php or Code Snippets plugin.
Adjust 127.0.0.1:11211 to reflect your actual server.
Enjoy!
// Hook into the WordPress dashboard setup action to add our widget
add_action('wp_dashboard_setup', 'add_memcached_stats_dashboard_widget');
function add_memcached_stats_dashboard_widget() {
wp_add_dashboard_widget('memcached_stats_dashboard_widget', 'Memcached Stats', 'display_memcached_stats_dashboard_widget');
}
function display_memcached_stats_dashboard_widget() {
// Attempt to connect to your Memcached server
$memcached = new Memcached();
$memcached->addServer('127.0.0.1', 11211);
$stats = $memcached->getStats();
$server = '127.0.0.1:11211';
// Check if we got stats back
if (empty($stats)) {
echo "Unable to fetch Memcached stats.";
return;
}
// Assuming $stats is not empty, extract the server stats
$stats = $stats[$server];
// Calculate Cache Hit Ratio
$hitRatio = ($stats['get_hits'] / ($stats['get_hits'] + $stats['get_misses'])) * 100;
// Calculate Uptime
$uptime = gmdate("j \D H \H i \M s \S", $stats['uptime']);
// Display the stats
echo "<strong>Memcached Server running:</strong> " . esc_html($server) . "<br />";
echo "<strong>Cache Hit Ratio:</strong> " . number_format($hitRatio, 2) . "%<br />";
echo "<strong>Uptime:</strong> " . esc_html($uptime) . "<br />";
echo "<strong>Current Unique Items / Total Items:</strong> " . number_format($stats['curr_items']) . " / " . number_format($stats['total_items']);
}
// Ensure this PHP code is placed in your theme's functions.php file or a custom plugin.
]]>
After activating this plugin, the reports section of the Matomo WordPress Plugin gives an error. Reports are no longer available. There seems to be a conflict with this plugin
]]>PHP 8.24
WordPress 6.4.3
Memcached 3.2.0
Comienzo pon las dudas.
Me dicen desde mi hosting que debo conectarme a 127.0.0.1, puerto 60000. Por tanto, entiendo que en el config.php debo a?adir
define(‘OC4EVERYONE_MEMCACHED_SERVER’, ‘127.0.0.1:60000’);
?Es correcto?
En segundo lugar, me preocupa el asunto relacionado con la expiración de lo almacenado en la memoria: ?es automático? ?cuánta memoria RAM puede llegar a utilizar?
Y por último, un problema. Mensaje de error:
Deprecated: Creation of dynamic property WP_Object_Cache::$thirty_days is deprecated in .”..\wp-content\object-cache.php on line 552” y siguientes.
De momento, lo he solucionado a?adiendo en la línea 453:
[\AllowDynamicProperties]
Un saludo,
Miguel
I’m a little confused, so please let me know one thing. In your opinion, if I cache using NginX + php-fpm (write to disk), do I need an (this) opcache plugin? Will it make any difference or rather create cache of cached files?
Is it worth using it?
Thank you.
]]>Hello, I have a question about the support of several WordPress on the same server. I have a setup with several WordPress installation. Some of them use PHP8.2, other use PHP8.3 and so on…
I startet to use the plugin on a demo WordPress with PHP8.3 and it startet running. However, I disabled it and enabled it on a different WordPress with PHP8.2 and it work too.
My problem, it don’t work if the plugin is already enabled and I try to enable it on another installation. I see the message “plugin enabled” but after a reload it is still disabled. It look like there is a check for that…
Is it possible to support such situation? Maybe a “salt” or “hash” for every installation?
best regards, Andyt
]]>I find this plugin very useful but I have an issue with it. When I activate it transients stop working. Plugins can’t access and store information in transients anymore.
]]>Your plugin perfectly reduces the load on the database. Please make it possible to clear Memcached in the upper Toolbar of the WP admin panel. You have to clean it often.
You can also add cache clearing based on user actions: when adding a post, page, tags, comments and overwriting them.
For some reason our server works well with pure Memcached
Help us make our lives easier!
]]>I am using wprocket now. When trying to deactivate object cache it crashes:
There has been a critical error on this website. Please check your site admin email inbox for instructions.
Please advice
]]>Hello!
The Google Inside speed test does not show caching with this method. This is fine?
https://i.imgur.com/qPIQNDw.png
PHP 8.2.13
*** PUBLIC SERVICE ANNOUNCEMENT ***
We just learned that — when creating a staging site — this plugin will redirect your live site to your staging site. To fix this condition, deactivate this plugin on your staging site and flush all cache (especially Memcached). Afterwards, flush all cache on your live site.
*** NOTE TO PLUGIN DEVELOPER ***
If possible, a fix for this condition would be appreciated.
Thank you ??
]]>Good morning, I downloaded your plugin but it always puts object cache on disk, I have sasls authentication in my memcached, would it be possible to put it in your plugin?
Thank you very much.
]]>If I install and enable the plugin the WooCommerce admin interface is much slower (2-3x times). So instead of speeding up, it slows down the system significantly. What can cause this problem?
]]>Hello everyone, good afternoon.
Could you help me with a small problem?
I noticed that my Cache folder is getting very large.
Reaching more than 4 GB
Having your main folder, a folder called “object”
How can I adjust this so the folder isn’t so big?
I am currently using the WPRocket plugin together with your plugin, however, I believe it is generating this problem.
Look: https://prnt.sc/MQXO1dd3RWOP
Thanks
]]>I already added the functionality on my end, but it would be nice to not have to redo/patch it on updates.
My situation is I have multiple web servers so uploading to whichever one happens to be handling the request isn’t going to work that well. Besides that, even though most web servers function this way, from a security standpoint, it’s less than ideal to allow the web server “user” to have write access to the filesystem.
I have multiple Memcached servers that can occasionally change (we have logic in the wp-config.php that decides which servers are to be used). So hardcoding it to the php file isn’t really great.
]]>how to flush the cache object?
]]>Hi,
Currently testing this out, but you don’t mention anywhere (that I can see) if your plugin will work fine with CloudFlare CDN/caching, etc?
Would be useful to know for certain, if it works with it and doesn’t cause any issues.
Also useful to know if you can exclude certain pages/object, such as login pages, account pages, cart and checkout?
Regards,
Martin
I cloned a site onto the same server with a new domain and all hell happened until I turned off memcached. It looks like the two sites are classing with cached data.
I have no idea how you built this but Im guessing each site gets some kind of unique cache key. But if you clone a site, the key remains the same and causes problems.
Is there a way to reset the cache key? or set it manually?
]]>