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

Community guidelines

Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.

Support

Strange "ghost" on default page

Solved by Junillon View solution

Started by Junillon 4 years ago · 1 replies · 543 views
4 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

4 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 Thomas, 1 week ago
2 55 12 hours ago
Support · by Anna, 3 days ago
2 60 15 hours ago
Support · by Justin Young, 16 hours ago
1 31 16 hours ago
Support · by Duc , 1 week ago
2 65 5 days ago
Support · by Colin Hume, 1 week ago
2 58 5 days ago