elcobvg / wordpress-opcache Goto Github PK
View Code? Open in Web Editor NEWOPcache Object Cache plugin for WordPress. Faster than Redis, Memcache or APC.
License: GNU General Public License v3.0
OPcache Object Cache plugin for WordPress. Faster than Redis, Memcache or APC.
License: GNU General Public License v3.0
Hi There!
Yes, it is 100% verified that PHP OPcache extension is installed.
The copied object-cache.php into my WordPress content directory (wp-content/)
causing the White Screen of Death (WSD).
PHP Version is 7.2.31 runs php-fpm on NGINX
WP version 5.4.2
Any ideas on how to make it work finally?
Cheers.
the minute i put the drop in error all over the place...
`
Warning: Invalid argument supplied for foreach() in /srv/users/serverpilot/apps/madmax/public/wp-content/plugins/woocommerce/includes/wc-webhook-functions.php on line 106
Warning: array_merge(): Argument #2 is not an array in /srv/users/serverpilot/apps/madmax/public/wp-content/themes/bimber/includes/theme-setup.php on line 174
Warning: array_filter() expects parameter 1 to be array, null given in /srv/users/serverpilot/apps/madmax/public/wp-content/plugins/woocommerce/includes/wc-attribute-functions.php on line 62
Fatal error: Uncaught Error: Call to a member function have_posts() on null in /srv/users/serverpilot/apps/madmax/public/wp-content/themes/bimber/includes/front/post.php:774 Stack trace: #0 /srv/users/serverpilot/apps/madmax/public/wp-content/themes/bimber/includes/front/post.php(551): bimber_get_global_featured_posts_ids() #1 /srv/users/serverpilot/apps/madmax/public/wp-content/themes/bimber/includes/front/home.php(109): bimber_get_featured_posts_ids(Array) #2 /srv/users/serverpilot/apps/madmax/public/wp-content/themes/bimber/includes/front/home.php(126): bimber_get_home_featured_posts_ids() #3 /srv/users/serverpilot/apps/madmax/public/wp-includes/class-wp-hook.php(286): bimber_home_exclude_featured(Object(WP_Query)) #4 /srv/users/serverpilot/apps/madmax/public/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array) #5 /srv/users/serverpilot/apps/madmax/public/wp-includes/plugin.php(515): WP_Hook->do_action(Array) #6 /srv/users/serverpilot/apps/madmax/public/wp-includes/class-wp-query.php(1634): do_action in /srv/users/serverpilot/apps/madmax/public/wp-content/themes/bimber/includes/front/post.php on line 774
`
would be real nice to get it working cause i really love this idea.
Hello, what I get as error is:
Fatal error: Uncaught Error: Call to undefined function trm_suspend_cache_addition() in /var/www/html/trm-src/object-cache.php:414 Stack trace: #0 /var/www/html/trm-src/object-cache.php(30): TRM_Object_Cache->add() #1 /var/www/html/Source-zACHAvU6As28quwr-trendr/functions.php(469): trm_cache_add() #2 /var/www/html/Source-zACHAvU6As28quwr-trendr/functions.php(1837): trm_load_alloptions() #3 /var/www/html/Source-zACHAvU6As28quwr-trendr/load.php(430): is_blog_installed() #4 /var/www/html/trm-main.php(107): trm_not_installed() #5 /var/www/html/trm-setup.php(90): require_once('/var/www/html/t...') #6 /var/www/html/initiate.php(29): require_once('/var/www/html/t...') #7 /var/www/html/trm-header.php(12): require_once('/var/www/html/i...') #8 /var/www/html/index.php(17): require('/var/www/html/t...') #9 {main} thrown in /var/www/html/trm-src/object-cache.php on line 414
PHP Version is 7.4 . OPCache is enabled and all directives are set like in the readme file.
Tried this but it prevents me from logging into wp-admin.
nginx/1.12.1
php70_fpm
Error: The plugin does not have a valid header.
When activating other plugins
WP 5.2.1
@elcobvg How you feel about releasing this on https://wordpress.org/plugins ?
I think it's working well enough to get some more people testing it. Probably we should add an experimental warning for now just to be safe. I think we should also add a small feature to copy object-cache.php
from the plugins folder to wp-content/object-cache.php
when the plugin is activated just to make it a little easier to use.
I reviewed all the caching plugins currently in the repository and none of them have an object cache using simple php files which would take advantage of opcache.
It's definitely a really good concept and thanks for making and sharing it. As it stands it's, unfortunately, broken on PHP versions 7.2 and 7.3. Could you please perhaps look into it?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.