pazerval
pazerval
PD🧩 Plasmo Developers
Created by pazerval on 7/11/2024 in #🔰newbie
runtime.lastError
I am getting the following error: Unchecked runtime.lastError: The page keeping the extension port is moved into back/forward cache, so the message channel is closed. It happens when navigating away from certain webpages. The behavior seems extremely inconsistent and I am not sure where the error is originating from. I've commented out my content scripts with no luck so I do not think it is an issue with my content scripts. In my background service worker, I'm keeping track of connections to ports to try to debug. The port causing the issue seems to be __plasmo_runtime_script_aZjaa__, but I do not know what part of my extension is using that port. Any help would be greatly appreciated. Thanks!
2 replies