Quantcast
Channel: WordPress.org Forums » [W3 Total Cache] Support
Viewing all 19340 articles
Browse latest View live

W3TotalCache JS Minify(Combined only) not working

$
0
0

Replies: 0

I am running my WordPress project with Total cache’s JS minify(Combine only) feature on the docker container.Each time we make any changes, we need to restart the docker container. Every time, I do so.I lost my minify folder which returns 500 Internal server error of all js files. To run it, I need to logged in admin panel and go to the total cache dashboard. As soon as I enter to dashboard, I can able to generate js files under wp-content/cache/minify.Even though, I have already setup a command to create an empty path (/wp-content/cache/minify).It is very strange issue that I am having.. I do not want to go to W3TC’s dashboard, each time we have restart docker.

  • This topic was modified 2 hours, 3 minutes ago by tim2020.
  • This topic was modified 2 hours, 2 minutes ago by tim2020.
  • This topic was modified 2 hours, 1 minute ago by tim2020.

Issues when disabling minify

$
0
0

Replies: 0

Hi,

We currently have w3tc and ao and plan on using w3tc for caching and ao for minimizing.

We had minify active on w3tc but when we disabled it and cleared our plugin caches our site had some issues. All of our images and sliders would not display on all browsers, and our sliders are spinning wheels. When we reactivate they all display correctly immediately. Is there something else we need to do disable minify and have our images display?

In the Cache, the svg is wrong

$
0
0

Replies: 1

Hello everybody,
I have a problem with the SVG Chach.
Below the bluen section the width of the SVG file is wrong. This should be the same for the whole width. If the cache is off, it works. The viewbox tag will be destroyed. Why is that?

Greetings
Elias

Cannot use DigitalOcean Spaces as CDN

$
0
0

Replies: 0

Hello,

I am trying to setup DigitalOcean as my CDN provider. I have set the correct API host, access and secret key, bucket, cname but i got an error that did not divulge much – something with 411 which made me debug things.

If we look at https://developers.digitalocean.com/documentation/spaces/#object it seems that we need to send a mandatory Content-Length in the headers.

If we don’t specify it we end up with the error in the response

object(stdClass)#2126 (4) {
[“error”]=>
bool(false)
[“body”]=>
string(222) “<?xml version=”1.0″ encoding=”UTF-8”?><Error>MissingContentLength<BucketName>xxx-yyy</BucketName><RequestId>xxx-yyy-zzz-www</RequestId><HostId>aaa-bbb-ccc</HostId></Error>”

Looking inside code in class S3Compatible line ~452 it is specified that we should set “Content-Length” but that is not done.

Theoretically all that we need to do is to set
$rest->setHeader(‘Content-Length’, $rest->size);

Once this is done things become even stranger, as now the response hangs for aprox 1 minute then return the error

object(stdClass)#2126 (4) {
[“error”]=>
bool(false)
[“body”]=>
string(214) “<?xml version=”1.0″ encoding=”UTF-8”?><Error>UnknownError<BucketName>xxx-yyy</BucketName><RequestId>xxx-yyy-zzz-qqq</RequestId><HostId>aaa-bbb-ccc</HostId></Error>”
[“headers”]=>
array(3) {
[“size”]=>
int(214)
[“type”]=>
string(15) “application/xml”
[“date”]=>
int(1562697356)
}
[“code”]=>
int(500)
}
{“result”:false,”error”:”Error: Unable to put object (S3Compatible::putObject(): [500] Unexpected HTTP status).”}

Please let me know what i am doing wrong.

Thanks!

W3 Total cache to automatically empty minify cache after modify js files

$
0
0

Replies: 0

I would like to inform if there is a way to flush all minify caches after modifying any JS files without deleting through admin panel or calling to flush_minify() function)…

I want basically an automatically way to delete all minify caches as soon as I make any changes within js files.

Update issue

$
0
0

Replies: 2

Hi

I have 0.9.7.3 installed and the plugins page does not ask for an update. What causes the issue ? Can I update manually from FTP?

Regards

Not Allowed to Preview Drafts

$
0
0

Replies: 0

I’m converting a Weaver II themed website into a Weaver Xtreme themed website and have been advised by the theme author (Weaver) to first create a clone of my website in a subdirectory then convert that clone to Weaver Xtreme. That way, I can keep the Weaver II site live while I convert to Weaver Xtreme. All has gone well with the conversion except whenever I try to preview a page in Weaver Xtreme, while it’s still in the subdirectory, I get this error message:

======
Sorry, you are not allowed to preview drafts.

Warning: Parameter 1 to W3_Plugin_TotalCache::ob_callback() expected to be a reference, value given in /var/www/vhosts/gerlachproductions.com/communiclips/wp-includes/functions.php on line 4339
======

I have tried the following:
1. Cleared browser cached files & cookies
2. Deleted the W3 Total Cache plugin

But neither solution worked. This clearly has something to do with your plugin but I cannot fix it. I can preview the home page just fine but none of the other pages of my website. Does this error have something to do with trying to preview a cloned site in a subdirectory?

Uncaught ReferenceError: plupload is not defined

$
0
0

Replies: 2

I am getting this error when I try to upload new image,already i installed w3 total cache plugin then i uninstalled that plugin, now media upload UI not working properly, like uploads file-> select files button not working.

plupload.full.min.js:1 Failed to load resource: the server responded with a status of 404 (Not Found)

Failed to load resource: the server responded with a status of 404 (Not Found)
jquery.js?ver=1.12.4:3

The specified value “!” does not conform to the required format. The format is “#rrggbb” where rr, gg, bb are two-digit hexadecimal numbers.

Uncaught ReferenceError: plupload is not defined
at new c (wp-plupload.min.js?ver=5.1:1)
at n.ready (media-views.min.js?ver=5.1:4)
at _ (backbone.min.js?ver=1.2.3:1)
at m (backbone.min.js?ver=1.2.3:1)
at f (backbone.min.js?ver=1.2.3:1)
at n.u.trigger (backbone.min.js?ver=1.2.3:1)
at wp.Backbone.Subviews.ready (wp-backbone.min.js?ver=5.1:1)
at underscore.min.js?ver=1.8.3:5
at Function.m.map.m.collect (underscore.min.js?ver=1.8.3:5)
at Function.m.invoke (underscore.min.js?ver=1.8.3:5)


loop loading woocommerce

$
0
0

Replies: 2

Please help.
I have a woocommerce store and I use w3 with this guide https://www.webnots.com/how-to-make-woocommerce-work-with-w3-total-cache/

My store runs 5-10 times faster!!! really. However, 1 in 10 click of web browsing will make my webpage loop in white loading screen with circle rotating. This will keep looping forever until I press back or refresh. Then it will work again. then it will happen again about 1 in 10 clicks.

\\\* I’m not sure it has to do with a longer loading of a layer of “render blocking” because If I use my mobile phone, I can see my web behind a white layer that block 95% of the screen.*\\\

User role permission to purge

$
0
0

Replies: 0

Hi, I need to give permission to some user roles to be able to purge cache, but I cant’t find the option. I’m using User Role plugin, is tehre a way or a snippet I can add to my funtions file?

Thanks

RSS Feed breaks with W3 Total Cache

$
0
0

Replies: 0

Hi,

It turns out our RSS feed hasn’t been working for over a year now (as a result, our social distribution was broken since it relies on RSS).

After debugging it today, it turns out W3 Total Cache isn’t caching the RSS properly and breaks it. It’s showing the following error: Input is not proper UTF-8, indicate encoding !

Here’s a screenshot: https://prnt.sc/odqxl2

I had to disable the Cache feeds: site, categories, tags, comments option under Page Cache to make it work again as a temporary solution …

Any suggestions?

Call to undefined function W3TC\request_filesystem_credentials

$
0
0

Replies: 0

Hi,

Recently I started noticing the following error logs:

[11-Jul-2019 23:23:38 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function W3TC\request_filesystem_credentials() in /path/to/wordpress/wp-content/plugins/w3-total-cache/Util_WpFile.php:246
Stack trace:
#0 /path/to/wordpress/wp-content/plugins/w3-total-cache/Util_WpFile.php(21): W3TC\Util_WpFile::request_filesystem_credentials()
#1 /path/to/wordpress/wp-content/plugins/w3-total-cache/PgCache_Environment.php(462): W3TC\Util_WpFile::write_to_file('/path/to/bl...', 'Options +Includ...')
#2 /path/to/wordpress/wp-content/plugins/w3-total-cache/PgCache_Environment.php(31): W3TC\PgCache_Environment->rules_core_add(Object(W3TC\Config), Object(W3TC\Util_Environment_Exceptions))
#3 /path/to/wordpress/wp-content/plugins/w3-total-cache/PgCache_ContentGrabber.php(1041): W3TC\PgCache_Environment->fix_on_wpadmin_request(Object(W3TC\Config), true)
#4 [internal function]: W3TC\PgCache_ContentGrabber->_check_rules_present()
#5 {main}
  thrown in /path/to/wordpress/wp-content/plugins/w3-total-cache/Util_WpFile.php on line 246

It happens quite a lot, I’ve the most recent version of the plugin, but it was happening on the previous one as well.

Some other details:

PHP 7.3.3
WordPress version: 5.1.1
WordPress Multisite installation running
Plugin version: 0.9.7.5

I hope you can help me fix the issue. If you like me to share any other details, please let me know.

Thanks!

Amazon S3 Error executing “ListBuckets”

$
0
0

Replies: 1

The plugin suggests following policies for an Amazon S3 IAM User. Although it’s not clear why the plugin needs the ability to retrieve any object from any bucket. Not setting the aforementioned policies results in the Error: Error executing “ListBuckets” on “https://s3.eu-west-1.amazonaws.com/”; AWS HTTP error: Client error: GET https://s3.eu-west-1.amazonaws.com/ resulted in a 403 Forbidden response: AccessDeniedAccess Denied000AF4 (truncated…) message when testing upload.
Please clarify why the plugin wants those permissions:

        {
            "Sid": "Stmt1339423675422",
            "Action":s3:List*?,
            "Effect":"Allow",
            "Resource":"*"
        }

Is it possible to configure it in a way so it doesn’t read information from other buckets?

  • This topic was modified 1 hour, 24 minutes ago by kutalia.

Broken Dashicons on Admin page

$
0
0

Replies: 2

I believe there’s something wrong on the Admin’s Total Cache Dashboard, all the icons look like this:

https://www.dropbox.com/s/p81u3h1hzulz91v/Screenshot%202019-07-12%2012.51.02.png?dl=0

It only happens on that page, I haven’t taken a look at the source code, but when I get a change I’ll see if I can find what the problem is.

Details
Current version: v0.9.7.5
Multisite installation.
Version: 5.1.1

If you need additional details, please let me know.

Module detection problem with FPM

$
0
0

Replies: 0

Hi, I am using mod fpm with fcgi, and W3 does not detect deflate and other modules, I know it’s a known issue, but…

mod_deflate: Not detected (required for disk enhanced Page Cache and Browser Cache)
mod_env: Not detected (required for disk enhanced Page Cache and Browser Cache)
mod_expires: Not detected (required for disk enhanced Page Cache and Browser Cache)
mod_filter: Not detected (required for disk enhanced Page Cache and Browser Cache)
mod_ext_filter: Not detected (required for disk enhanced Page Cache and Browser Cache)
mod_headers: Not detected (required for disk enhanced Page Cache and Browser Cache)
mod_mime: Not detected (required for disk enhanced Page Cache and Browser Cache)
mod_rewrite: Not detected (required for disk enhanced Page Cache and Browser Cache)
mod_setenvif: Not detected (required for disk enhanced Page Cache and Browser Cache)

It also does not detect brotli, even though it is installed, hence I cannot hit that checkbox in the settings

brotli extension: Not installed (required for brotli compression support), yet if I visit

https://tools.keycdn.com/brotli-test and enter my site, it shows brotli is supported. How can I still enable this compression in settings?


Module detection problem with FPM

$
0
0

Replies: 0

Hi, I am using mod fpm with fcgi, and W3 does not detect deflate and other modules, I know it’s a known issue, but…

mod_deflate: Not detected (required for disk enhanced Page Cache and Browser Cache)
mod_env: Not detected (required for disk enhanced Page Cache and Browser Cache)
mod_expires: Not detected (required for disk enhanced Page Cache and Browser Cache)
mod_filter: Not detected (required for disk enhanced Page Cache and Browser Cache)
mod_ext_filter: Not detected (required for disk enhanced Page Cache and Browser Cache)
mod_headers: Not detected (required for disk enhanced Page Cache and Browser Cache)
mod_mime: Not detected (required for disk enhanced Page Cache and Browser Cache)
mod_rewrite: Not detected (required for disk enhanced Page Cache and Browser Cache)
mod_setenvif: Not detected (required for disk enhanced Page Cache and Browser Cache)

It also does not detect brotli, even though it is installed, hence I cannot hit that checkbox in the settings

brotli extension: Not installed (required for brotli compression support), yet if I visit

https://tools.keycdn.com/brotli-test and enter my site, it shows brotli is supported. How can I still enable this compression in settings?

  • This topic was modified 5 hours, 51 minutes ago by .

Menu won’t switch from EN to FR on my website

$
0
0

Replies: 1

Hello,

I am trying to make my menus correspond with the language selected. It worked well until I installed W3 cache.

When clicking on English flag, main menu is supposed to be in english, but it remains in french, whilst the rest of the page is in english.
Problem occurs on menus only, but it’s a real issue, for English speaking visitors are sent to french pages when clicking on this menu, even if the homepage is in english.

Can someone help me ?
Thank you,

Query String not added to minified css / js

$
0
0

Replies: 1

Using W3TC 0.9.7.5

When I enable minify for CSS and JS the query string is not added to the end. However if I enable HTTP/2 push, each minified file loads twice, once with the query string and once without (like it does with push is disabled).

All the Browser Cache “Prevent caching of objects after settings change” options are enabled and the “Remove query strings from static resources” are disabled.

Shouldn’t the query string appear on the minified files as well.

I am running HTTP/2 so perhaps there’s an issue there since they do start appearing when the push options are enable.

LayerSlider broken with w3 total cache

$
0
0

Replies: 2

It worked ok at first, but as I got deeper into settings re: CloudFlare CDN, and js/css details, at some point the Slider stopped working and was just an empty space.

I have no idea where it went wrong. I am using Enfold theme and Autoptimize. I did see in another thread that Enfold can be quirky, but I did not see any current comments about if y’all found any workarounds.

Any advice on getting the slider back up?
Thanks
Jon

Minify and search widget issue

$
0
0

Replies: 3

Hi,

I’m running the Hueman theme with W3 Total Cache and not sure when it started but when I click in the search widget, it doesn’t clear the default text, just makes it active.

Went through disabling plugins and narrowed it down to W3, then I started disabling each setting and it seems that disabling “HTML minify settings” fixed the problem and now when clicking the search field, it clears the text so the user can input their query without having to delete the default text.

I’ll keep minify on just now because of the benefits, but thought I’d let you know.

Cheers.

Viewing all 19340 articles
Browse latest View live


Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>