martinsdzerve
Forum Replies Created
-
Hello.
Regarding to this one: “W3 Total Cache adds the rules to the nginx.conf depending on the configuration, and for example, if the gizp is enabled, the W3TC adds the rules to the nginx.conf.”
I don’t think plugin is able to change any system related files, including nginx.conf. Otherwise it would be a security-breach or mis-configured system. And this is why I asked – Does this message “by default” appear when the plugin is first installed, or does it only appear when the plugin really makes nginx.conf changes?
In my opinion it is just “by default”.
I think this message is useless, because it is misleading info, but maybe I am wrong ??- This reply was modified 8 months, 2 weeks ago by martinsdzerve.
- This reply was modified 8 months, 2 weeks ago by martinsdzerve.
Forum: Plugins
In reply to: [W3 Total Cache] Fatal error in Util_Environment@moodybuttar – the best way to solve this issue is to upgrade the plugin, because the fix is already implemented.
Forum: Plugins
In reply to: [W3 Total Cache] Fatal error in Util_EnvironmentThis method completely deactivating this plugin.
To use it again, you should reinstall it.Forum: Plugins
In reply to: [W3 Total Cache] Fatal error in Util_EnvironmentHello!
We had forgotten to turn off automatic WP core upgrade, and when it automatically upgraded WP to version 6.3, the same error occurred when logging in to the administrator and WP tried to upgrade DB:
thrown in /var/www/mysite.com/wp-content/plugins/w3-total-cache/Util_Environment.php on line 176" while reading response header from upstream, client: 111.111.111.111, server: mysite.com, request: "POST /wp-admin/upgrade.php?step=upgrade_db HTTP/1.1", upstream: "fastcgi://unix:/run/php/php7.4-fpm.mysite.sock:", host: "mysite.com"
2023/08/09 03:15:47 [error] 2845037#2845037: *171636 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught ArgumentCountError: Too few arguments to function W3TC\Util_Environment::is_dbcluster(), 0 passed in /var/www/mysite.com/wp-content/db.php on line 56 and exactly 1 expected in /var/www/mysite.com/wp-content/plugins/w3-total-cache/Util_Environment.php:176
Stack trace: 0 /var/www/mysite.com/wp-content/db.php(56): W3TC\Util_Environment::is_dbcluster() 1 /var/www/mysite.com/wp-includes/load.php(666): require_once('/var/www/mysite…') 2 /var/www/mysite.com/wp-settings.php(124): require_wp_db() 3 /var/www/mysite.com/wp-config.php(101): require_once('/var/www/mysite…') 4 /var/www/mysite.com/wp-load.php(50): require_once('/var/www/mysite…') 5 /var/www/mysite.com/wp-admin/upgrade.php(18): require('/var/www/mysite…') 6 {main}And of course, the quick fix was to log into the server, check what’s causing the error and to rename/remove w3-total-cache plugin folder and wp-content/db.php , wp-content/advanced-cache-2.php, wp-content/object-cache-2.php .
- This reply was modified 1 year, 3 months ago by martinsdzerve.
- This reply was modified 1 year, 3 months ago by martinsdzerve.
- This reply was modified 1 year, 3 months ago by martinsdzerve.
Forum: Fixing WordPress
In reply to: WP 6 automatically did DB setupOh.
Thank you for the answer.
That is interesting …