I know there are some new posts on this, but I think my issue is a little different. I made a change to a page, uploaded it and now my security provider on the login page no longer works.
status "500"
message "provider is not defined"
stack "ReferenceError: provider is not defined\n at App.setAuthProvider (E:\\Development Sites\\Target\\lib\\core\\app.js:132:9)\n at App.provider (E:\\Development Sites\\Target\\lib\\modules\\auth.js:4:37)\n at App._exec (E:\\Development Sites\\Target\\lib\\core\\app.js:392:57)\n at App.exec (E:\\Development Sites\\Target\\lib\\core\\app.js:334:20)\n at App._exec (E:\\Development Sites\\Target\\lib\\core\\app.js:353:25)\n at async App._exec (E:\\Development Sites\\Target\\lib\\core\\app.js:363:17)\n at async App.exec (E:\\Development Sites\\Target\\lib\\core\\app.js:334:9)\n at async App.define (E:\\Development Sites\\Target\\lib\\core\\app.js:317:9)"
I have not made any changes to the new Globals feature or to the Security Provider. What changes do I need to make for security provider to recognize the new Globals feature?
I just updated, copied the above file and I get an error just trying to load a page!!
ā{āstatusā:ā500ā,āmessageā:āprovider is not definedā,āstackā:āReferenceError: provider is not defined\n at App.setAuthProvider (/opt/node_app/lib/core/app.js:132:9)\n at App.provider (/opt/node_app/lib/modules/auth.js:4:37)\n at App._exec (/opt/node_app/lib/core/app.js:392:57)\n at App.exec (/opt/node_app/lib/core/app.js:334:20)\n at App._exec (/opt/node_app/lib/core/app.js:353:25)\n at async App.exec (/opt/node_app/lib/core/app.js:334:9)\n at async App.exec (/opt/node_app/lib/core/app.js:327:17)ā}ā
I have a security provider in my layout page (NodeJS). So basically every page is now brokenā¦
I then check the file contents for line 132 and it reflects your line above.
Then, when I start Wappler - the issue remains. I look at the file after having restarted wappler and restarting services and itās overwritten the file and reverts to the old one, so then fails again.
Whatās more concerning, is that for a while - it wonāt send any data to localhostā¦
I just downloaded the 3.5.1 of the Mac version and I still do not have a dropdown to select both the Security Provider. In addition in the Database Connection step, the list of Database names still do not appear in 3.5.1 of Mac version