Hello,
When I activate Clean Head plugin webpage goes blank in mobiles,…
Any ideas why?
]]>Good afternoon,
Since I use WP 4.8, I have to desactivate “Head Cleaner” to let “Hustle” function. Could you please find a way to made these two plugins be compatible?
Kind regards,
]]>Hello
Using v 1.4.4 and I notice a lot of Warn message in the log file similar to this:
[Tue Jan 31 12:45:36 2017] [warn] [client 58.108.174.105] mod_fcgid: stderr: PHP Warning: Invalid argument supplied for foreach() in ../htdocs/wp-content/plugins/head-cleaner/head-cleaner.php on line 2895, referer: https://www.xxxxxxx.org/wp-admin/update-core.php?action=do-plugin-upgrade
[Tue Jan 31 12:37:56 2017] [warn] [client 157.55.39.189] mod_fcgid: stderr: PHP Warning: Invalid argument supplied for foreach() in ../htdocs/wp-content/plugins/head-cleaner/head-cleaner.php on line 2895
Is this normal or does it indicate something that needs to be checked altered?
Thanks
Kerry
Head Cleaner converts quotes in Google Tag Manager script and it causes syntax error. Here is the optimized code by Head Cleaner. See line 3, after gtm.js?id=
.
(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src= 'https://www.googletagmanager.com/gtm.js?id="+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,"script','dataLayer','GTM-XXXX');
You can see the original JavaScript at https://developers.google.com/tag-manager/quickstart
And I’m using TwentySixteen theme and head cleaner with default settings. Only “Add canonical tag.” is enabled. How can I solve this issue?
]]>Hi,
How to remove duplicate meta og:description and other?
I already enabled this feature by Yoast SEO but it seems that provide double open graph info when enabled Head Cleaner together.
Thank
]]>After I updated WP 4.7, following error has happened.
Warning: Invalid argument supplied for foreach() in
***/htdocs/wp-content/plugins/head-cleaner/head-cleaner.php on line 2895
Thank you for this plugin support.
]]>I often build multilingual multi-site WP websites, in which each site has contents in a respective different language.
In these cases, the WP function language_attributes() writes the correct lang attribute for the html tag.
However, Head Cleaner plugin rewrites the attribute either with WPLANG constant or ‘ja‘.
Why isn’t there an option to turn off this lang rewriting?
Or, at least, why not rewrite the attribute referring to global $wp_local_package, get_option( ‘WPLANG’ ), and get_site_option( ‘WPLANG’ ) as they are referred to in get_locale() function?
Your plugin throws PHP notices about undefined variables, please correct that in your code and please use WP_DEBUG for development, thank you!
]]>Schema plugins add script tags with type application/ld+json. This plugin replaces the type and wraps the schema in CDATA.
Changing the type destroys the schema markup as it is no longer picked up by search engines.
]]>Hi.
Head Cleaner appends my blog name to the title in og:title. I think that happens because my theme supports ‘title-tag’.
If I change the line
$title = trim(wp_title(”, false));
to
$title = trim(get_the_title());
I get the title without my blog name applied.
Not sure if this is the right way to fix the problem, but it works for me.
]]>It shows following notices.
]]>Notice: Use of undefined constant WPLANG – assumed ‘WPLANG’ in /wp-content/plugins/head-cleaner/head-cleaner.php on line 270
Notice: Undefined variable: filters in /wp-content/plugins/head-cleaner/head-cleaner.php on line 298
Hello
I have translated your plugin ??
Could I please get a link to my website in exchange?
https://alexanderleohansen.dk/
Translation: https://www.filedropper.com/headcleaner
]]>Hey guys anyone using it on the latest version of WordPress?
Cheers D
]]>Hi,
Would like to know what filter or action is becoming active just ACTIVATING the plugin.
without touching any settings. witch action become effective?
thanks for helping.
cheers
I am numb at the moment – this just destroyed my site. I deleted plugin and getting white screen of death on index page only. I did a full backup before I installed the plugiin and even this did not fix the issue? https://www.promosdeals.com – any suggestion would help please.
]]>Head Cleaner plugin creates too many cache files in wp-content/cache/head-cleaner dir and its size has grown 9 GB in one week. Don’t you have automated garbage collection feature?
I know that the plugin has “Remove All Cache Files” button but not every users can click the button frequently. In addition, many users don’t know the directory needs huge space. So I hope a feature to remove outdated cache or to remove all at least. FYI, there are some entires about this issues in Japanese.
By the way, about my website, I think there are some misconfiguration or incompatibility with plugins on my website. So I’ve already disabled cache feature and the issue has not occurred any more.
]]>There are many notices in error log. The plugin already unset the variable before the line.
PHP Notice: Undefined variable: filters in /path/to/wp-content/plugins/head-cleaner/head-cleaner.php on line 298
scriptタグをhead cleaner経由で外部読み込みさせずインライン出力した際( 「CSS と JavaScript を、サーバ上にキャッシュする」のチェックを外した状態)に同ブロック内のコードがうまく動作しません。
3190目辺りのCDATAの書き方が良くないようです…
]]>This report is a consequence of the discussion started here:
https://github.com/phbernard/realfavicongenerator/issues/10#issuecomment-32255001
Apparently, Header Cleaner turns meta names to lower case. Although this should work, it apparently disrupts IE10 and IE11 on Windows 8 and 8.1 when it comes to tile management.
The behavior I could personally observe is that the msapplication-TileColor meta, when written msapplication-tilecolor, is not taken into account by Windows 8.1 RTM / IE11 when trying ti pin the web site to the desktop. msapplication-TileImage is probably impacted too, although I couldn’t check it.
There are additional metas with upper case in their names. They might be impacted as well. See for example https://msdn.microsoft.com/en-us/library/ie/dn255024(v=vs.85).aspx .
]]>Is anyone else experiencing problems with CSS files not combining despite it being enabled?
WordPress 3.5.2 and Head Cleaner 1.4.2.11 (I also disabled all plugins to ensure there wasn’t a conflict).
]]>After i used this plugin, the links has broken and the page was crashed…. All i take now as a result is a big 404 error…. great job….
]]>Hi guys. I just would like to warn about an incompatibility between Header Cleaner and Easy FancyBox. Enabling Header Cleaner in plugins, the effects of Easy Fancybox stops working when clicking over an image. I imagine it will be a thing for some jQuery or Ajax.
If anyone has managed. Please publish it. THX.
Checking the logs:
==> php-fpm/www-error.log <==
[24-Jan-2013 13:59:42 UTC] PHP Notice: Undefined index: HTTP_ACCEPT_ENCODING in …/wp-content/plugins/head-cleaner/js_css.php on line 16
Does someone have some idea?
]]>I’ve a wp installation with jquery 1.7.2
When I install head cleaner plugin it will replace the jquery version of the theme, 1.7.2, with the 1.4.2; this result in a conflict and the site breaks.
Any way to fix this?
It’s a very useful plugin!
thank you very much
]]>Hi,
I have template edited from standard WordPress template Twenty Eleven.
I have two language versions of web: Czech and English.
In Czech is everything OK, but in English are these different values of lang attribute.
Look at https://wpml.org/forums/topic/html-lang-attribute-different-values/.
Thanks
]]>Dont really know how to describe this, but merely activation this plugin skipe the whole query on a page and inserts the following at the wp_footer.
seems to be affecting all my single templates, but not the archive pages. All valid html throughout.
<!DOCTYPE html>
<html dir="ltr" lang="">
]]>
Hi,
first of all… what a brillant idea of a plugin!!! Unfortunately I can’t get it working. After activating I only get this error :
Fatal error: Cannot redeclare file_get_html() (previously declared in C:\xampp\htdocs\holidayformentera\wp\wp-content\plugins\head-cleaner\includes\simple_html_dom.php:37) in C:\xampp\htdocs\holidayformentera\wp\wp-content\plugins\lightbox-plus\classes\shd.class.php on line 83
Can you help? Thanks in advance,
Sven
jquery not defined.. anyway to put jquery above all other js scripts?
Trying to get this to work!
Looks like a great plugin!
]]>Hello, I get an error with the new version.
After installing version 1.4.2.8 once the options update this error appears:
Catchable fatal error: Object of class WP_Error could not be converted to string in /wp-content/plugins/head-cleaner/head-cleaner.php on line 2365
I tried to delete the line of options in BDD, it makes no difference.
In addition I have also designed the language file for French. I send it how?
]]>WordPress 3.3.1 and latest versions of Head Cleaner and WordPress SEO.
Unfortunately, the two plugins don’t co-exist. Head Cleaner does not make any changes, unless I disable WordPress SEO.
https://www.ads-software.com/extend/plugins/head-cleaner/
https://www.ads-software.com/extend/plugins/wordpress-seo/