cantoute
Forum Replies Created
-
Forum: Plugins
In reply to: [Cache-Control] last update causes wp-admin to be unaccessibleOk… pardon you are right
but what brakes is the call to wp_get_current_user() that seems not to be available yet
Forum: Plugins
In reply to: [Cache-Control] last update causes wp-admin to be unaccessiblevery strange you can’t reproduce it…
using php7.2 here
and it’s happening on all my websites… ~80 of them
Forum: Plugins
In reply to: [Cache-Control] last update causes wp-admin to be unaccessibleif ( !defined(‘ABSPATH’) || !is_admin() || !current_user_can(‘manage_options’))
Seems that it is called if !is_admin here
Forum: Plugins
In reply to: [Cache-Control] last update causes wp-admin to be unaccessibleremoving the call to this function would solve the issue for now… and avoid crashing other websites ?
as for now the only way to recover this is wp-cli or to delete the plugin folder via FTP
Forum: Plugins
In reply to: [Cache-Control] last update causes wp-admin to be unaccessiblePerhaps the call to current_user_can() comes too early… as it brakes login page, It should only be called when user is logged in no ?
Forum: Plugins
In reply to: [Cache-Control] last update causes wp-admin to be unaccessibleI get to see this error for any page in wp-admin/ and if I had the cookie “remember me”
Trying to get to /wp-admin/ from a “private navigation window” I get a 503 error and as it’s behind a varnish it’s all I get.
Forum: Plugins
In reply to: [Cache-Control] last update causes wp-admin to be unaccessibleWhere could I see what has changed on latest release ?
Perhaps I could spot what happened.
Forum: Plugins
In reply to: [Cache-Control] last update causes wp-admin to be unaccessibleWordPress Version 5.2.2
Logging in with administrator accountPlugins that I have are (all at current version)
Companion Auto Update (so all is updated daily)
W3 Total Cache
WebP Express
Yoast SEO
Redirection
Wordfence Security (as this had been updated today, I first tried to disable it and had no effect)- This reply was modified 5 years, 7 months ago by cantoute.
Forum: Plugins
In reply to: [Cache-Control] last update causes wp-admin to be unaccessibleFatal error: Uncaught Error: Call to undefined function wp_get_current_user() in …/wp-includes/capabilities.php:640 Stack trace:
#0 …/wp-content/plugins/cache-control/admin.php(3): current_user_can(‘manage_options’)
#1 …/wp-content/plugins/cache-control/cache-control.php(399): require_once(‘/var/www/vhosts…’)
#2 …/wp-settings.php(362): include_once(‘/var/www/vhosts…’)
#3 …/wp-config.php(80): require_once(‘/var/www/vhosts…’)
#4 …/wp-load.php(37): require_once(‘/var/www/vhosts…’)
#5 …/wp-admin/admin.php(34): require_once(‘/var/www/vhosts…’)
#6 …/wp-admin/index.php(10): require_once(‘/var/www/vhosts…’)
#7 {main} thrown in …/wp-includes/capabilities.php on line 640- This reply was modified 5 years, 7 months ago by cantoute.
Forum: Plugins
In reply to: [Cache-Control] has been removed from www.remarpro.com ?I guess you have noticed this last update crashes wp-admin…
can I help you guys ?
Forum: Themes and Templates
In reply to: [Hestia] Hide Product description on Category Pageand for same to happen on related products too
.product section.products .card-description,
.archive .products .card-description {
display: none;
}In the meantime seams that adding the header Client-Ip (HTTP_CLIENT_IP) on the proxy side solved the issue.
Forum: Plugins
In reply to: [Easy Table of Contents] Title changingHi,
I’m getting a similar issue after moving a wordpress from subfolder to site root.
I used wp-cli to change url (with –all-tables) and all the reste seems to work fine, but /robots.txt keeps giving me a 404.
Any clue of where I should look into?
sorry for typo, seems like &nocache would be more common