I uploaded a theme zip through the dashboard. Now the whole site gives a 500 error, even the admin.
Error 500 after uploading a new theme
12 answers
Rename the new theme folder (themes/<name> to themes/<name>.off) over FTP, and the site should come back. Then look at logs/error.log; the last lines name the file and line.
Typical causes:
- The theme needs a newer PHP than your host runs.
- A file was corrupted during upload: re-upload the zip.
- The theme requires a plugin that is not installed.
Fix that, then rename the folder back and enable it from the dashboard.
Does it happen for every user or only when you are logged in as admin?
tail -n 50 logs/error.log
Post the output here and we can read it together.
Can you paste the exact error text? Photos of the screen are hard to search for.
Have a look at the file permissions. A folder that is not writable gives odd symptoms.
Quick test: switch to the default theme. If the problem disappears, the theme is the cause.
If your host has a PHP error log, look there as well. The Lumen log only shows what Lumen caught.
+1, I see it too since the last update. @demo-elena, is this known?
Check logs/error.log first. The last few lines tell you which file and line failed.
I had the same on 2.3 and it went away after updating the theme. Which theme are you using?
Thank you all. It was a plugin conflict. I disabled it and everything is fine again.
This worked. I wish I had asked a week ago.
Good tip about renaming the folder. Saved me a trip to the host.