Skip Navigation

[Resolved] there is a code line on all pages that include view

This support ticket is created 3 years, 8 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

Tagged: 

This topic contains 3 replies, has 2 voices.

Last updated by Shane 3 years, 8 months ago.

Assisted by: Shane.

Author
Posts
#1719401

This is super URGENTm Please
all works fine until 2 or 3 days ago

I am trying to: there is a view integrated in a page

Link to a page where the issue can be seen:
hidden link
hidden link
hidden link
and all the pages that have views

I DON'T expected to see: the code line at the beginning of the page

Instead, I got:
from incognito I see: "">"
From thew admin I see: "document.body.className = document.body.className.replace( /(^|\s)(no-)?customize-support(?=\s|$)/, '' ) + ' no-customize-support'; ation { *zoom: 1; } ">
"

#1719797

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Barak,

Thank you for getting in touch.

Were there any changes made to the site in the time you noticed the issue ? This can be but not limited to updating plugins, installing new plugins.

Please let me know.
Thanks,
Shane

#1720411
2020-07-28_10-29-02.png

OK
I disabled all plugins and I activate them one by one
The problem appear when I activate WPRocket
so I checked the WPRocket setting and only when I disabled "Minify HTML" the problem was solved and this strange code disappear

#1721025

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Barak,

I would recommend that you leave this setting to minify the HTML.

What you can do is to make use of Caching plugins if you want to help speed up the website since minifying the HTML is causing this issue.

One such caching plugin you can use is the following.
https://wordpress.org/plugins/wp-super-cache/

Thanks,
Shane

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.