Closed profesyonal closed 7 months ago
I can confirm now that this also happens when you create a sentence as admin and view it with admin.
This might be a caching issue, try deleting it with rm -r tmp/cache
(this will also delete some empty directory markers tracked in git, you can get them back with git restore tmp/cache
.
Actually this was because the function __nx()
is indeed an undefined function. It should be __xn()
.
The bug happens more specifically when trying to load a sentence's page that has the "Audio" element in the sidebar. It happens that admins always have this Audio element, but the error happens also to non-admins who are viewing the page of sentence that has audio.
I pushed a fix for it (6fcebf6a67e7ea64c8ed42cc704c8b397d9293f7) and will be deploying it on prod now.
Thanks!
Logged in as an admin, when I try to go to the page of an individual sentence, it dumps out an un-stylized page with the title, "Error: Call to undefined function __nx()"
Steps to reproduce
Things I've tried
vagrant reload
vagrant destroy
and rebuilding it withvagrant up