Session and Datastore fields disappearing + ghost windows on startup

Hello Wappler community,

Since June 2024, I’ve been experiencing a recurring and critical issue in all Wappler versions I've used until now:
:point_right: The Session and Datastore fields randomly disappear from the panel, making maintenance very difficult and severely impacting development.

This bug is happening in all projects, regardless of the setup — I tested in pure PHP and Docker-based apps, and the same behavior persists.

I’ve already:

  • Restarted Wappler
  • Cleared cache
  • Rebooted the system
  • Recreated the components

…but the fields keep disappearing — sometimes randomly, sometimes just after reopening the project.

I’ve talked with other developers in the community, and they are also experiencing the same problem, confirming it's not an isolated case.

:warning: URGENT REASON:
We’re in the middle of production on multiple projects and losing access to these fields makes it impossible to continue work reliably, especially in larger apps where sessions and datastores are essential for logic and state control.

Additionally, another issue started happening:
:point_right: When launching Wappler, it opens 4 ghost windows with no content — this didn’t happen in earlier versions.

Please investigate this ASAP :pray:. If other users are facing the same, feel free to comment to bring visibility.

Thanks!

Wappler Version: Beta 7.0.0-b21
Operating System: Windows 11

Rafael – Pense Moderno

1 Like

Hello @pensemoderno

This was fixed on latest version (v23)
https://community.wappler.io/t/multiple-editor-on-startup/61985

Now, about the session/datastore what do you mean? The schema dissapear on the Wappler UI?
Or these components are randomly emptied on the browser?

About the sessionStorage and dataStore issue:
Inside the Wappler editor, I’ve noticed that session and datastore components sometimes randomly disappear from the UI — and even from the code.

For example, when I create a session_x with variables like id and name, they appear normally. But as soon as I close the page I’m working on and reopen it, the id and name fields are gone — same happens with dataStore.

Sometimes they persist even after restarting Wappler, but eventually they vanish on their own, as if they were never added.

:warning: Important: On production, everything works fine. The issue is only inside the editor UI, where the components (and even their code) disappear completely.

As a workaround, I started adding comments in the code to remember the variable names.

:exclamation: This has been causing delays and confusion during development, especially when working in teams — as the missing visual components affect the workflow and productivity.

Have you tried duplicating the App ID across the pages you are working on to see if the missing variables appear? Use the APP ID of your Layout page on the Content pages (then check to see if the values are available in the affected pages in Node). Likewise in PHP insure all APP ID's match on all pages. There is also a long standing issue whereby if Wappler crashes these variables which are contained in the the config.js file are wiped (this is still an issue that persists in to the latest Beta versions). It is very annoying @George @Teodor @patrick and has been reported on numerous occasions by multiple Users. Everything works fine remotely but locally (within Wappler) none of these values are available to select as they do not exist in the config.js file...

1 Like

Unfortunately, I'm experiencing the same frustrating issue: the random disappearance of session and datastore fields, along with the irritating 'ghost windows' that appear on Wappler startup. This is seriously impacting my productivity and turning project maintenance into a nightmare.

1 Like

As Franse points out this is now fixed in the most recent Beta update. Have you tried what I outlined above to see if it works for you? APP ID's need to be the same for defined variables to be available across pages. Try setting the APP ID of your page to that of the page that you added the parameters to... Then see if they are available in the other pages you are working on?

1 Like

Wasn't the session/datastore problem an issue with the electron platform, and not a Wappler thing?
Maybe @George has some news about it..

Apparently so but that was a long time ago and have been a lot of updates since. It is a recurring problem so maybe an alternative solution to it needs to be implemented rather than waiting on the Electron team to provide an update if they have not already done so?

The problem goes back years now.

Likewise with APP IDs and parameters. The current approach which relies on APP IDs needs fixing or default to all pages in a Project adopting the same APP ID...? Lost count of how many times have had to explain this.

2 Likes

After clearing the cache solved the ghost windows, keep an eye out to see if it doesn't come back! about the APP IDs I'll test it and I'll come back here to talk if it worked!

2 Likes

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.