Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

azbx's avatar
Level 17

Uncaught (in promise) TypeError: e.hasAttribute is not a function

in a component named Superbanner.vue everytime i reload starting on two specific pages Market.vue

and Profile.vue

it shows this error

Uncaught (in promise) TypeError: e.hasAttribute is not a function

it also points to vue code which i can only assume is an ssr check, and its always this one component breaking. SuperBanner

i am using portal vue as my teleporter since i cannot seem to get it working with vue's <Teleport>. is there anyway to fix this

1 like
2 replies
azbx's avatar
Level 17

is there a way to fix this?

1 like
azbx's avatar
azbx
OP
Best Answer
Level 17

Fixed. It was an underlying issue with portal-vue, i just switched over to vue slots

1 like

Please or to participate in this conversation.