vee
Forum Replies Created
-
updated the description.
Forum: Reviews
In reply to: [LiteSpeed Cache] Uninstalling leave a messhttps://developer.www.ads-software.com/plugins/plugin-basics/uninstall-methods/
When your plugin is uninstalled, you’ll want to clear out any plugin options and/or settings specific to the plugin, and/or other database entities such as tables.
Less experienced developers sometimes make the mistake of using the deactivation hook for this purpose.
It is not to remove these data on disabled (deactivated) the plugin but it is recommended to do this on uninstall the plugin. Please read WordPress plugin handbook.
Here is the link to that topic. https://www.ads-software.com/support/topic/plugins-cache-cause-legacy-widget-break/
At least, please remove that unnecessary HTML comment or put them in WP error log file and everything will back to normal.
It’s 2 months but still doesn’t fix.
Found the problem!
From your plugin wp-optimize/cache/file-based-page-cache.php
line 141wpo_cache_add_footer_output(sprintf("Page not served from cache %s", $not_cached_details));
If I comment out this line, the widgets load properly. This is because legacy widget load via AJAX and response should be JSON but you send out HTML comment that breaks the JSON result.
So, is this your plugin’s problem?
Please check that it is not from widget admin page or response content type is HTML before add comment on footer output.
Tested with Twenty Twenty-One theme. WP-Optimize page caching disabled. Everything works fine.
Tested with Twenty Twenty-One theme. WP-Optimize page caching enabled. Legacy widget invisible.
All other plugins are disabled.
Why you mark as resolved while it is not? From the tested above with WordPress official theme still have problem with your plugin page caching enabled. Isn’t that means it come from your plugin?
- This reply was modified 5 months, 3 weeks ago by vee.
It doesn’t rendering legacy widget normally. It still invisible.
The rectangle box (without plus sign) you see in the picture is because I move the cursor on it. If I move cursor out then it still invisible.
If I disable WP-Optimize cache then everything will back to normal so it means that the cache part of this plugin breaks admin widget page.
If you tested with very simple theme that passed Theme Check and all code are correct (especially WordPress theme Twenty xxx) and works correctly if all plugin disabled, this means those themes have no problem.
I’ve tried with both themes you suggested, they have the same result. Legacy widgets are invisible.
Above is Astra theme.
Above is OceanWP theme.
This happens with many themes that supported legacy widgets such as my themes Bootstrap Basic & Bootstrap Basic 4 including WordPress theme Twenty Nineteen, Twenty Twenty-One are affected.
The most simple, basic, minimal theme that has tiny little few functional I created for test with Theme Check plugin, it’s named skinny (link is go to GitHub) still showing invisible widgets in admin page.Tested with WordPress 6.6-alpha-58067 , PHP 8.1
All other plugins are deactivated.
- This reply was modified 5 months, 3 weeks ago by vee.
Widgets page, on hover the blank space. There is Meta widget here but invisible when this plugin’s cache page is enabled.
Click on it and showing Meta widget.
Thank you ??
Forum: Plugins
In reply to: [WooCommerce] Please cleanup on uninstall. Do not leave junk.This plugin leave things in many tables not just its tables and in
_options
but also inposts
and more.I try to uninstall because I messed up the data (on my localhost, development side) and I would like to wipe them out and start again fresh (for WC only -without delete and re-install WordPress). But I have to manually clean them myself that is not good.
Please have this option. Thank you. ??
Forum: Plugins
In reply to: [WooCommerce] delete all orders and customers from systemWordPress document https://developer.www.ads-software.com/plugins/plugin-basics/uninstall-methods/ said When your plugin is uninstalled, you’ll want to clear out any plugin options and/or settings specific to the plugin, and/or other database entities such as tables.
So, it should be this plugin’s task to delete these data for us. Not just leave a lot of junk and let the other plugin did it.
Thanks a lot. Wonderful plugin!
Forum: Reviews
In reply to: [Classic Editor] Best plugin ever madePlease restore this instead of gutenburg ?1??