OneSignal/onesignal-vue3

[Bug]: Database.js:100 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'message')

Abdukhamid000 opened this issue · 3 comments

What happened?

Database.js:100 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'message')

giving this error on console I follwed the instruction but the same error is occuring

What browsers are you seeing the problem on?

Chrome (Chromium)

What operating system are you running?

macOs

Steps to reproduce?

Database.js:100 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'message')

What did you expect to happen?

Database.js:100 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'message')

Relevant log output

Database.js:100 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'message')
Tibze commented

Same error for me !

I'm having the same issue, coming back after a few months of ignoring this. This doesn't seem to work for my localhost testing setup. How do current active users actually test what they do while building on this plugin?

The error is due to the OneSignal-Website-SDK v16 (used by onesignal-vue3 v2) dropping support for HTTP sites. Your site must start with http:// to use this new major release.

  • Note: you must also turn off "My site is not fully HTTPS" in the dashboard for this change to take effect as well.

We will be providing a better error message in the future so the next steps are clear.