TypeError: this.getCookie is not a function

Wappler: 6.1.1 (Beta Extensions)
MacOS
PHP/MySQL

In a recent update (not sure which one) it seems to have broken cookies.

It used to be when setting a cookie that cookie was immediately available and displayed on the page. Now you have to refresh the browser to get the cookie value.

When clicking on a simple button that simply sets a value I get the following error in the browser console.

Screenshot 2024-01-21 at 11.47.06 AM

And when I click on a button that simply clears the cookie …

Screenshot 2024-01-21 at 11.47.58 AM

UPDATE: Works as it should on Stable.

Here is a simple video showing the problem. Cookies should work the same as sessions.

Please test dmxStateManagement.js.zip (4.7 KB)

1 Like

Thanks Patrick! Works perfect! :beers:

This is fixed in 6.1.2.

Thanks! :beers:

Fixed in Wappler 6.1.2

This topic was automatically closed after 32 hours. New replies are no longer allowed.