Your software
My Mautic version is: 7.2.2
My PHP version is: 8.5.5
My Database type and version is: mariadb latest
I installed Mautic via: Zip / Composer / Docker / etc SSH / ZIP
Your problem
My problem is:
All menu points are working, but when accessing the forms area we get an error 500
- There are no logs associated with the error (mautic or server logs)
These errors are showing in the log:
none
Steps I have tried to fix the problem:
reviewed the forum but nothing useful
Ran clean and rebuild cache no help here either.
Console shows this
Failed to load resource: the server responded with a status of 500 ()
The url which is generating the issue looks like this
https://mydomain.com/s/forms?_=1795509296505&mauticUserLastActive=90&mauticLastNotificationId=
Removing the url params has no effect.
Would really appreciate a speedy reply - thank you.
Matt
Mautic 7.2.2: Forms page returns a 500 after upgrade — here’s how to fix it
If you upgraded to Mautic 7 and /s/forms now throws a 500 while individual forms still open fine, this is almost certainly a broken theme folder. Here is what to do.
Does this match your problem?
/s/forms returns a 500 / “Uh oh! I think I broke it”
/s/forms/view/1 and /s/forms/new load normally
- The rest of Mautic works
- Nothing useful in
var/logs/, nginx or PHP-FPM logs
- Browser console shows
ckEditors has already been declared and ckeditor-duplicated-modules (ignore these — they are a side effect of the error page, not the cause)
If that matches, go straight to the fix. You do not need to debug anything first.
The fix
Mautic 7 throws an exception when a folder in themes/ has no config.json. The forms list page loops over every theme; single-form pages do not. That is why only the list breaks.
Step 1 — find every broken theme. Run the scan loop from your Mautic root. Do this for all of them at once: if you fix them one at a time, the next broken theme throws the identical error and it looks like your fix did nothing.
Step 2 — give each one a manifest, a config.json with name, author, authorUrl, builder and features.
Step 3 — clear the cache and reload /s/forms.
If the scan comes back empty
Then it is something else, and you need the actual exception. The post walks through enabling dev mode with .env.local, getting past the dev_hosts IP restriction (including the one-liner to discover which IP the server actually sees), reading var/logs/mautic_dev-*.php, and the cleanup afterwards.
Before you delete a theme instead of fixing it
A SQL check against mautic_emails, mautic_pages and mautic_forms to confirm nothing references it, with the warning that a published landing page whose theme folder is missing breaks for visitors.