Over the last weeks or so I have been experiencing a lot of unexpected issues with my wix site. I am unsure whether the issue is linked to my installing the Paid Plans app or because Wix made changes to its platform, either way, something is going on in the back end, which I have no control over.
Here is one issue I am having (see the two troubleshooting videos here: https://www.essence-rooms.com/troubleshootingvideos)
IN SUMMARY
My Wix Code login script no longer works on Firefox and Safari, but it works perfectly on Google Chrome.
Please note NO CHANGES have been made to that code for many weeks and everything was working perfectly.
Upon consolling the login procedure on the three browsers, I notice new entries that were never there before, which is what leads me to believe Wix made some generic changes in the back end, which are affecting the site. Here is the output I get on console upon opening the webpage - clicking on the Login button - and submitting the correct username and pwd
CHROME
creating bolt instance 5698.094999999739
init.js:216 created bolt instance 7760.054999998829
main-base.js:8 finished hydrate 10781.239999996615
wixcode-worker.js:17 Loading the code for the site. To debug this code, open masterPage.js in Developer Tools.
wixcode-worker.js:17 Loading the code for the HOME page. To debug this code, open czhbf.js in Developer Tools.
wixcode-worker.js:17 Failed to load initial data
e.(anonymous function) @ wixcode-worker.js:17
(anonymous) @ wixcode-worker.js:17
r.error @ app.js:1
t.(anonymous function) @ app.js:7
errorReporter @ app.js:1
(anonymous) @ app.js:6
Promise.catch (async)
(anonymous) @ app.js:6
(anonymous) @ app.js:6
(anonymous) @ app.js:1
Ok @ app.js:6
(anonymous) @ app.js:1
e.exports @ app.js:6
qe @ app.js:6
(anonymous) @ app.js:6
e.exports @ app.js:6
(anonymous) @ app.js:1
createControllers @ app.js:1
r @ wixcode-worker.js:17
(anonymous) @ wixcode-worker.js:17
Promise.then (async)
(anonymous) @ wixcode-worker.js:17
(anonymous) @ wixcode-worker.js:17
(anonymous) @ lodash.min.js:67
(anonymous) @ wixcode-worker.js:17
(anonymous) @ wixcode-worker.js:17
(anonymous) @ wixcode-worker.js:17
o @ wixcode-worker.js:17
handle @ wixcode-worker.js:17
self.onmessage @ wixcode-worker.js:17
2googleMap.html:1 Uncaught SyntaxError: Unexpected token o in JSON at position 1
at JSON.parse (<anonymous>)
at updateMap (googleMap.html:133)
at saveMsgAndUpdateMap (googleMap.html:188)
updateMap @ googleMap.html:133
saveMsgAndUpdateMap @ googleMap.html:188
postMessage (async)
(anonymous) @ contentscript.js:1
console.js:35 Loading the code for the site. To debug this code, open masterPage.js in Developer Tools.
console.js:35 Loading the code for the SERVICES page. To debug this code, open jobuh.js in Developer Tools.
raven.js:135 navigation-initialization: before init
raven.js:135 navigation-initialization: after init
raven.js:135 navigation-initialization: after register nav
raven.js:135 fallback-nav: doFallbackRedirect
raven.js:135 navigation-initialization: after redirect
raven.js:135 $routeChangeSuccess with:
scriptsIndex.js:2 event=
scriptsIndex.js:2 next=
scriptsIndex.js:2 current=
FIREFOX
Loading the code for the site. To debug this code, open masterPage.js in Developer Tools. wixcode-worker.js:17:146686
Loading the code for the HOME page. To debug this code, open czhbf.js in Developer Tools. wixcode-worker.js:17:146686
creating bolt instance 21380 init.js:196:20
created bolt instance 22802 init.js:216:20
finished hydrate 27369 main-base.js:8:4
TypeError: a is null[Learn More] index.js:409
Failed to load initial data Error: The current user does not have permissions to read on the Users collection. wixcode-worker.js:17:146686
Firefox can't establish a connection to the server at wss://s-usc1c-nss-208.firebaseio.com/.ws?v=5&ns=wix-engage-visitors-prod-11. index.esm.js:10756:30
No user is currently logged in wixcode-worker.js:17:146686
TypeError: a is null[Learn More] index.js:409
The connection to wss://wix-engage-visitors-prod-27.firebaseio.com/.ws?v=5 was interrupted while the page was loading. index.esm.js:10756:30
The connection to wss://s-usc1c-nss-208.firebaseio.com/.ws?v=5&ns=wix-engage-visitors-prod-11 was interrupted while the page was loading. index.esm.js:10756:30
SAFARI
[Log] creating bolt instance – 3433.4 (bolt-main-r.init.js, line 1)
[Log] created bolt instance – 3989.4 (bolt-main-r.init.js, line 1)
[Log] finished hydrate – 5260.6 (bolt-main-prod.js, line 3)
[Info] Loading the code for the site. To debug this code, open masterPage.js in Developer Tools. (wixcode-worker.js, line 17)
[Info] Loading the code for the HOME page. To debug this code, open czhbf.js in Developer Tools. (wixcode-worker.js, line 17)
[Error] Failed to load initial data – Error: The current user does not have permissions to read on the Users collection.
Error: The current user does not have permissions to read on the Users collection.
(anonymous function) (wixcode-worker.js:17:146943)
(anonymous function) (wixcode-worker.js:17:283033)
(anonymous function)
error (app.js:1:231160)
(anonymous function) (app.js:7:46783)
(anonymous function) (app.js:6:142823)
a (wixcode-worker.js:17:87095)
(anonymous function) (wixcode-worker.js:17:87240)
c (wixcode-worker.js:1:36687)
promiseReactionJob
[Log] No user is currently logged in (wixcode-worker.js, line 17)
Notice how Firefox and Safari state “No user is currently logged in” even though the login details are correct and working perfectly on Chrome.
Any help from the Wix team please?
I have a ticket opened with the support team already about the Paid Plans issue, while they are investigating, their initial response was to say that what I was experiencing was a “one off”, even though I later shared data from multiple users experiencing the same problem.
Here I am looking for help on the Wix Code side, but I can’t help suspect that the issues are related, given they appeared suddenly and unexpectedly, given that the site was working perfectly for a long time.