Skip to content
● Meet Grav Guard: keep every Grav site you run secure and up to date, all from one place. Free for up to 3 sites. Read more →

Strange "ghost" on default page

Solved by Junillon View solution

Started by Junillon 5 years ago · 1 replies · 865 views
5 years ago

Hi, I used to have a particular javascript reloading part of a page. The div ID reloaded was "unicitem".
I :

  • removed all .js calling it
  • modified all twigs with name inside
  • checked all grav dir with grep -ri -e "unicitem" to ensure nothing was left behind (not in twig php yaml or else)
  • cleared cache from grav
  • restarted of course apache and phpfpm

and, I don't understand why, it appears at the very end of the page ! Is there a possibility flushing the cache is not enough ?

thanks for any idea...
Capture d’écran 2022-02-05 à 12.36.46|97x90

5 years ago Solution

OK, found ! The problem was not coming from my code but from a google tag manager : gtm.js
I don't know why this happened, but I found the ghost in the source script from them. Something went wrong in google's world :D

Capture d’écran 2022-02-08 à 16.43.56|609x55

gohstbuster ;)

👍 2

Suggested topics

Topic Participants Replies Views Activity
Support · by TomW, 2 weeks ago
8 227 9 hours ago
Support · by alex, 2 months ago
8 667 24 hours ago
Support · by Supple, 5 days ago
1 98 1 day ago
Support · by TomW, 1 week ago
3 159 3 days ago
Support · by TomW, 6 days ago
2 106 5 days ago