getgrav / grav-plugin-admin

Grav Admin Plugin
http://getgrav.org
MIT License
355 stars 227 forks source link

Plugins: Admin Panel throw error #2237

Open chaozu7 opened 2 years ago

chaozu7 commented 2 years ago

Hi, I made update to Grav 1.7.30 and Admin Panel to 10.30.2. When I was in Installed Plugin and clicked on Admin Panel (direct to the link: /admin/plugins/admin) i found an error 0 - An exception has been thrown during the rendering of a template ("Array to string conversion"). PHP version is 7.3.33.

I wrote about update, but really don't know it wasn't broken earlier, I'm new administator on that site.

Have any idea what is wrong?

spamhater-grav commented 2 years ago

Might be possibility a rogue plugin / theme , have you tried installing a local copy of grav and admin in your local dev, and copy the users directory from the website to your local install and does the same issue occur ?

Then I would disable all the plugins apart from admin / form / mail / error which grav normally uses, then enable all one by one You can use the command line to see what plugins are installed To list the installed plugins: bin/gpm index To update the plugins : bin/gpm update To uninstall plugins: bin/gpm uninstall To upgrade grav: bin/gpm self-upgrade

If you are getting a full trace error screen, if you can take some screenshots, as it may point to the part in the trace which is causing the error.

mahagr commented 2 years ago

Enabling errors (value 1) from the configuration helps to track the issue by adding backtrace to the error.