Portal Popup not opening

Hi there!

Since the last update to ghost 6.19.1 the portal popup on my page doesn’t work correctly anymore. Seems to happen only, when I’m logged in.


Issue Summary

  • Explain roughly what’s wrong
  • What did you expect to happen?

Steps to Reproduce

  1. Click button “Beitreten” (Join) on top right (links to Entdecke die Welt von scamper )
  2. Portal Popup not opening
  3. Reload url Entdecke die Welt von scamper with ctrl+f5
  4. Portal Popup is shown correctly, error message is gone

Setup information

Ghost Version
6.19.1

Node.js Version
If self-hosting - share which version of Node.js you’re using.

How did you install Ghost?
Docker

Provide details of your host & operating system
Hetzner Server CCX13 Flexible Cloud Hosting Services und VPS Server

Database type
MySQL 5.7 / MySQL 8 / SQLite 3 / Other

Browser & OS version
Tried Chrome, Vivaldi and Edge

Relevant log / error output
Browser Console Message:
app.js:556 Uncaught TypeError: Cannot read properties of undefined (reading ‘url’)
at G8.fetchLinkData (app.js:556:40)
at G8.updateStateForPreviewLinks (app.js:747:56)
at initSetup.hashHandler (app.js:227:22)
fetchLinkData @ app.js:556
updateStateForPreviewLinks @ app.js:747
initSetup.hashHandler @ app.js:227

Source Code Line 556: redirect: site.url + #/portal/${pagePath}/

Maybe this is relevant, too (?)

Found the problem, sorry. Wasn’t a bug, but a problem with the basho theme that was using <a href=“{{@site.url}}/#/portal/account/” class=“global-button”>{{t “Account”}}</a>
for login_panel.hbs

replaced it with <li class=“account”><a href=“#/portal/account/” class=“global-button” data-portal=“account”>{{t “Account”}}</a></li>

1 Like