Skip to content
Grav 2.0 is officially stable. Read the announcement →
Support

Strange "ghost" on default page

Solved by Junillon View solution

Started by Junillon 5 years ago · 1 replies · 638 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 Paul Hodges, 4 weeks ago
19 484 5 days ago
Support · by Lauw, 7 days ago
2 99 7 days ago
Support · by Anna, 3 weeks ago
4 426 1 week ago
Support · by gtx, 4 weeks ago
4 377 3 weeks ago
Support · by Anna, 1 month ago
9 484 3 weeks ago