Venkat Raj
Forum Replies Created
-
@webpart Please submit a ticket mentioned above. That will enable us to talk in private.
We need more details to reproduce the issue. After that we can provide a fix. Thanks@jamiee89 Could you please export and provide ACF fields settings as JSON file? Thanks
Also, Disable
webpfeature and see if that fixes issue.@jkaplan555 What was the issue you figured out? Explaining it here will be helpful for others. Thanks!
We are working on that feature and will be available in the future updates. For now, you can use the following tool
https://www.sitelocity.com/critical-path-css-generator@fantamily Go to Dashboard => WP-Optimize => Minify => Advanced tab
https://prnt.sc/9RlbJocOioSr
You can exclude the js file that is causing issue from minifying and merging. If you don’t see any js file related to loco translate plugin (in my test, I couldn’t see), then you need to deactivate all plugins and activate one by one to find out which plugin is really causing issue.@titcrea This text
The file was compressed from %s to %s, saving %s percent, using WP-Optimizerequires 3 values to complete and have been given in the code. However, if your french translation of this string contains more than three%in its string, then you’ll need to fix the translation, which you did.@wazifalab The no. of user agents doesn’t affect your site. Each user agent directive only applies to the rules that follows them. See documentation page where two user agents are present
https://developers.google.com/search/docs/crawling-indexing/robots/create-robots-txt
By default, there is norobots.txtfile in WP setup. Mostly SEO plugins create them. What if the plugin that created it, also removes it in later stage? TheDisallowrule will be there without any user agent.
If you want to remove the rules added by WP Optimize, add the following code in your theme’sfunctions.phpadd_action('after_setup_theme', 'ab123_remove_robots_txt_entry'); function ab123_remove_robots_txt_entry() { if (function_exists('WP_Optimize')) { remove_filter('robots_txt', array(WP_Optimize(), 'robots_txt'), 99, 1); } }@ludomania007 Most
_postsand_postmetaHowever the entries can be in any table. For example, WooCommerce category image is intermsmetaand a users profile picture can be inusermetaetc
So, if you have a backup, I would recommenced doing a proper migration.Which server are you in? Apache? IIS? Nginx?
@website-rob WPO would verify
noncevalue and make sure theactionis not an empty string. If anyone of the above is false, then the error message can happen@ludomania007 Which plugin did you used to move the site? If you have used UpdraftPlus, it will take care of both URLs and PATHs
Do you have backup of the site in the old server?
WP Optimize only uses path that are present in the database entries. It will not construct paths or modify it. When you upload a image, it is path will be stored in database by WordPress core itself. WP Optimize’s image compression only uses those entries.
You are saying that it is only WP Optimize has errors. How can WPO aware of path likeC:\laragon\www\xxxxxxxwp-content/if it is not in database?@jkaplan555 You can turn on browser caching from cache setting page. Please refer screenshot.
https://prnt.sc/_TjetSL49tR-
You may wonder why it isdisabledby default? Because, most servers send static file caching headers themselves and we don’t have to configure it.@laserstore Could you please submit a support ticket here for further investigation? Thanks
https://getwpo.com/ask-pre-sales-question/
(Yes, it is a pre sales form but it will reach our support channel)@laserstore The headers clearly show that the caching process is not taken place. Try disabling minify and see if that fixes issue.
But since you said
> Some customers started reporting to me
You need to check email part of the site. i.e. If you are using SMTP plugins or your hosting email service@silklink Thanks for pointing out.
At this moment, when you compress images, webp formats are created for registered image sizes. If the gallery tiles are created on the fly, then it is possible that webp version of those image sizes are not available.
In the next version we are planning to add on the fly webp conversion feature which will convert any http request for other format (png/jpg) images into webp images.@francoc30 The situation can’t be remedied in the code with provided information. As I said earlier, the error message can only happen when the code is not doing
shutdownaction, but backtrace suggests that it happens doingshutdownaction.
We have already prevented that with if condition which can be seen here.
https://plugins.trac.wordpress.org/browser/wp-optimize/trunk/cache/file-based-page-cache-functions.php#L214
That said, there is no consequences.WP_Optimize()is only used to update cache size. It will not affecting caching or preloading process. During a page reload the cache size is freshly calculated, so it won’t affect the UI too.
We left the error log code there to find out when does this happens other than doingshutdownaction