Closed maher-jaouadi-tb closed 2 months ago
the showLoginModal variable seems to be located in the app.js
and app.js.map
files in vendor/statamic/cp/js
. After the upgrade these files did not change. I m wondering whether this may be the issue, meaning I still have the old files?
Just remove that snippet. It was removed in v4.
Bug description
When I recently upgraded statamic from version 3.4 to version 4.58, I got an error in the console in one of the custom built pages of my control panel. In this page, I'm using some states used by statamic such as the
showLoginModal
variable. Previously, everything worked fine.I cleared all caches and tried the
php artisan statamic:install
as suggested in some similar threads, but nothing seems to have solved the problem.How to reproduce
The code snippet causing the issue:
Logs
No response
Environment
Installation
Existing Laravel app
Additional details
No response