I updated my admin panel and the corresponding plugins and grav version to latest available.
Unfortunately, since then I always get the following error message in the admin area: It is not possible to display page content in the admin area, let alone edit it.
The frontend runs without any problems, so my visitors are currently not disturbed. However, creating new content has become impossible.
Ich habe bereits grav neu installiert, jedoch bleibt der Fehler bestehen.
What can I do now?
@redstone, It’s odd that a fresh installation doesn’t work. Also, there is no similar issue logged for Admin.
My first guess would be that the issue is content related.
A few questions:
- What was the version of the original Grav installation?
- Does Admin of the fresh installation work with the /user content provided by default?
- After importing your own content, could you try running
$ bin/grav yamllinter --all?
Thanks for your response. Even a fresh installation without any of my configurations or content doesn’t work.
The last grav version was 1.17.20.
[OK] No YAML Linting issues found
Any errors in /logs/grav.log?
It’s really weird that a fresh install doesn’t work… You might consider logging an issue on GitHub - getgrav/grav-plugin-admin: Grav Admin Plugin
My grav log is empty. But I found the Issue.
I accidently changed my php version to 8.0 which broke the admin panel. Going back to 7.4 resolves the issue and all is working properly.
I also found an issue reporting the same broken behavior AJAX response and 403 permission errors · Issue #2254 · getgrav/grav-plugin-admin · GitHub
@redstone, Thanks for reporting back!
With the new release of the admin plugin, the backend works fine, even with php 8.0