question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

"aSyNcId" text is sometimes inserted before header and after footer

See original GitHub issue

Issue Summary

I see some weird text injected into my pages sometimes, which is visible above and below my expected content.

  • It always seems to mention “aSyNcId”.
  • Repro is inconsistent.
  • Doesn’t seem to be part of my theme.
  • Only started after upgrading to Ghost 0.8.0 today.

Screenshot of the source

image

My theme’s default file is viewable on the github repo.

  • There is nothing between the open body tag and header, yet there is content being served there.
  • I only see {{ghost_foot}} before the close body tag (nothing set in this field in admin panel).

Steps to Reproduce

  1. Load a Ghost page and compare the content with expected content

Notes:

  • I first saw this repro on one of my post pages, but it didn’t persist after a refresh or retracing my steps (click through to post page from home page).
  • After this repro’d on my home page after a cold load, I decided to open this issue.

Technical details:

  • Ghost Version: 0.8.0
  • Node Version: 4.3.4
  • Browser/OS: Chrome/Windows
  • Database: sqlite3

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
ErisDScommented, May 30, 2016

Well that’s pretty weird in and of itself - but as you’re not nesting any of the async helpers it would have been even weirder if this was easily reproducible!

I can only assume it was an artefact of the upgrade - something cached somewhere and getting confused, although I can’t think what.

I’ll keep an eye out for similar issues.

0reactions
rorosauruscommented, Feb 2, 2017

I updated the number of posts to see per page in Ghost settings, and when refreshing my main page, saw this issue again. It appears to have disappeared since, however. 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

Should Jquery code go in header or footer? - Stack Overflow
An alternative suggestion that often comes up is to use deferred scripts. The DEFER attribute indicates that the script does not contain document.write, ......
Read more >
The Simplest Ways to Handle HTML Includes | CSS-Tricks
You'd name the files header.html and footer.html and put them in /includes/ and then it'll make a build with the includes processed when ......
Read more >
Extra whitespace above the header and below the footer. #4132
I have configured a header and footer for the site example.com and I have got the following issue. Please include code that reproduces...
Read more >
HTML <header> Tag - W3docs
The <header> tag is one of the HTML5 elements. In an HTML document, it is allowed to use several <header> tags, which can...
Read more >
Custom code in head and body tags - Webflow University
The Head Code section in the Custom Code tab of site settings. Footer code. Code entered in the Footer code section appears before...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found