If the theme is missing, admin crashes
See original GitHub issue(On the latest nightly)
If you remove or rename a theme’s directory and then restart Ghost everything is blank. Template issues like this should probably not crash the backend, letting the user go in and pick a new theme.
Terminal Output
ERROR: The currently active theme GhostBacker is missing.
ERROR: The currently active theme GhostBacker is missing.
ErrorPage
Ghost caught a processing error in the middleware layer.
Error: The currently active theme GhostBacker is missing.
at Object.errors.throwError (/home/pmgarman/ghost/core/server/errorHandling.js:26:19)
at Object.errors.logAndThrowError (/home/pmgarman/ghost/core/server/errorHandling.js:69:14)
at Object.manageAdminAndTheme [as handle] (/home/pmgarman/ghost/core/server.js:214:24)
at next (/home/pmgarman/ghost/node_modules/express/node_modules/connect/lib/proto.js:190:15)
at next (/home/pmgarman/ghost/node_modules/express/node_modules/connect/lib/proto.js:165:78)
at next (/home/pmgarman/ghost/node_modules/express/node_modules/connect/lib/proto.js:165:78)
at next (/home/pmgarman/ghost/node_modules/express/node_modules/connect/lib/proto.js:165:78)
at Object.favicon [as handle] (/home/pmgarman/ghost/node_modules/express/node_modules/connect/lib/middleware/favicon.js:77:7)
at next (/home/pmgarman/ghost/node_modules/express/node_modules/connect/lib/proto.js:190:15)
at Object.logger (/home/pmgarman/ghost/node_modules/express/node_modules/connect/lib/middleware/logger.js:156:5)
ERROR: Theme error template not found
Add an error.hbs template to the theme for customised errors.
Issue Analytics
- State:
- Created 10 years ago
- Comments:14 (7 by maintainers)
Top Results From Across the Web
Admin crashes when trying to edit page after theme update to ...
I can edit the page content in the Cornerstone editor with no problem, but if I want to open the normal wordpress page...
Read more >Every time I “Update” or “Publish” a page the WP admin crashes
Every time I try to publish a new page the admin page crashes and takes me to… ... There were no problems with...
Read more >My wordpress admin page is crashing | WordPress.com Forums
Hi, My wordpress admin page keeps crashing when I try to login and make changes to ... If the log-in information is lost...
Read more >Wordpress theme crashed, and wp-admin not working - php ...
Go to this folder /home3/feelthespiri/public_html/pgscleaning.co.uk/wp-content/plugins/meta-box/ and rename meta-box and acces your admin ...
Read more >Crash in one user account, but no crash in admin account
I am able, however, to access these apps thru my admin account without any problem. My error when I attempt to open Word...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I downloaded casper theme, added some js files and then uploaded again. My instance is in Heroku, i think the dyno just deleted the files and now ghost cannot find it. I am getting:
500 The currently active them
casper-2
is missing.I cannot access the admin in order to change it. What can I do?
UPDATE I was able to access the admin using: https://*/ghost/1/, then just activated previous theme.
@alcance you saved my ass.