I installed the error log plugin as you have suggested on other tickets. I see this error come up
[14-Mar-2020 13:02:56 UTC] PHP Notice: Constant WP_MEMORY_LIMIT already defined in /home/dantianh/public_html/wp-config.php on line 105
[14-Mar-2020 13:03:15 UTC] PHP Deprecated: implode(): Passing glue string after array is deprecated. Swap the parameters in Unknown on line 0
Two other errors were noted with a social share plugin, but this does not appear to affect the front end. When I deactivate the social share plugin the aforementioned errors continue to arise in a constant loop when I attempt to access the affected post from the front end.
@dantianhealth thank you for providing me the errors! I haven’t had a chance to test Asset CleanUp with Visualiser, but I will do it as soon as possible. As for the errors you’re having, the first one is unrelated to Asset CleanUp as no “WP_MEMORY_LIMIT” constant is defined within the plugin, and even if it would be, there will be a checking first if the constant was already defined. It looks like the error you’re having is from a plugin/theme that attempts to define it (most likely to set a higher value to increase the memory limit) without checking if it was already defined.
In regards to the second error, this was triggering in PHP 7.4+ in version 1.3.5.7 and lower and even though it printed the error message on the page, it shouldn’t mess with anything else at all. This was a bug (to be more precise, a compatibility fix) for PHP 7.4+ users (as the error states it’s a deprecated thing and it’s advisable to change it). If you are using Asset CleanUp 1.3.5.8 and above which I would recommend, then you should have this issue at all because the fix that were reported in the library here https://github.com/matthiasmullie/minify/commit/47a53716f94139aff22922ffd73283ff04f23cdf was also applied in Asset CleanUp (see line 528 from here: https://plugins.trac.ww.wp.xz.cn/browser/wp-asset-clean-up/tags/1.3.5.9/vendor/matthiasmullie/minify/src/CSS.php). So, if you’re still getting it, then it’s likely from a different plugin/theme that uses the same library but an outdated version. Or, the same implode() function is used somewhere else (unrelated to the library) and it has the same old deprecated parameter order.
I’ll make some tests with “Visualizer: Tables and Charts Manager for WordPress” plugin and get back to you. There’s could be an incompatibility between the plugins and if that’s the case, it will be fixed as soon as possible.
@dantianhealth I installed “Visualizer: Tables and Charts Manager for WordPress” and made a few tests. The plugin’s CSS/JS is correctly minified/combined without reporting any errors related to the ones you mentioned.
If you setup “Error Log Monitor” and check the errors reported, you will notice one from Visualizer, but in my tests it was harmless and unrelated with Asset CleanUp in any way. The error is Notice: Trying to access array offset on value of type null in /[...]/wp-content/plugins/visualizer/classes/Visualizer/Module.php on line 83