gboudreau
Forum Replies Created
-
Forum: Plugins
In reply to: [Cloudflare] Newest Cloudflare Giving Errors Broke Entire WordPress SiteFYI, the plugin developer(s) gave answers regarding this in the Github repo for this plugin: https://github.com/cloudflare/Cloudflare-WordPress/issues/415#issuecomment-852916096
Basically, they say don’t use PHP 8 with WordPress; it’s still beta.
Which is technically true, but still…Forum: Plugins
In reply to: [Cloudflare] Newest Cloudflare Giving Errors Broke Entire WordPress SiteOr you can manually add the
bootstrap80.php
file in that folder.Get the latest version here : https://raw.githubusercontent.com/symfony/polyfill-intl-normalizer/main/bootstrap80.php
Forum: Plugins
In reply to: [Cloudflare] Newest Cloudflare Giving Errors Broke Entire WordPress SiteSame here.
Quick workaround until 4.5.1 is released is to comment out the line 15, in
wp-content/plugins/cloudflare/vendor/symfony/polyfill-intl-normalizer/bootstrap.php
:# return require __DIR__.'/bootstrap80.php';
Forum: Plugins
In reply to: [Ultimate Member Profile Tabs] An alternative ?Thanks @merckdelmoro ! That worked #1.
For those interested, here’s the diff between the 2.1.1 version (not working), and merckdelmoro’s fixed version:
https://gist.github.com/gboudreau/dc94478877dab935edf562f826531906Changing those two lines in core.php will fix the missing tab issue. Yay.
The latest version that worked for me: https://downloads.www.ads-software.com/plugin/ultimate-member.2.0.52.zip
I was able to replace the latest version of the plugin (2.0.54) with this one to get back my profile tabs.
Looks like there is a change in 2.0.53 related to fixing profile tabs privacy. That is probably what broke our profile tabs.
I’ll try to diff the code of both versions, see if I can find how I could show tabs in 2.0.53+; maybe it’s a new privacy option that was added that we need to configure…Indeed. Just did when I noticed I was using an older version.
Thanks for your time.Plugin Name: Memcached Description: Memcached backend for the WP Object Cache. Version: 2.0 Plugin URI: https://dev.wp-plugins.org/browser/memcached/ Author: Ryan Boren
Also, a simple restart of the memcached process fixed this permanently, since that empty the memcache cache!
Ah, I see… Part of the memcached plugin install was to copy a file into ./wp-content/object-cache.php!
Renaming this file to object-cache.php.bak fixed the issue.I guess I should contact that plugin’s author, to tell him his cache wasn’t properly reset when it should have been?
I’m pretty sure the problem comes from the memcached plugin I have installed…
No idea why the problem would persist even with the plugins folder renamed though!I already did. I did an automatic upgrade first, and when I noticed that issue, I manually downloaded the tgz from the website, and unpacked over.
I now found that the values returned by wp_cache_get( ‘alloptions’, ‘options’ ) seems to be outdated.
Not sure what should trigger the cache to become invalid, but that seems to have failed… Continuing debugging.No.
I found that in ./wp-admin/admin.php:42
get_option(‘db_version’) == 17516
$wp_db_version == 18226But in ./wp-admin/upgrade.php:58, both get_option( ‘db_version’ ) and $wp_db_version == 18226
I’ll continue to investigate why get_option(‘db_version’) in admin.php seems to be wrong… (MySQL options table where option_name = ‘db_version’ == 18226)
I also tried emptying the active_plugins options in MySQL (to a:0:{}), and that didn’t help either.
I guess I’ll debug the PHP code to find why it redirects, when it shouldn’t (or why it thinks there’s nothing to update when there is).
I use another prefix that wp_ for my tables; maybe it’s related.I excluded the possible browser cause by using curl:
$ curl -i "https://www.pommepause.com/blog/wp-admin/index.php" HTTP/1.1 302 Found X-Powered-By: PHP/5.3.3 Location: https://www.pommepause.com/blog/wp-admin/upgrade.php?_wp_http_referer=%2Fblog%2Fwp-admin%2Findex.php
I tried to rename my theme folder, but that didn’t help.
I tried to rename my plugins folder too, and that didn’t help either.
I’m always redirected to upgrade.phpI hit the same problem, I found the solution.
You should not ‘Activate’ that plugin.
Once you have the plugin installed, you need to copy the wp-content/plugins/memcached/object-cache.php file into wp-content/object-cache.php.
At that point, the memcached server will take over from the standard WP cache mechanism.
You might need to edit object-cache.php to connect to you memcached server, if different than localhost:11211