PX Forums demoYou are browsing as a visitor. Try it as: Member · Moderator · AdminOne click, no password. All changes are reset every night at 03:45 CET.
Skip to content

Error 500 after uploading a new theme

Log in
Replies
12
Voices
8
Views
521
Last activity
Score 1
Ben Carter Topic starter Helper290 karma39 posts · Joined Dec 2026

I uploaded a theme zip through the dashboard. Now the whole site gives a 500 error, even the admin.

Choose a reaction
Reply

12 answers

Score 4
Daniel Reyes Expert876 karma52 posts · Joined Dec 2026
Solution

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.

Choose a reaction
Reply
  • This worked. I wish I had asked a week ago.

    – Ben Carter
  • Good tip about renaming the folder. Saved me a trip to the host.

    – Lucas Meyer
Score 2
Ivan Kovač Member207 karma37 posts · Joined Dec 2026

Does it happen for every user or only when you are logged in as admin?

Choose a reaction
Reply
Score 1
Elena Petrova Helper577 karma41 posts · Joined Dec 2026

@demo-ben ↗:

I uploaded a theme zip through the dashboard. Now the whole site gives a 500 error, even the admin.

Good idea. Also disable all plugins once, to rule them out.

Choose a reaction
Reply
Score 1
Tomáš Novák Moderator697 karma44 posts · Joined Dec 2026
tail -n 50 logs/error.log

Post the output here and we can read it together.

Choose a reaction
Reply
Score 0
Sofia Ricci Helper759 karma59 posts · Joined Dec 2026

Can you paste the exact error text? Photos of the screen are hard to search for.

Choose a reaction
Reply
Score 0
Sofia Ricci Helper759 karma59 posts · Joined Dec 2026

Have a look at the file permissions. A folder that is not writable gives odd symptoms.

Choose a reaction
Reply
Score 0
Maya Okonkwo Moderator540 karma57 posts · Joined Dec 2026

Quick test: switch to the default theme. If the problem disappears, the theme is the cause.

Choose a reaction
Reply
Score 0
Elena Petrova Helper577 karma41 posts · Joined Dec 2026

If your host has a PHP error log, look there as well. The Lumen log only shows what Lumen caught.

Choose a reaction
Reply
Score 0
Priya Nair Expert878 karma62 posts · Joined Dec 2026

+1, I see it too since the last update. @demo-elena, is this known?

Choose a reaction
Reply
Score 0
Daniel Reyes Expert876 karma52 posts · Joined Dec 2026

Check logs/error.log first. The last few lines tell you which file and line failed.

Choose a reaction
Reply
Score 0
Sofia Ricci Helper759 karma59 posts · Joined Dec 2026

I had the same on 2.3 and it went away after updating the theme. Which theme are you using?

Choose a reaction
Reply
Score -1
Priya Nair Expert878 karma62 posts · Joined Dec 2026

Thank you all. It was a plugin conflict. I disabled it and everything is fine again.

Choose a reaction
Reply