Venkat Raj
Forum Replies Created
-
@brianvarvel Could you please do a plugin conflict test. Disable all plugins except WP Optimize.
Does that break customizer publishing? 500 error? If not, enable other plugins one by one to find out which one is causing the issue
The rule is as per guidelines
https://developers.google.com/search/docs/crawling-indexing/robots/create-robots-txtTo debug the issue…
1. Disable all plugins.
2. Deleterobots.txt
3. Enable WP OptimizeYou won’t see
robots.txtfile.
4. Enable other plugins one by one and you’ll find which plugin createsrobots.txtAs I said in my earlier reply, WP Optimize only added one line when
robots.txtexists@pleazo Please do a plugin conflict test. Disable all plugins except WP Optimize. If that doesn’t result in critical error, then activate plugins one by one to find out which one is causing it.
@francoc30
Allowed memory size of 2097152 byteswhich is 2MB which is really low for a site with 40 plugins. IMO, you need to increase server resources to solve this@mrmatteastwood There is some enqueue ordering issue when you turn on
Inline CSS - Recommended if the CSS files are small enoughoption. So, turn it offOther than that, I don’t see any issues (except that I don’t use Bricks)
See
@cueb How do you come to conclusion that WP Optimize added that line? Does deleting
.htaccessfile and re-enabling WP Optimize added that line?WPO uses
.htaccessfile to add rules for enabling browser cache and gzip compression serving. None of these rules have the line you have mentioned.Could you please clarify?
If
No user-agent specifiedis the issue you are mentioning, the WP Optimize only addsDisallow: /wp-content/uploads/wpo-plugins-tables-list.jsonto existingrobots.txtIt doesn’t create
robots.txtfile, it only adds single line to existing file. So, you have to look which SEO plugin creates that file and why it hasn’t specified any user agent, etc@pleazo By chance you make mistake when editing
wp-config.phpfile?Does remove WP Optimize fixes the issue?
It is highly unlikely that adding
define('SCRIPT_DEBUG', false);towp-config.phpfixes a critical error@jrduchemann Regarding the
sprintf(): Too few argumentswarning, which language your site is using?@sneakerlove The response header has
x-cache-status: BYPASS. I believe you are on plesk/nginx platform and is configured to not cache any pages with cookies. You need to add your cookies list in the plesk setup to enable caching.Ask your hosting provider about this header.
Remove
advanced-cache.phpfile and it should solve the issue. May be you removed WP Optimize via FTP, not from dashboard.@myungho64
Error establishing a database connectionmeans you have wrong database details (database name / username / password) in yourwp-config.php@jrduchemann These are php warning and can’t be the cause for 504 gateway timeout error.
Regarding the 2nd one, the open_basedir issue, we are aware of that. You are using an external URL, hot linked image that causes the issue. The patch has been applied and will be available in the next release.
We’ll look into the other two warnings.
Could you please try to comment out this line and see
504issue is solved? Thanks
https://plugins.trac.wordpress.org/browser/wp-optimize/trunk/wp-optimize.php#L539@pleazo Did you see the warning in the minify settings page?
The constant SCRIPT_DEBUG is set to true, so no JavaScript or CSS file will be minified.You need to set it
falsein yourwp-config.phpto make minify/merge work and improve your scores