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.

Uncaught DOMException error in console

See original GitHub issue

For some reason the print pdf isn’t working for me. I see this error in the console when clicking the print button:

Uncaught DOMException: Blocked a frame with origin "https://blog.myfitnesspal.com" from accessing a cross-origin frame.

This is happening here when you click on the print icon next to the “4-Week” poster:

https://blog.myfitnesspal.com/your-ultimate-4-week-core-strength-plan/

Any ideas why this is not working?

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:13 (5 by maintainers)

github_iconTop GitHub Comments

5reactions
happy4upacommented, Apr 13, 2020

Hi, the same issue is on the printjs website now:

print.js?v1.0.61:1 Uncaught DOMException: Blocked a frame with origin “https://printjs.crabbly.com” from accessing a cross-origin frame. at d (https://printjs.crabbly.com/print.js?v1.0.61:1:2207) at HTMLIFrameElement.o.onload (https://printjs.crabbly.com/print.js?v1.0.61:1:2015)

1reaction
meshorticommented, Jul 11, 2018

Ok looks like it might be a server configuration. Having WPEngine look at this. I’ll post update here when I reach a conclusion.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to solve Uncaught (in promise) DOMException error?
The Problem When user continuously click to change the video the console returns an Uncaught (in promise) DOMException error where it points ...
Read more >
DOMException - Web APIs | MDN
The DOMException interface represents an abnormal event (called an exception) that occurs as a result of calling a method or accessing a ...
Read more >
Guided Tours not working - DOMException error thrown in ...
When checking the browser console, we can see that a DOMException is thrown. Error: uncaught DOMException: Blocked a frame with guided tours. Cause....
Read more >
Uncaught DOMException: Failed to read the ...
Hi, I am getting the error in the console "Uncaught DOMException: Failed to read the 'contentDocument' property from 'HTMLIFrameElement': Blocked a frame ...
Read more >
ELM 9.2 - Externally Hosted SCORM Course Not Launching ...
... Causes Browser Error "Uncaught DOMException: Blocked a frame with ... they open the browser console they can see the Javascript error.
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