When I load the page you mentioned, I don’t see any error messages in the console.
Which browser are you using to view it? I’ve tried it with Chrome and Firefox.
Are you logged into the backend right now? If so, try logging out to see if the messages disappear.
Also clear your browser cache to rule that out as a possible cause.
Check the first TypeError
Open F12 → Console and focus on the first error, as it usually identifies the root cause.Prevent null element errors
Check that an element exists before using it:
const element = document.querySelector('.selector');
if (element) {
element.addEventListener(...);
}
Load scripts after the DOM is ready
Wrap your initialization code in DOMContentLoaded.Check for plugin conflicts
Temporarily disable cache/optimization plugins and test other plugins one by one.Clear JavaScript optimization
Disable JavaScript minification/combination, clear caches, and reload the page.Update everything
Update WordPress, the active theme, and the calendar plugin to ensure compatibility.
Hi, Problem i very simple.
You have js script trying to access your ‘myBtn’ element that not exist on this page.
It tries to show and hide on scroll position.