wpmhweb
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Fix WordPress Theme editor Scrape key check failed error@diondesigns @t-p I wanted to follow up because I figured out today that the error seems to only happen when the theme is active. For example, if I open the Theme editor with the active theme, and I save a PHP file, then I’ll receive the “Scrape key check failed. Please try again” error. However, while in the Theme editor, I select an inactive theme from the “Select theme to edit:” menu, then I can save PHP files from the other theme that is not active.
So, the problem is saving PHP files from the active theme. Any other ideas of what could be the problem?
Thanks,Forum: Fixing WordPress
In reply to: Fix WordPress Theme editor Scrape key check failed error@t-p The reason why I posted the question here again is that the hosting doesn’t know what’s going on. What should I look for in the etc folder?
Forum: Fixing WordPress
In reply to: Fix WordPress Theme editor Scrape key check failed error@t-p I did try different themes. I also tried deleting the current theme and installing a new one.
Forum: Fixing WordPress
In reply to: Fix WordPress Theme editor Scrape key check failed error@t-p Thanks, but I did all that. Also, if I don’t have any plugins installed, what am I supposed to disable? Thanks,
@vmarko I happen to have the same issue, I have disabled the W3 Total Cache plugin, but I still have the same issue. I have activated the plugin and changed the settings as mentioned above and the same error happens. Oh, I have also deleted the cache directory, and nothing.
Any other ideas?
Thanks,@t-p I have installed the theme on another server, and PHP files are saving without issues. What could be the problem if disabling all the plugins is not the issue and the theme works on another server?
Could it be some permissions issue?Also, I have to update my first response. I can see the error on any theme, it just happened with TwentyTwenty Two.
- This reply was modified 2 years, 7 months ago by wpmhweb.
@t-p It would appear that this is a problem with the theme. I’m using a custom theme I built, and I’ve been using it for a long time without issue. How could I start troubleshooting the problem? Thanks,
@spacetime well, that makes sense, I’ll try that. Thanks,
@spacetime Let me see if understand correctly, you are saying at even if I am creating an ad block that with only AMP code (and the block does not contain an ad code for regular pages), I still have to add the [ADINSERTER AMP] separator to show only in the AMP pages?
@spacetime I read the documenation, but it’s rather confusing. I have regular blocks of ads configure in a way that only works when for regular pages, if I add the AMP code, it will not work. So, i created a different ad block that will only appear from AMP pages. The problem is that when I select AMP pages, the code will appear in the regular page as well as in AMP pages, but the ad itself will only load in the AMP page.
@bizanimesh Still doesn’t work, but I haven’t had the chance to update the question.
@drawmyface what settings are you referring to?
W3TC works fine when Boost is disabled.
I need to make W3TC minify work with Boost to use the critical CSS feature.
When using Boost and w3Tc, minify css in w3tc causes rendering blocking.Forum: Plugins
In reply to: [Autoptimize] How to fix JetPack and Autoptimize script loading problem@optimizingmatters I ended up using JetPack Boost for the JS and Critical CSS, and Autoptimize for minimizing CSS to fix the problem.
@chriscct7 Ok, but what’s going to happen on sites that already implemented the workaround?
Thanks,@vmarko the .htaccess does not have any TTL configuration. StackPath has the browser cache ttl set to 60 days, and cache handling Lifetime to Origin Controlled. And the W3TC as previously shown above.
Could it be the VPS DNS records? I mean the NS and A records? The A is set for 3660 and the NS is set to 1800.@vmarko I understand that external sources can not be handled, but I have several files coming from the site that has a low TTL.
Here’s an example:
` Serve static assets with an efficient cache policy 56 resources found …jquery/jquery.min.js(i3g4v6w8.stackpathcdn.com) 34 m 46 s 30 KiB …css/autoptimize_single_92f5cdb….css?ver=5.6.3(i3g4v6w8.stackpathcdn.com) 34 m 46 s 24 KiB …css/autoptimize_single_c0bb895….css?ver=9.3.1(i3g4v6w8.stackpathcdn.com) 34 m 46 s 14 KiB …jquery/jquery-migrate.min.js(i3g4v6w8.stackpathcdn.com) 34 m 46 s 4 KiB …related-posts/related-posts.min.js(i3g4v6w8.stackpathcdn.com) 34 m 46 s 2 KiB
`
the browser cache settings of w3tc, I have these settings:
CSS & JS is set to 31536000 seconds
HTML & XML is et to 3600 seconds
Media & other files is set to 31536000 secondsSeeing these configurations, I don’t how to determine what setting w3tc is using for the above files, since we are talking about js and css files, and Google lighthouse shows one-hour ttl and w3tc appears to be using one-year ttl.