Skip to content
Grav 2.1 is out: every page speaks Markdown. Read the announcement →

Strange "ghost" on default page

Solved by Junillon View solution

Started by Junillon 5 years ago · 1 replies · 679 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 complanar, 6 days ago
6 140 16 hours ago
Support · by Rick Beebe, 6 days ago
2 100 2 days ago
Support · by blu3prince, 3 days ago
0 52 3 days ago
Support · by alex, 4 days ago
2 92 3 days ago
Support · by Marcel, 2 weeks ago
1 143 4 days ago